Methodforward(
self,
hidden_states,
position_ids,
attention_mask,
context=None,
linear_moe/model/deepseek_v2/transformer_layer.py:180
Methodforward(self, input_ids, position_ids, attention_mask,
retriever_input_ids=None,
retr
linear_moe/model/llama3/gpt_model.py:88
Methodforward(self, enc_input_ids, enc_position_ids, enc_attn_mask,
dec_input_ids=None, dec_position_ids=No
linear_moe/model/llama3/language_model.py:455
Methodforward(self, hidden_states, attention_mask,
encoder_output=None, inference_params=None,
linear_moe/model/llama3/transformer_legacy.py:648
Methodforward(self, hidden_states, attention_mask,
encoder_output=None, enc_dec_attn_mask=None,
linear_moe/model/llama3/transformer_legacy.py:1152
Methodforward(self, hidden_states, attention_mask,
encoder_output=None, enc_dec_attn_mask=None,
linear_moe/model/llama3/transformer_legacy.py:1314
Methodforward(self, hidden_states, attention_mask,
encoder_output=None, enc_dec_attn_mask=None,
linear_moe/model/llama3/transformer_legacy.py:1700
Methodforward(
ctx,
x,
weight,
bias,
residual=None,
eps=1e-6,
preno
linear_moe/model/common_modules/layernorm.py:387
Methodforward(
ctx,
x,
norm_weight,
norm_bias,
linear_weight,
linear_bias,
linear_moe/model/common_modules/layernorm.py:672
Methodforward(self, x, weight, bias, residual=None, prenorm=False, residual_in_fp32=False)
linear_moe/model/common_modules/layernorm.py:832
Methodforward(self, x, weight, bias, residual=None, prenorm=False, residual_in_fp32=False)
linear_moe/model/common_modules/layernorm.py:882
Methodforward(self, x, weight, bias, residual=None, prenorm=False, residual_in_fp32=False)
linear_moe/model/common_modules/layernorm.py:928
Methodforward(
ctx,
x,
cos,
sin,
interleaved=False,
inplace=False,
linear_moe/model/common_modules/rotary.py:42
Methodforward qkv: (batch, seqlen, 3, nheads, headdim) if kv is none, else it's just q of shape (batch, seqlen, nheads, headdim) kv: (
linear_moe/model/common_modules/rotary.py:256