mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-14 22:25:03 +08:00
Remove superflous/misplaced TestFailure specs
The tests are in class `TestInductorDynamic` which isn't affected by the `test_failures` dict which is only used as an argument to `copy_tests` for the `CommonTemplate` defined in another file.
This commit is contained in:
committed by
Alexander Grund
parent
3cfbf98ea9
commit
7c5043aae8
@ -31,7 +31,6 @@ from torch.testing._internal.common_utils import (
|
||||
serialTest,
|
||||
TEST_CUDA_MEM_LEAK_CHECK,
|
||||
TEST_WITH_ASAN,
|
||||
TEST_WITH_ROCM,
|
||||
)
|
||||
from torch.testing._internal.inductor_utils import (
|
||||
GPU_TYPE,
|
||||
@ -93,17 +92,6 @@ if not torch._inductor.config.cpp_wrapper:
|
||||
("cuda",)
|
||||
)
|
||||
|
||||
if TEST_WITH_ROCM:
|
||||
# Tensor-likes are not close
|
||||
test_failures["test_dynamic_stride_nobreak"] = TestFailure(
|
||||
("cpu", "cuda"), is_skip=True
|
||||
)
|
||||
test_failures["test_item_to_inputs_kernel_nobreak"] = TestFailure(
|
||||
("cpu", "cuda"), is_skip=True
|
||||
)
|
||||
test_failures["test_unbacked_reduction"] = TestFailure(("cpu"), is_skip=True)
|
||||
|
||||
|
||||
if any(os.getenv("BUILD_ENVIRONMENT", "").endswith(x) for x in ("-debug", "-asan")):
|
||||
# Fails with TORCH_INTERNAL_ASSERT(!is_heap_allocated()), see https://github.com/pytorch/pytorch/issues/130073
|
||||
# After https://github.com/pytorch/pytorch/pull/161586, starts failing UBSAN so we can't even xfail.
|
||||
|
||||
Reference in New Issue
Block a user