Skip to content

Commit ad10314

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 9c16503 commit ad10314

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
@@ -71,6 +71,7 @@
7171
from torch.testing._internal.common_device_type import (
7272
_has_sufficient_memory,
7373
expectedFailureXPU,
74+
get_desired_device_type_test_bases,
7475
)
7576
from torch.testing._internal.common_dtype import all_types, get_all_dtypes
7677
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
@@ -31,6 +31,7 @@
3131
TEST_CUDA_MEM_LEAK_CHECK,
3232
TEST_WITH_ASAN,
3333
TEST_WITH_ROCM,
34+
skipIfRocm,
3435
)
3536
from torch.testing._internal.inductor_utils import GPU_TYPE, HAS_CPU, HAS_GPU
3637

0 commit comments

Comments
 (0)