Skip to content

Commit 08bccdc

Browse files
committed
Fix CI float8 test
1 parent 728fbd0 commit 08bccdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/integration/test_integration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1821,7 +1821,7 @@ def test_autoquant_int4wo(self, device, dtype):
18211821
self.assertGreater(compute_error(ref, out), 20)
18221822

18231823
@parameterized.expand(COMMON_DEVICE_DTYPE)
1824-
@unittest.skipIf(not torch.cuda.is_available(), "Need CUDA available")
1824+
@unittest.skipIf(not is_sm_at_least_90(), "Need cuda arch greater than SM90")
18251825
@unittest.skipIf(
18261826
not TORCH_VERSION_AT_LEAST_2_5, "autoquant int4 option requires 2.5+."
18271827
)

0 commit comments

Comments
 (0)