Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
16b37f31
Unverified
Commit
16b37f31
authored
Nov 05, 2025
by
Qiu
Committed by
GitHub
Nov 05, 2025
Browse files
[bugfix] fix wrong `dcp_local_seq_lens` calc (#27518)
Signed-off-by:
Qiu
<
qiuchunshuo@huawei.com
>
parent
0976711f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/v1/attention/backends/mla/common.py
vllm/v1/attention/backends/mla/common.py
+1
-1
No files found.
vllm/v1/attention/backends/mla/common.py
View file @
16b37f31
...
...
@@ -800,7 +800,7 @@ class MLACommonMetadataBuilder(AttentionMetadataBuilder[M]):
dcp_local_seq_lens
[:
num_decodes
]
=
seq_lens
[
:
num_decodes
]
//
self
.
dcp_world_size
+
(
self
.
dcp_rank
<
=
(
seq_lens
[:
num_decodes
]
-
1
)
%
self
.
dcp_world_size
self
.
dcp_rank
<
seq_lens
[:
num_decodes
]
%
self
.
dcp_world_size
)
assert
num_decodes
+
num_prefills
==
num_reqs
...
...
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