Skip to content

Commit 91dc371

Browse files
authored
Re-enable dequant save load test (#651)
1 parent 433cd14 commit 91dc371

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/integration/test_integration.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,6 @@ def forward(self, x):
10221022

10231023
@parameterized.expand(COMMON_DEVICE_DTYPE)
10241024
@unittest.skipIf(is_fbcode(), "'PlainAQTLayout' object has no attribute 'int_data'")
1025-
@unittest.skipIf(TORCH_VERSION_AFTER_2_5, "Can't save local lambda function for tensor subclass")
10261025
@torch.no_grad()
10271026
def test_save_load_dqtensors(self, device, dtype):
10281027
if device == "cpu":
@@ -1226,7 +1225,7 @@ def test_autoquant_compile(self, device, dtype, m1, m2, k, n):
12261225
self.skipTest(f"bfloat16 requires sm80+")
12271226
if m1 == 1 or m2 == 1:
12281227
self.skipTest(f"Shape {(m1, m2, k, n)} requires sm80+")
1229-
# This test fails on v0.4.0 and torch 2.4, so skipping for now.
1228+
# This test fails on v0.4.0 and torch 2.4, so skipping for now.
12301229
if m1 == 1 or m2 == 1 and not TORCH_VERSION_AFTER_2_5:
12311230
self.skipTest(f"Shape {(m1, m2, k, n)} requires torch version > 2.4")
12321231
model = torch.nn.Sequential(
@@ -1299,7 +1298,7 @@ def test_autoquant_kwargs(self, device, dtype, m1, m2, k, n):
12991298
self.skipTest(f"bfloat16 requires sm80+")
13001299
if m1 == 1 or m2 == 1:
13011300
self.skipTest(f"Shape {(m1, m2, k, n)} requires sm80+")
1302-
# This test fails on v0.4.0 and torch 2.4, so skipping for now.
1301+
# This test fails on v0.4.0 and torch 2.4, so skipping for now.
13031302
if m1 == 1 or m2 == 1 and not TORCH_VERSION_AFTER_2_5:
13041303
self.skipTest(f"Shape {(m1, m2, k, n)} requires torch version > 2.4")
13051304

0 commit comments

Comments
 (0)