[ROCm] unkip test_non_standard_bool except for failings ops (#152956)

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/152956
Approved by: https://github.com/jithunnair-amd, https://github.com/jeffdaily
This commit is contained in:
Prachi Gupta
2025-05-13 15:55:42 +00:00
committed by PyTorch MergeBot
parent 445d8fd77d
commit c5ebc12f7f

View File

@ -61,7 +61,6 @@ from torch.testing._internal.common_utils import (
parametrize,
run_tests,
set_default_dtype,
skipIfRocm,
skipIfTorchDynamo,
skipIfTorchInductor,
slowTest,
@ -1421,7 +1420,6 @@ class TestCommon(TestCase):
# `cfloat` input -> `float` output
self.assertEqual(actual, expected, exact_dtype=False)
@skipIfRocm
@ops(op_db, allowed_dtypes=(torch.bool,))
def test_non_standard_bool_values(self, device, dtype, op):
# Test boolean values other than 0x00 and 0x01 (gh-54789)