TRTLLM Gen MLA Decode Kernel Integration (same as #7938) (#8632)

Signed-off-by: Faraz Khoubsirat <58580514+farazkh80@users.noreply.github.com>
This commit is contained in:
Faraz
2025-07-31 19:03:40 -04:00
committed by GitHub
parent 3dde86194a
commit 4b04998d38
8 changed files with 1361 additions and 4 deletions

View File

@@ -1259,6 +1259,7 @@ class DeepseekV2AttentionMLA(nn.Module):
self.current_attention_backend == "fa3"
or self.current_attention_backend == "flashinfer"
or self.current_attention_backend == "cutlass_mla"
or self.current_attention_backend == "trtllm_mla"
):
attn_output = self.attn_mqa(
q_nope_out, k_nope, k_nope, forward_batch, q_rope=q_pe, k_rope=k_pe