Skip to content

Commit 1f0e2dc

Browse files
committed
skip sparse_nm tests on ROCm
1 parent 0a2f280 commit 1f0e2dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/sparse_nm_test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ def setUp(self):
4747
)
4848
@jtu.run_on_devices("gpu")
4949
def test_shapes(self, tile_m, tile_n, tile_k, batch, sparse_idx):
50+
if jtu.is_device_rocm():
51+
self.skipTest("There is no spmm lowering support for ROCm platform")
5052
# Build keyword arguments
5153
kwargs = {
5254
"dimension_numbers": (((1,), (1,)), (tuple(), tuple())),
@@ -93,6 +95,8 @@ def test_shapes(self, tile_m, tile_n, tile_k, batch, sparse_idx):
9395
)
9496
@jtu.run_on_devices("gpu")
9597
def test_types(self, lhs_type, rhs_type, output_type):
98+
if jtu.is_device_rocm():
99+
self.skipTest("There is no spmm lowering support for ROCm platform")
96100
tile_m, tile_n, tile_k = 64, 32, 128
97101

98102
# Build input data

0 commit comments

Comments
 (0)