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
5dcc5cb8
Commit
5dcc5cb8
authored
Oct 09, 2025
by
王敏
Browse files
优化mori ep
parent
e0ba23b5
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
179 additions
and
186 deletions
+179
-186
vllm/distributed/parallel_state.py
vllm/distributed/parallel_state.py
+1
-1
vllm/model_executor/layers/fused_moe/ep_moe/layer.py
vllm/model_executor/layers/fused_moe/ep_moe/layer.py
+178
-185
No files found.
vllm/distributed/parallel_state.py
View file @
5dcc5cb8
...
@@ -948,7 +948,7 @@ def init_distributed_environment(
...
@@ -948,7 +948,7 @@ def init_distributed_environment(
"Fallback Gloo backend is not available."
)
"Fallback Gloo backend is not available."
)
backend
=
"gloo"
backend
=
"gloo"
# this backend is used for WORLD
# this backend is used for WORLD
parallel_config
=
config
.
parallel_config
data_parallel_size
=
parallel_config
.
data_parallel_size
data_parallel_size
=
parallel_config
.
data_parallel_size
use_mori_ep
=
envs
.
VLLM_USE_MORI_EP
and
data_parallel_size
>
1
and
parallel_config
.
enable_expert_parallel
use_mori_ep
=
envs
.
VLLM_USE_MORI_EP
and
data_parallel_size
>
1
and
parallel_config
.
enable_expert_parallel
if
use_mori_ep
:
if
use_mori_ep
:
...
...
vllm/model_executor/layers/fused_moe/ep_moe/layer.py
View file @
5dcc5cb8
This diff is collapsed.
Click to expand it.
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