Skip to content

Commit f0bb64b

Browse files
committed
update
1 parent b5cd4e7 commit f0bb64b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compressed_tensors/compressors/model_compressors/model_compressor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ def from_pretrained_model(
183183
:return: compressor for the configs, or None if model is not compressed
184184
"""
185185

186+
compression_formats = None
186187
if quantization_format is not None:
187188
# llmcompressor incorrectly passes in a CompressionFormat when
188189
# the value string is expected - handle both cases

0 commit comments

Comments
 (0)