Skip to content

Commit

Permalink
[3/N] Enable UBSAN tests (pytorch#142022)
Browse files Browse the repository at this point in the history
Fixes #ISSUE_NUMBER

Pull Request resolved: pytorch#142022
Approved by: https://github.com/ezyang
  • Loading branch information
cyyever authored and pytorchmergebot committed Dec 5, 2024
1 parent b31d3b2 commit 653efe1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/test_xpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
NoTest,
run_tests,
suppress_warnings,
TEST_WITH_UBSAN,
TEST_XPU,
TestCase,
)
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 653efe1

Please sign in to comment.