Skip to content

Commit 66bae24

Browse files
committed
satisfy quality checker
Signed-off-by: Kyle Sayers <[email protected]>
1 parent 807aae8 commit 66bae24

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/compressed_tensors/quantization/quant_scheme.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@ def validate_model_after(model: "QuantizationScheme") -> "QuantizationScheme":
6666
QuantizationStrategy.GROUP,
6767
QuantizationStrategy.TENSOR_GROUP,
6868
):
69+
<<<<<<< HEAD
70+
=======
71+
if (
72+
inputs.strategy == QuantizationStrategy.GROUP
73+
and inputs.dynamic is True
74+
):
75+
raise NotImplementedError(
76+
"Static and local group-wise quantization is not supported"
77+
)
78+
79+
>>>>>>> db46c84 (satisfy quality checker)
6980
raise NotImplementedError(
7081
f"Using {inputs.strategy} strategy is not supported for "
7182
"activation quantization"

0 commit comments

Comments
 (0)