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
0f12f80a
Commit
0f12f80a
authored
Aug 09, 2025
by
zhuwenwen
Browse files
修改增加SlimQuantW4A8Int8MoEMethod 获取intermediate_size_per_partition 支持
parent
54139f16
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/layers/fused_moe/layer.py
vllm/model_executor/layers/fused_moe/layer.py
+1
-1
No files found.
vllm/model_executor/layers/fused_moe/layer.py
View file @
0f12f80a
...
...
@@ -825,7 +825,7 @@ class FusedMoE(torch.nn.Module):
if
(
self
.
quant_method
.
__class__
.
__name__
in
(
"BlockInt8MoEMethod"
)):
moe_quant_params
[
"intermediate_size"
]
=
self
.
intermediate_size_per_partition
if
(
self
.
quant_method
.
__class__
.
__name__
in
(
"
W8
A8Int8MoEMethod"
)):
if
(
self
.
quant_method
.
__class__
.
__name__
in
(
"
SlimQuantW4
A8Int8MoEMethod"
)):
moe_quant_params
[
"intermediate_size"
]
=
self
.
intermediate_size_per_partition
...
...
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