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
ca0d9222
Unverified
Commit
ca0d9222
authored
Oct 25, 2024
by
Michael Goin
Committed by
GitHub
Oct 25, 2024
Browse files
[Bugfix] Fix compressed_tensors_moe bad config.strategy (#9677)
parent
9645b9f6
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/quantization/compressed_tensors/compressed_tensors_moe.py
...quantization/compressed_tensors/compressed_tensors_moe.py
+1
-1
No files found.
vllm/model_executor/layers/quantization/compressed_tensors/compressed_tensors_moe.py
View file @
ca0d9222
...
...
@@ -245,7 +245,7 @@ class CompressedTensorsWNA16MoEMethod(CompressedTensorsMoEMethod):
config
=
self
.
quant_config
.
target_scheme_map
[
"Linear"
].
get
(
"weights"
)
self
.
num_bits
=
config
.
num_bits
self
.
packed_factor
=
32
//
config
.
num_bits
self
.
strategy
=
config
.
strategy
.
value
self
.
strategy
=
config
.
strategy
self
.
group_size
=
config
.
group_size
assert
config
.
symmetric
,
(
"Only symmetric quantization is supported for MoE"
)
...
...
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