Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
463d4b74
"vscode:/vscode.git/clone" did not exist on "bb3c8966276b03ef0a900f9ce87f998a0827dff8"
Unverified
Commit
463d4b74
authored
Apr 21, 2025
by
fzyzcjy
Committed by
GitHub
Apr 20, 2025
Browse files
Fix DeepEP cannot run on latest master (#5567)
parent
9924bbe1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
python/sglang/srt/layers/moe/ep_moe/layer.py
python/sglang/srt/layers/moe/ep_moe/layer.py
+2
-0
No files found.
python/sglang/srt/layers/moe/ep_moe/layer.py
View file @
463d4b74
...
...
@@ -802,6 +802,7 @@ class DeepEPMoE(EPMoE):
correction_bias
:
Optional
[
torch
.
Tensor
]
=
None
,
custom_routing_function
:
Optional
[
Callable
]
=
None
,
activation
:
str
=
"silu"
,
routed_scaling_factor
:
Optional
[
float
]
=
None
,
deepep_mode
:
DeepEPMode
=
DeepEPMode
.
auto
,
):
super
().
__init__
(
...
...
@@ -820,6 +821,7 @@ class DeepEPMoE(EPMoE):
correction_bias
,
custom_routing_function
,
activation
,
routed_scaling_factor
,
)
self
.
deepep_mode
=
deepep_mode
if
self
.
deepep_mode
.
enable_low_latency
():
...
...
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