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
zhaoyu6
sglang
Commits
9dcdf5da
"examples/vscode:/vscode.git/clone" did not exist on "3b747de8452beed08df0397522920220f62fd7ff"
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):
...
@@ -876,7 +876,6 @@ class ModelOptNvFp4FusedMoEMethod(FusedMoEMethodBase):
data
=
torch
.
empty
(
data
=
torch
.
empty
(
layer
.
num_local_experts
,
layer
.
num_local_experts
,
2
*
intermediate_size_per_partition
,
2
*
intermediate_size_per_partition
,
# 2 fp4 items are packed in the input dimension
hidden_size
//
self
.
quant_config
.
group_size
,
hidden_size
//
self
.
quant_config
.
group_size
,
dtype
=
weight_scale_dtype
,
dtype
=
weight_scale_dtype
,
),
),
...
@@ -895,7 +894,6 @@ class ModelOptNvFp4FusedMoEMethod(FusedMoEMethodBase):
...
@@ -895,7 +894,6 @@ class ModelOptNvFp4FusedMoEMethod(FusedMoEMethodBase):
data
=
torch
.
empty
(
data
=
torch
.
empty
(
layer
.
num_local_experts
,
layer
.
num_local_experts
,
hidden_size
,
hidden_size
,
# 2 fp4 items are packed in the input dimension
intermediate_size_per_partition
//
self
.
quant_config
.
group_size
,
intermediate_size_per_partition
//
self
.
quant_config
.
group_size
,
dtype
=
weight_scale_dtype
,
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