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
3d4721f2
"vllm/vscode:/vscode.git/clone" did not exist on "0231ce836a27ad0ed722e4b7162821baeeb19fdf"
Commit
3d4721f2
authored
Feb 11, 2026
by
yangql1
Browse files
修复CompressedTensors的w8a16的支持
parent
3249f6cc
Changes
1
Hide 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.py
...ers/quantization/compressed_tensors/compressed_tensors.py
+1
-1
No files found.
vllm/model_executor/layers/quantization/compressed_tensors/compressed_tensors.py
View file @
3d4721f2
...
...
@@ -730,7 +730,7 @@ class CompressedTensorsLinearMethod(LinearMethodBase):
)
if
weights_scheme
is
not
None
:
num_bits
=
weights_scheme
.
num_bits
if
num_bits
==
4
:
if
isinstance
(
layer
.
scheme
,
CompressedTensorsWNA16
)
:
return
layer
.
scheme
.
process_weights_after_loading
(
layer
)
n
=
layer
.
weight
.
shape
[
0
]
...
...
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