Skip to content

Commit 35c24b0

Browse files
committed
push
1 parent 0c5f4a5 commit 35c24b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/integration/test_integration.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@ def test_autoquant_one_input(self, device, dtype, m, k, n):
12221222
(1, 32, 128, 128),
12231223
(32, 32, 128, 128),
12241224
]))
1225-
@unittest.skipIf(not TORCH_VERSION_AT_LEAST_2_3, "autoquant requires 2.3+.")
1225+
@unittest.skipIf(not TORCH_VERSION_AT_LEAST_2_4, "autoquant requires 2.4+.")
12261226
def test_autoquant_compile(self, device, dtype, m1, m2, k, n):
12271227
undo_recommended_configs()
12281228
if device != "cuda" or not torch.cuda.is_available():
@@ -1254,7 +1254,7 @@ def test_autoquant_compile(self, device, dtype, m1, m2, k, n):
12541254
self.assertTrue(sqnr >= 30)
12551255

12561256
@parameterized.expand(COMMON_DEVICE_DTYPE)
1257-
@unittest.skipIf(not TORCH_VERSION_AT_LEAST_2_3, "autoquant requires 2.3+.")
1257+
@unittest.skipIf(not TORCH_VERSION_AT_LEAST_2_4, "autoquant requires 2.4+.")
12581258
def test_autoquant_manual(self, device, dtype):
12591259
undo_recommended_configs()
12601260
if device != "cuda" or not torch.cuda.is_available():
@@ -1295,7 +1295,7 @@ def test_autoquant_manual(self, device, dtype):
12951295
(1, 32, 128, 128),
12961296
(32, 32, 128, 128),
12971297
]))
1298-
@unittest.skipIf(not TORCH_VERSION_AT_LEAST_2_3, "autoquant requires 2.3+.")
1298+
@unittest.skipIf(not TORCH_VERSION_AT_LEAST_2_4, "autoquant requires 2.4+.")
12991299
def test_autoquant_kwargs(self, device, dtype, m1, m2, k, n):
13001300
undo_recommended_configs()
13011301
if device != "cuda" or not torch.cuda.is_available():
@@ -1478,7 +1478,7 @@ def forward(self, x):
14781478

14791479
class TestUtils(unittest.TestCase):
14801480
@parameterized.expand(COMMON_DEVICE_DTYPE)
1481-
@unittest.skipIf(not TORCH_VERSION_AT_LEAST_2_3, "autoquant requires 2.3+.")
1481+
@unittest.skipIf(not TORCH_VERSION_AT_LEAST_2_4, "autoquant requires 2.4+.")
14821482
def test_get_model_size_autoquant(self, device, dtype):
14831483
if device != "cuda" and dtype != torch.bfloat16:
14841484
self.skipTest(f"autoquant currently does not support {device}")

0 commit comments

Comments
 (0)