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
8e5a6d34
Unverified
Commit
8e5a6d34
authored
Apr 29, 2025
by
pengcuo
Committed by
GitHub
Apr 29, 2025
Browse files
[Fix] Fix a bug for flashmla to run R1 model (#5875)
Co-authored-by:
pengcuo
<
dgpengcuo@gmail.com
>
parent
8465f035
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
python/sglang/srt/layers/attention/flashmla_backend.py
python/sglang/srt/layers/attention/flashmla_backend.py
+3
-0
No files found.
python/sglang/srt/layers/attention/flashmla_backend.py
View file @
8e5a6d34
...
...
@@ -241,6 +241,9 @@ class FlashMLABackend(FlashInferMLAAttnBackend):
seq_lens_cpu
,
)
def
get_cuda_graph_seq_len_fill_value
(
self
):
return
1024
def
forward_decode
(
self
,
q
:
torch
.
Tensor
,
...
...
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