diff --git a/test/test_xpu.py b/test/test_xpu.py index 0d9bf3679c6c3c..e3c66d55beccc9 100644 --- a/test/test_xpu.py +++ b/test/test_xpu.py @@ -24,7 +24,6 @@ NoTest, run_tests, suppress_warnings, - TEST_WITH_UBSAN, TEST_XPU, TestCase, ) @@ -342,7 +341,6 @@ def to_cpu(arg): @onlyXPU @ops(_xpu_computation_ops, allowed_dtypes=(torch.bool,)) - @unittest.skipIf(TEST_WITH_UBSAN, "Test uses undefined behavior") def test_non_standard_bool_values(self, device, dtype, op): # Test boolean values other than 0x00 and 0x01 (gh-54789) def convert_boolean_tensors(x):