Skip to content

Commit 375b6d6

Browse files
authored
Re-enable test_8da4w_quantizer on 2.3 (pytorch#107)
* Re-enable test_8da4w_quantizer on 2.3 * Update test_quant_api.py * Update test_quant_api.py
1 parent 23b0d3c commit 375b6d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/quantization/test_quant_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def test_int8_wo_quant_save_load(self):
159159

160160
torch.testing.assert_close(ref, res.cpu())
161161

162-
@unittest.skipIf(not TORCH_VERSION_AFTER_2_4, "skipping when torch verion is 2.4 or lower")
162+
@unittest.skipIf(not TORCH_VERSION_AFTER_2_3, "skipping when torch verion is 2.3 or lower")
163163
def test_8da4w_quantizer(self):
164164
from torchao.quantization.quant_api import Int8DynActInt4WeightQuantizer
165165
from torchao.quantization.GPTQ import Int8DynActInt4WeightLinear

0 commit comments

Comments
 (0)