Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
a892b259
Unverified
Commit
a892b259
authored
Sep 11, 2025
by
Wentao Ye
Committed by
GitHub
Sep 11, 2025
Browse files
[Doc] Remove Useless Comments (#24687)
Signed-off-by:
yewentao256
<
zhyanwentao@126.com
>
parent
127ded0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
vllm/model_executor/layers/quantization/fp8.py
vllm/model_executor/layers/quantization/fp8.py
+1
-2
No files found.
vllm/model_executor/layers/quantization/fp8.py
View file @
a892b259
...
@@ -757,10 +757,9 @@ class Fp8MoEMethod(FusedMoEMethodBase):
...
@@ -757,10 +757,9 @@ class Fp8MoEMethod(FusedMoEMethodBase):
layer
.
w2_weight
=
torch
.
nn
.
Parameter
(
shuffled_w2
,
layer
.
w2_weight
=
torch
.
nn
.
Parameter
(
shuffled_w2
,
requires_grad
=
False
)
requires_grad
=
False
)
# DeepGemm scales need to be transposed and aligned.
We try to do
# DeepGemm scales need to be transposed and aligned. We try to do
# it ahead of time for performance reasons.
# it ahead of time for performance reasons.
if
self
.
allow_deep_gemm
and
not
is_deep_gemm_e8m0_used
():
if
self
.
allow_deep_gemm
and
not
is_deep_gemm_e8m0_used
():
# Lazy import to avoid CUDA initialization problems.
if
_is_col_major
(
layer
.
w13_weight_scale_inv
):
if
_is_col_major
(
layer
.
w13_weight_scale_inv
):
layer
.
w13_weight_scale_inv
=
\
layer
.
w13_weight_scale_inv
=
\
get_col_major_tma_aligned_tensor
(
layer
.
w13_weight_scale_inv
).
contiguous
()
get_col_major_tma_aligned_tensor
(
layer
.
w13_weight_scale_inv
).
contiguous
()
...
...
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