↓ 2 callersFunctioncompare_a(target, b, s_q, cache_seqlens, h_q, h_kv, d, dv, causal, dtype)
benchmark/bench_flash_mla.py:450
↓ 1 callersFunction_flash_attn_varlen_backward(
do: torch.Tensor,
q: torch.Tensor,
k: torch.Tensor,
v: torch.Tensor,
out: torch.Tensor,
flash_mla/flash_mla_interface.py:261
↓ 1 callersFunction_mla_attn(
q_nope,
q_pe,
kv_c_cache,
k_pe_cache,
attn_logits,
req_to_tokens,
b_seq_len,
benchmark/bench_flash_mla.py:222
↓ 1 callersFunctioncompare_ab(baseline, target, b, s_q, cache_seqlens, h_q, h_kv, d, dv, causal, dtype)
benchmark/bench_flash_mla.py:410
↓ 1 callersFunctionflash_mla_with_kvcache Arguments: q: (batch_size, seq_len_q, num_heads_q, head_dim). k_cache: (num_blocks, page_block_size, num_heads_k, head_dim).
flash_mla/flash_mla_interface.py:53
↓ 1 callersFunctionmla_decode_triton(
q_nope,
q_pe,
kv_c_cache,
k_pe_cache,
o,
req_to_tokens,
b_seq_len,
attn_logi
benchmark/bench_flash_mla.py:346