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
4d251ad0
Unverified
Commit
4d251ad0
authored
Feb 25, 2025
by
Michael Goin
Committed by
GitHub
Feb 25, 2025
Browse files
Fix CompressedTensorsWNA16MoE with grouped scales (#13769)
parent
18e50593
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/model_executor/layers/quantization/compressed_tensors/compressed_tensors_moe.py
...quantization/compressed_tensors/compressed_tensors_moe.py
+2
-1
No files found.
vllm/model_executor/layers/quantization/compressed_tensors/compressed_tensors_moe.py
View file @
4d251ad0
...
...
@@ -527,7 +527,8 @@ class CompressedTensorsWNA16MoEMethod(CompressedTensorsMoEMethod):
replace_tensor
(
"w13_weight_scale"
,
marlin_w13_scales
)
marlin_w2_scales
=
marlin_moe_permute_scales
(
layer
.
w2_weight_scale
,
layer
.
w2_weight_scale
.
shape
[
1
]
*
self
.
packed_factor
,
layer
.
w2_weight_scale
.
shape
[
1
]
*
(
self
.
group_size
if
self
.
group_size
!=
-
1
else
self
.
packed_factor
),
size_k2
,
self
.
group_size
,
self
.
num_bits
,
...
...
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