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
3b87a9e8
Unverified
Commit
3b87a9e8
authored
Aug 04, 2025
by
Yuan Luo
Committed by
GitHub
Aug 03, 2025
Browse files
Fix bug of refactoring TopKOutput in w4afp8 (#8745)
Co-authored-by:
luoyuan.luo
<
luoyuan.luo@antgroup.com
>
parent
f024795e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/layers/quantization/w4afp8.py
python/sglang/srt/layers/quantization/w4afp8.py
+1
-1
No files found.
python/sglang/srt/layers/quantization/w4afp8.py
View file @
3b87a9e8
...
...
@@ -282,7 +282,7 @@ class W4AFp8MoEMethod(FusedMoEMethodBase):
# TODO(ch-wan): move it out of this class
from
sglang.srt.layers.moe.cutlass_w4a8_moe
import
cutlass_w4a8_moe
topk_
id
s
,
topk_
weight
s
,
_
=
topk_output
topk_
weight
s
,
topk_
id
s
,
_
=
topk_output
local_topk_ids
=
topk_ids
if
layer
.
expert_map
is
not
None
:
"Translate info from expert_map to topk_ids"
...
...
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