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
7a40e4f4
"discover/amd_linux.go" did not exist on "58d95cc9bd446a8209e7388a96c70367cbafd653"
Unverified
Commit
7a40e4f4
authored
Sep 08, 2025
by
Rain Jiang
Committed by
GitHub
Sep 08, 2025
Browse files
fix the cutlass moe tests (#10182)
parent
19d64f2b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
python/sglang/test/test_cutlass_moe.py
python/sglang/test/test_cutlass_moe.py
+4
-5
No files found.
python/sglang/test/test_cutlass_moe.py
View file @
7a40e4f4
...
...
@@ -22,7 +22,7 @@ def calc_diff(x, y):
def
get_model_config
(
tp_size
:
int
):
config
=
AutoConfig
.
from_pretrained
(
"deepseek-ai/
d
eepseek-R1"
,
trust_remote_code
=
True
"deepseek-ai/
D
eepseek-R1"
,
trust_remote_code
=
True
)
E
=
config
.
n_routed_experts
topk
=
config
.
num_experts_per_tok
...
...
@@ -163,11 +163,10 @@ def run_test(tp_size, batch_size, model_config, check=False):
moe_runner_config
=
MoeRunnerConfig
(
num_experts
=
E
,
topk
=
topk
,
top
_
k
=
topk
,
hidden_size
=
H
,
shard_intermediate_size
=
I
,
dtype
=
dtype
,
block_shape
=
block_shape
,
intermediate_size_per_partition
=
I
,
params_dtype
=
dtype
,
activation
=
"silu"
,
inplace
=
False
,
)
...
...
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