Skip to content

Commit 2ec0172

Browse files
BLOrange-AMDdnikolaev-amd
authored andcommitted
Added functions imports (#1521)
Fixes inductor.test_torchinductor_dynamic_shapes::TestInductorDynamicCUDA::test_item_unbacked_stride_nobreak_cuda
1 parent a82ac7b commit 2ec0172

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
@@ -32,6 +32,7 @@
3232
TEST_CUDA_MEM_LEAK_CHECK,
3333
TEST_WITH_ASAN,
3434
TEST_WITH_ROCM,
35+
skipIfRocm,
3536
)
3637
from torch.testing._internal.inductor_utils import GPU_TYPE, HAS_CPU, HAS_GPU
3738

0 commit comments

Comments
 (0)