Skip to content

Commit 87728a1

Browse files
BLOrange-AMDpruthvistony
authored andcommitted
Added functions imports (#1521)
Fixes inductor.test_torchinductor_dynamic_shapes::TestInductorDynamicCUDA::test_item_unbacked_stride_nobreak_cuda
1 parent 1eca012 commit 87728a1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/inductor/test_torchinductor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
from torch.testing._internal.common_device_type import (
7171
_has_sufficient_memory,
7272
expectedFailureXPU,
73+
get_desired_device_type_test_bases,
7374
)
7475
from torch.testing._internal.common_dtype import all_types, get_all_dtypes
7576
from torch.testing._internal.common_utils import (

test/inductor/test_torchinductor_dynamic_shapes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
TEST_CUDA_MEM_LEAK_CHECK,
3434
TEST_WITH_ASAN,
3535
TEST_WITH_ROCM,
36+
skipIfRocm,
3637
)
3738
from torch.testing._internal.inductor_utils import GPU_TYPE, HAS_CPU, HAS_GPU
3839

0 commit comments

Comments
 (0)