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
0c9c6c75
Unverified
Commit
0c9c6c75
authored
Jun 30, 2025
by
fzyzcjy
Committed by
GitHub
Jun 29, 2025
Browse files
Move files related to EPLB (#7580)
parent
e3f9b548
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
python/sglang/srt/models/qwen3_moe.py
python/sglang/srt/models/qwen3_moe.py
+3
-5
test/srt/test_expert_location_updater.py
test/srt/test_expert_location_updater.py
+1
-1
No files found.
python/sglang/srt/models/qwen3_moe.py
View file @
0c9c6c75
...
...
@@ -32,6 +32,9 @@ from sglang.srt.distributed import (
tensor_model_parallel_all_gather
,
tensor_model_parallel_all_reduce
,
)
from
sglang.srt.eplb.expert_distribution
import
get_global_expert_distribution_recorder
from
sglang.srt.eplb.expert_location
import
ModelConfigForExpertLocation
from
sglang.srt.eplb.expert_location_dispatch
import
ExpertLocationDispatchInfo
from
sglang.srt.layers.activation
import
SiluAndMul
from
sglang.srt.layers.communicator
import
LayerCommunicator
,
LayerScatterModes
from
sglang.srt.layers.dp_attention
import
(
...
...
@@ -63,11 +66,6 @@ from sglang.srt.layers.vocab_parallel_embedding import (
ParallelLMHead
,
VocabParallelEmbedding
,
)
from
sglang.srt.managers.expert_distribution
import
(
get_global_expert_distribution_recorder
,
)
from
sglang.srt.managers.expert_location
import
ModelConfigForExpertLocation
from
sglang.srt.managers.expert_location_dispatch
import
ExpertLocationDispatchInfo
from
sglang.srt.managers.schedule_batch
import
global_server_args_dict
from
sglang.srt.model_executor.forward_batch_info
import
(
ForwardBatch
,
...
...
test/srt/test_expert_location_updater.py
View file @
0c9c6c75
...
...
@@ -9,7 +9,7 @@ import torch.distributed
import
torch.multiprocessing
as
mp
from
torch.multiprocessing
import
Process
from
sglang.srt.
model_executor
import
expert_location_updater
from
sglang.srt.
eplb
import
expert_location_updater
from
sglang.test.test_utils
import
CustomTestCase
,
find_available_port
from
sglang.utils
import
is_in_ci
...
...
Prev
1
2
Next
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