Skip to content

Commit e9b7727

Browse files
authored
Imported skipIfRocm in certain test suites (#1577)
Fixes SWDEV-472397
1 parent d768940 commit e9b7727

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/dynamo/test_structured_trace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from torch._inductor.test_case import TestCase
2020
from torch._logging._internal import TorchLogsFormatter
2121
from torch.nn.parallel import DistributedDataParallel as DDP
22-
from torch.testing._internal.common_utils import find_free_port
22+
from torch.testing._internal.common_utils import find_free_port, skipIfRocm
2323
from torch.testing._internal.inductor_utils import HAS_CUDA
2424

2525

test/test_fx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
IS_WINDOWS,
5858
find_library_location,
5959
run_tests,
60+
skipIfRocm,
6061
skipIfTorchDynamo,
6162
)
6263
from torch.testing._internal.jit_utils import JitTestCase

0 commit comments

Comments
 (0)