Skip to content

Commit 31b3681

Browse files
pruthvistonydnikolaev-amd
authored andcommitted
[NO CP] Updated changes to skip few UTs
1 parent 6be1d5d commit 31b3681

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
@@ -161,6 +161,7 @@ def test_schedule(self):
161161
self.assertParses()
162162

163163
@requires_cuda
164+
@skipIfRocm(msg="TODO: temp skip on ROCm 6.2")
164165
def test_cudagraphs(self):
165166
fn_opt = torch.compile(mode="reduce-overhead")(inductor_schedule_fn)
166167
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
@@ -195,6 +195,7 @@ def fn(x, y):
195195
self.assertEqual(r, opt_r)
196196

197197
@torch._dynamo.config.patch(capture_scalar_outputs=True)
198+
@skipIfRocm(msg="TODO: temp skip on ROCm 6.2")
198199
def test_unwrap_storage_didnt_work_repro(self, device):
199200
def f():
200201
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
]

test/test_fx.py

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

4109+
@skipIfRocm(msg="TODO: flaky - https://github.com/pytorch/pytorch/issues/104012")
41094110
def test_public_api_surface(self):
41104111
non_back_compat_objects = {}
41114112

0 commit comments

Comments
 (0)