Skip to content

Commit 66ffd4a

Browse files
iupaikov-amdjithunnair-amd
authored andcommitted
Skipped benchmark tests that go OOM on gfx1101
1 parent d5177f3 commit 66ffd4a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/inductor/test_max_autotune.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
instantiate_parametrized_tests,
3535
parametrize,
3636
skipIfRocm,
37+
skipIfRocmArch,
3738
TEST_WITH_ROCM,
39+
NAVI32_ARCH,
3840
)
3941
from torch.testing._internal.inductor_utils import HAS_CPU, HAS_CUDA
4042

@@ -717,6 +719,8 @@ def test_conv_backend(self):
717719

718720
self.assertIn("NoValidChoicesError", str(context.exception))
719721

722+
# NAVI32 doesn't have enough VRAM to run all autotune configurations and padding benchmarks
723+
@skipIfRocmArch(NAVI32_ARCH)
720724
def test_non_contiguous_input_mm(self):
721725
"""
722726
Make sure the triton template can work with non-contiguous inputs without crash.
@@ -766,6 +770,8 @@ def f(x, y):
766770
act = f(x, y)
767771
torch.testing.assert_close(act, ref, atol=2e-2, rtol=1e-2)
768772

773+
# NAVI32 doesn't have enough VRAM to run all autotune configurations and padding benchmarks
774+
@skipIfRocmArch(NAVI32_ARCH)
769775
def test_non_contiguous_input_mm_plus_mm(self):
770776
x1 = rand_strided((50257, 32768), (1, 50304), device="cuda")
771777
y1 = rand_strided((32768, 768), (768, 1), device="cuda")

0 commit comments

Comments
 (0)