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
4d106b5f
Commit
4d106b5f
authored
Nov 07, 2025
by
linhai1
Browse files
Fix Bug.
parent
e36f865d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
python/sglang/srt/layers/attention/dcu_mla_backend.py
python/sglang/srt/layers/attention/dcu_mla_backend.py
+1
-0
No files found.
python/sglang/srt/layers/attention/dcu_mla_backend.py
View file @
4d106b5f
...
@@ -448,6 +448,7 @@ class DCUMLABackend(AttentionBackend):
...
@@ -448,6 +448,7 @@ class DCUMLABackend(AttentionBackend):
k_rope
=
None
,
k_rope
=
None
,
sinks
=
None
,
sinks
=
None
,
):
):
if
(
if
(
forward_batch
.
forward_mode
==
ForwardMode
.
EXTEND
forward_batch
.
forward_mode
==
ForwardMode
.
EXTEND
or
forward_batch
.
forward_mode
==
ForwardMode
.
DRAFT_EXTEND
or
forward_batch
.
forward_mode
==
ForwardMode
.
DRAFT_EXTEND
...
...
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