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
f007cd06
Commit
f007cd06
authored
Oct 27, 2025
by
zhuwenwen
Browse files
update num_expert_group
parent
b01011d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
vllm/model_executor/layers/fused_moe/layer.py
vllm/model_executor/layers/fused_moe/layer.py
+3
-2
No files found.
vllm/model_executor/layers/fused_moe/layer.py
View file @
f007cd06
...
...
@@ -1203,6 +1203,7 @@ class FusedMoE(CustomOp):
# moe_fused_gate kernel ensure that num_experts/num_expert_group does not exceed MAX_VPT=32 now. And when kernel can handle MAX_VPT > 32, we can remove this assertion.
self
.
use_fused_gate
=
envs
.
VLLM_ENABLE_MOE_FUSED_GATE
\
and
self
.
e_score_correction_bias
is
not
None
\
and
num_expert_group
is
not
None
\
and
self
.
global_num_experts
//
num_expert_group
<=
32
\
and
is_power_of_two
(
e_score_correction_bias
.
shape
[
0
])
...
...
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