Remove old ROCm version check in tests (#164245)

This PR removes ROCm<6 version checks.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/164245
Approved by: https://github.com/jeffdaily
This commit is contained in:
Yuanyuan Chen
2025-10-06 22:42:01 +00:00
committed by PyTorch MergeBot
parent 3912ba3e94
commit b63bbe1661
4 changed files with 2 additions and 15 deletions

View File

@ -38,7 +38,6 @@ from torch.testing._internal.common_utils import (
gradcheck,
parametrize,
run_tests,
skipIfRocmVersionLessThan,
skipIfTorchDynamo,
TEST_WITH_ROCM,
TestCase,
@ -196,7 +195,6 @@ class TestForeach(TestCase):
zero_size=True,
)
@skipIfRocmVersionLessThan((6, 0))
@ops(
foreach_unary_op_db
+ foreach_binary_op_db