↓ 5 callersMethodvisualize_spike(self, max_neurons=30, max_token=20, filename="sample.png", title="", seed=42)
W8ASpike/Int2Spike/neuron.py:63
↓ 4 callersFunctionrepeat_kv This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:665
↓ 3 callersFunctionlayer_norm_linear_fn(
x,
norm_weight,
norm_bias,
linear_weight,
linear_bias,
residual=None,
eps=1e-6,
hf_7B_model/layernorm.py:774
↓ 3 callersFunctionmetatoken_flash_attn_varlen_func(
q1,
q2,
k1,
k2,
v1,
v2,
cu_seqlens_q=None,
cu_seqlens_k=None,
max_seqlen
vllm_hymeta/attention/fa_kernel_metatoken.py:324
↓ 3 callersFunctionrepeat_kv This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
W8ASpike/gla_attention.py:24
↓ 3 callersFunctionrepeat_kv This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
hf_7B_model/gla_attention.py:24
↓ 3 callersFunctionrepeat_kv This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
vllm_hymeta/model_for_7B/gla_attention.py:34
↓ 2 callersMethod_decode(self, q, k, v, gk, kv_cache, state_indices_tensor, attn_metadata)
vllm_hymeta/model_for_7B/gla_attention.py:223
↓ 2 callersFunction_layer_norm_bwd(
dy,
x,
weight,
bias,
eps,
mean,
rstd,
dresidual=None,
has_residual=False
hf_7B_model/layernorm.py:303
↓ 2 callersFunction_layer_norm_fwd(
x,
weight,
bias,
eps,
residual=None,
out_dtype=None,
residual_dtype=None,
is
hf_7B_model/layernorm.py:134
↓ 2 callersFunction_update_out_and_lse(
out: torch.Tensor, # [batch_size, seq_len, num_heads, head_dim]
lse: torch.Tensor, # [batch_size, nu
vllm_hymeta/attention/fa_kernel_metatoken.py:111
↓ 2 callersFunctionrepeat_kv This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
W8ASpike/window_attention.py:82
↓ 2 callersFunctionrepeat_kv This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
hf_7B_model/window_attention.py:82
↓ 2 callersFunctionrepeat_kv This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
hf_7B_model/window_attention_sdpa.py:82
↓ 1 callersMethod_prefill_and_mix_infer(self, q, k, v, gk, kv_cache,
state_indices_tensor, attn_metadata)
vllm_hymeta/model_for_7B/gla_attention.py:179
↓ 1 callersFunctiongroup_norm_fn(
x,
weight,
bias,
residual=None,
eps=1e-6,
prenorm=False,
residual_in_fp32=False,
hf_7B_model/layernorm.py:491
↓ 1 callersFunctionlayer_norm_fn(
x,
weight,
bias,
residual=None,
eps=1e-6,
prenorm=False,
residual_in_fp32=False,
hf_7B_model/layernorm.py:469
↓ 1 callersFunctionmetatoken_flash_attn_with_kvcache(
q1,
q2,
k2,
v2,
key_cache=None,
value_cache=None,
cache_seqlens=None,
num_me
vllm_hymeta/attention/fa_kernel_metatoken.py:282
↓ 1 callersFunctionmy_flash_attn_with_kvcache(
q,
k_cache,
v_cache,
k=None,
v=None,
rotary_cos=None,
rotary_sin=None,
cache
vllm_hymeta/attention/fa_kernel_metatoken.py:26
↓ 1 callersFunctionmy_fused_recurrent(
q,
k,
v,
g=None,
kv_caches: torch.Tensor = None,
slot_idx: torch.Tensor = None,
vllm_hymeta/model_for_7B/my_fused_recurrent.py:123