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
78237e43
Unverified
Commit
78237e43
authored
Sep 22, 2025
by
Michael Goin
Committed by
GitHub
Sep 22, 2025
Browse files
[Bugfix] Remove contiguous output req for context parallel MLA (#25414)
Signed-off-by:
Michael Goin
<
mgoin64@gmail.com
>
parent
eea17839
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
vllm/attention/ops/common.py
vllm/attention/ops/common.py
+0
-1
No files found.
vllm/attention/ops/common.py
View file @
78237e43
...
@@ -134,6 +134,5 @@ def cp_lse_ag_out_rs(cp_attn_out: torch.Tensor,
...
@@ -134,6 +134,5 @@ def cp_lse_ag_out_rs(cp_attn_out: torch.Tensor,
cp_attn_lse
=
cp_attn_lse
.
contiguous
()
cp_attn_lse
=
cp_attn_lse
.
contiguous
()
lses
=
cp_group
.
all_gather
(
cp_attn_lse
,
dim
=
0
).
view_as
(
lses
)
lses
=
cp_group
.
all_gather
(
cp_attn_lse
,
dim
=
0
).
view_as
(
lses
)
out
,
_
=
correct_attn_out
(
cp_attn_out
,
lses
,
cp_group
.
rank_in_group
,
ctx
)
out
,
_
=
correct_attn_out
(
cp_attn_out
,
lses
,
cp_group
.
rank_in_group
,
ctx
)
assert
out
.
is_contiguous
()
out
=
cp_group
.
reduce_scatter
(
out
,
dim
=
1
)
out
=
cp_group
.
reduce_scatter
(
out
,
dim
=
1
)
return
out
return
out
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