Skip to content

Commit

Permalink
Skip cpu based igemmlt int tests on ROCm
Browse files Browse the repository at this point in the history
  • Loading branch information
pnunna93 committed Jul 30, 2024
1 parent 9059bff commit c5a406a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,9 @@ def test_nvidia_transform(dim1, dim2, dim3, dims, dtype, orderA, orderOut, trans
@pytest.mark.parametrize("ldb", (0,), ids=id_formatter("ldb"))
@pytest.mark.parametrize("device", ("cuda", "cpu"), ids=id_formatter("device"))
def test_igemmlt_int(dim1, dim2, dim3, dim4, dims, ldb, device):
if HIP_ENVIRONMENT and device == "cpu":
pytest.skip("this test is not supported on ROCm yet")

for i in range(k):
if dims == 2:
A = torch.randint(-128, 127, size=(dim1, dim3), device=device).to(torch.int8)
Expand Down

0 comments on commit c5a406a

Please sign in to comment.