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
9dcdf5da
Unverified
Commit
9dcdf5da
authored
Aug 25, 2025
by
fzyzcjy
Committed by
GitHub
Aug 25, 2025
Browse files
Tiny fix wrong comments (#9589)
parent
f8b757bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
python/sglang/srt/layers/quantization/modelopt_quant.py
python/sglang/srt/layers/quantization/modelopt_quant.py
+0
-2
No files found.
python/sglang/srt/layers/quantization/modelopt_quant.py
View file @
9dcdf5da
...
...
@@ -876,7 +876,6 @@ class ModelOptNvFp4FusedMoEMethod(FusedMoEMethodBase):
data
=
torch
.
empty
(
layer
.
num_local_experts
,
2
*
intermediate_size_per_partition
,
# 2 fp4 items are packed in the input dimension
hidden_size
//
self
.
quant_config
.
group_size
,
dtype
=
weight_scale_dtype
,
),
...
...
@@ -895,7 +894,6 @@ class ModelOptNvFp4FusedMoEMethod(FusedMoEMethodBase):
data
=
torch
.
empty
(
layer
.
num_local_experts
,
hidden_size
,
# 2 fp4 items are packed in the input dimension
intermediate_size_per_partition
//
self
.
quant_config
.
group_size
,
dtype
=
weight_scale_dtype
,
),
...
...
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