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
42889acb
Unverified
Commit
42889acb
authored
Nov 04, 2025
by
Baizhou Zhang
Committed by
GitHub
Nov 04, 2025
Browse files
[hotfix] Fix deepep w4a8 bug (#12642)
parent
211f4070
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
python/sglang/srt/layers/moe/token_dispatcher/deepep.py
python/sglang/srt/layers/moe/token_dispatcher/deepep.py
+3
-3
No files found.
python/sglang/srt/layers/moe/token_dispatcher/deepep.py
View file @
42889acb
...
@@ -357,9 +357,9 @@ class _DeepEPDispatcherImplNormal(_DeepEPDispatcherImplBase):
...
@@ -357,9 +357,9 @@ class _DeepEPDispatcherImplNormal(_DeepEPDispatcherImplBase):
):
):
topk_weights
,
topk_ids
=
topk_output
.
topk_weights
,
topk_output
.
topk_ids
topk_weights
,
topk_ids
=
topk_output
.
topk_weights
,
topk_output
.
topk_ids
topk_ids
=
topk_ids
.
to
(
torch
.
int64
)
topk_ids
=
topk_ids
.
to
(
torch
.
int64
)
if
deep_gemm_wrapper
.
ENABLE_JIT_DEEPGEMM
and
not
(
if
(
get_moe_runner_backend
().
is_cutlass
()
deep_gemm_wrapper
.
ENABLE_JIT_DEEPGEMM
and
self
.
quant_config
.
get_name
()
==
"w4afp8"
and
not
get_moe_runner_backend
().
is_cutlass
()
):
):
# TODO hard code 128 block quant,use fp8 communication
# TODO hard code 128 block quant,use fp8 communication
hidden_states
=
sglang_per_token_group_quant_fp8
(
hidden_states
=
sglang_per_token_group_quant_fp8
(
...
...
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