Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
243e745d
Unverified
Commit
243e745d
authored
Aug 21, 2025
by
Elfie Guo
Committed by
GitHub
Aug 21, 2025
Browse files
Add trtllm_mla and cutlass_mla for ragged fmha for chunked prefill (#9480)
parent
61a0e600
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
python/sglang/srt/models/deepseek_v2.py
python/sglang/srt/models/deepseek_v2.py
+2
-0
No files found.
python/sglang/srt/models/deepseek_v2.py
View file @
243e745d
...
@@ -999,6 +999,8 @@ class DeepseekV2AttentionMLA(nn.Module):
...
@@ -999,6 +999,8 @@ class DeepseekV2AttentionMLA(nn.Module):
attention_backend
==
"flashinfer"
attention_backend
==
"flashinfer"
or
attention_backend
==
"fa3"
or
attention_backend
==
"fa3"
or
attention_backend
==
"flashmla"
or
attention_backend
==
"flashmla"
or
attention_backend
==
"trtllm_mla"
or
attention_backend
==
"cutlass_mla"
):
):
# Use MHA with chunked KV cache when prefilling on long sequences.
# Use MHA with chunked KV cache when prefilling on long sequences.
sum_extend_prefix_lens
=
(
sum_extend_prefix_lens
=
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment