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
63b22e0d
Unverified
Commit
63b22e0d
authored
Oct 27, 2025
by
CSWYF3634076
Committed by
GitHub
Oct 26, 2025
Browse files
[Model][Bugfix] fix ernie45 moe 300B SharedFusedMoE output tuple (#27316)
Signed-off-by:
wangyafeng
<
wangyafeng@baidu.com
>
parent
5980604c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vllm/model_executor/models/ernie45_moe.py
vllm/model_executor/models/ernie45_moe.py
+2
-0
No files found.
vllm/model_executor/models/ernie45_moe.py
View file @
63b22e0d
...
@@ -215,6 +215,8 @@ class Ernie4_5_MoeMoE(nn.Module):
...
@@ -215,6 +215,8 @@ class Ernie4_5_MoeMoE(nn.Module):
if
self
.
has_shared_experts
:
if
self
.
has_shared_experts
:
final_hidden_states
=
final_hidden_states
[
0
]
+
final_hidden_states
[
1
]
final_hidden_states
=
final_hidden_states
[
0
]
+
final_hidden_states
[
1
]
else
:
final_hidden_states
=
final_hidden_states
[
1
]
if
self
.
tp_size
>
1
:
if
self
.
tp_size
>
1
:
final_hidden_states
=
self
.
experts
.
maybe_all_reduce_tensor_model_parallel
(
final_hidden_states
=
self
.
experts
.
maybe_all_reduce_tensor_model_parallel
(
...
...
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