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
afb752bc
Unverified
Commit
afb752bc
authored
Apr 07, 2025
by
Hubert Lu
Committed by
GitHub
Apr 07, 2025
Browse files
[AMD] Fix missing per_token_group_quant_fp8 for ROCm (#5140)
parent
9731eca7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
python/sglang/srt/layers/moe/fused_moe_triton/fused_moe.py
python/sglang/srt/layers/moe/fused_moe_triton/fused_moe.py
+2
-0
No files found.
python/sglang/srt/layers/moe/fused_moe_triton/fused_moe.py
View file @
afb752bc
...
...
@@ -765,6 +765,8 @@ def invoke_fused_moe_kernel(
from
sglang.srt.layers.quantization.fp8_kernel
import
(
sglang_per_token_group_quant_fp8
,
)
else
:
from
sglang.srt.layers.quantization.fp8_kernel
import
per_token_group_quant_fp8
assert
topk_weights
.
stride
(
1
)
==
1
assert
sorted_token_ids
.
stride
(
0
)
==
1
...
...
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