Skip to content

Commit e005ace

Browse files
committed
[NO CP] Updated changes to skip few UTs
1 parent 3465ed9 commit e005ace

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

test/dynamo/test_structured_trace.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ def test_schedule(self):
190190
self.assertParses()
191191

192192
@requires_cuda
193+
@skipIfRocm(msg="TODO: temp skip on ROCm 6.2")
193194
def test_cudagraphs(self):
194195
fn_opt = torch.compile(mode="reduce-overhead")(inductor_schedule_fn)
195196
fn_opt(torch.ones(1000, 1000, device="cuda"))

test/inductor/test_torchinductor_dynamic_shapes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ def fn(x, y):
250250
self.assertEqual(r, opt_r)
251251

252252
@torch._dynamo.config.patch(capture_scalar_outputs=True)
253+
@skipIfRocm(msg="TODO: temp skip on ROCm 6.2")
253254
def test_unwrap_storage_didnt_work_repro(self, device):
254255
def f():
255256
full = torch.full((), 11)

test/run_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ def __contains__(self, item):
182182
"distributed/_tensor/test_attention",
183183
]
184184

185+
if sys.version_info.major < 3 or (sys.version_info.major == 3 and sys.version_info.minor <= 9):
186+
ROCM_BLOCKLIST.append("test_typing")
187+
185188
XPU_BLOCKLIST = [
186189
"test_autograd",
187190
"profiler/test_cpp_thread",

test/test_fx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4131,6 +4131,7 @@ def test_class_member_back_compat(self):
41314131
f"and subsequently --accept the change."
41324132
raise AssertionError(msg) from e
41334133

4134+
@skipIfRocm(msg="TODO: flaky - https://github.com/pytorch/pytorch/issues/104012")
41344135
def test_public_api_surface(self):
41354136
non_back_compat_objects = {}
41364137

0 commit comments

Comments
 (0)