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
6c6c9c0d
Commit
6c6c9c0d
authored
Apr 02, 2026
by
王敏
Browse files
[Fix]修复PP模式pcp报错
parent
26645e58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vllm/model_executor/models/deepseek_v2.py
vllm/model_executor/models/deepseek_v2.py
+3
-0
No files found.
vllm/model_executor/models/deepseek_v2.py
View file @
6c6c9c0d
...
...
@@ -1409,6 +1409,9 @@ class DeepseekV2Model(nn.Module):
)
if
not
get_pp_group
().
is_last_rank
:
if
enable_mla_cp
:
hidden_states
=
tensor_model_parallel_all_gather
(
hidden_states
.
contiguous
(),
dim
=
0
)
residual
=
tensor_model_parallel_all_gather
(
residual
.
contiguous
(),
dim
=
0
)
return
IntermediateTensors
(
{
"hidden_states"
:
hidden_states
,
"residual"
:
residual
}
)
...
...
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