Skip to content

Commit cd28f40

Browse files
committed
style
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
1 parent 7d5f7c9 commit cd28f40

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/llmcompressor/transformers/compression/quantization_format.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
from compressed_tensors import CompressionFormat
44
from compressed_tensors.config import SparsityStructure
55
from compressed_tensors.quantization import QuantizationStrategy, QuantizationType
6-
from compressed_tensors.quantization.utils import (
7-
is_module_quantized,
8-
)
6+
from compressed_tensors.quantization.utils import is_module_quantized
97

108
__all__ = ["infer_quantization_format"]
119

@@ -50,8 +48,6 @@ def infer_quantization_format(
5048
return quantization_format
5149

5250
weight_args, input_args = _get_unique_quant_args(model)
53-
54-
# no quantization format if no weights are quantized
5551
if len(weight_args) <= 0:
5652
return None
5753

0 commit comments

Comments
 (0)