↓ 1 callersFunctionlayer_norm_fn(
x,
weight,
bias,
residual=None,
x1=None,
weight1=None,
bias1=None,
eps=1e-6,
based/ops/triton/layer_norm.py:859
↓ 1 callersFunctionmamba_inner_fn(
xz, conv1d_weight, conv1d_bias, x_proj_weight, delta_proj_weight,
out_proj_weight, out_proj_bias,
based/models/mixers/mamba/ops/selective_scan_interface.py:311
↓ 1 callersFunctionmamba_inner_fn(
xz, conv1d_weight, conv1d_bias, x_proj_weight, delta_proj_weight,
out_proj_weight, out_proj_bias,
synthetic/zoology/mixers/mamba_ssm/selective_scan_interface.py:300
↓ 1 callersFunctionmini_multiquery_ar(
vocab_size: int,
num_examples: int,
num_queries: int,
input_seq_len: int,
seed: int,
synthetic/zoology/data/non_autoreg.py:20
↓ 1 callersMethodparallel_forward(self, x, q, k, v, k_enc=None, v_enc=None)
synthetic/zoology/mixers/jrt_based.py:209
↓ 1 callersMethodprocess_qkv Get Q, K, V tensors from hidden_states, e.g., by applying projections, positional embeddings, KV cache -> Follow the origina
synthetic/zoology/mixers/based.py:121
↓ 1 callersMethodprocess_qkv Get Q, K, V tensors from hidden_states, e.g., by applying projections, positional embeddings, KV cache -> Follow the origina
synthetic/zoology/mixers/jrt_based.py:130
↓ 1 callersFunctionprofile_deepspeed(model, input_size=(3, 224, 224), input_dtype=torch.float32,
batch_size=1, detailed=Fals
train/src/utils/flops.py:20
↓ 1 callersFunctionprofile_fvcore(model, input_size=(3, 224, 224), input_dtype=torch.float32, max_depth=4,
batch_size=1, det
train/src/utils/flops.py:35
↓ 1 callersMethodrecurrent_forward(self, x, kv_state, k_state, q, k, v)
based/models/mixers/prefix_linear_attention.py:243
↓ 1 callersMethodrecurrent_forward Compute linear attention with recurrent view -> Assume q.shape is (b, h, 1, d); k and v.shape are (b, h, l, d)
based/models/mixers/linear_attention.py:275
↓ 1 callersFunctionrms_norm_fn(
x,
weight,
bias,
residual=None,
x1=None,
weight1=None,
bias1=None,
eps=1e-6,
based/ops/triton/layer_norm.py:893
↓ 1 callersFunctionrms_norm_fn(x, weight, bias, residual=None, prenorm=False, residual_in_fp32=False, eps=1e-6)
based/models/mixers/mamba/ops/triton/layernorm.py:477
↓ 1 callersFunctionrms_norm_fn(x, weight, bias, residual=None, prenorm=False, residual_in_fp32=False, eps=1e-6)
synthetic/zoology/mixers/mamba_ssm/triton/layernorm.py:477
↓ 1 callersFunctionrms_norm_fn(
x,
weight,
bias,
residual=None,
x1=None,
weight1=None,
bias1=None,
eps=1e-6,
train/src/ops/layer_norm.py:893
↓ 1 callersFunctionselective_state_update Argument: state: (batch, dim, dstate) x: (batch, dim) dt: (batch, dim) A: (dim, dstate) B: (batch, dstate
based/models/mixers/mamba/ops/triton/selective_state_update.py:99