Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:
  • Loading branch information
HDCharles committed Oct 25, 2024
1 parent d3af4d5 commit 4f45e03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/integration/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1297,6 +1297,8 @@ def test_autoquant_compile(self, device, dtype, m1, m2, k, n):
@parameterized.expand(COMMON_DEVICE_DTYPE)
@unittest.skipIf(not TORCH_VERSION_AT_LEAST_2_5, "autoquant requires 2.5+.")
def test_autoquant_mha(self, device, dtype):
if device != "cuda" or not torch.cuda.is_available():
self.skipTest(f"autoquant currently does not support {device}")
class MHAModel(torch.nn.Module):
def __init__(self):
super().__init__()
Expand Down

0 comments on commit 4f45e03

Please sign in to comment.