mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Update fake tensor error checks for bool tensor subtraction (#128492)
Fixes #127003 Pull Request resolved: https://github.com/pytorch/pytorch/pull/128492 Approved by: https://github.com/soulitzer
This commit is contained in:
committed by
PyTorch MergeBot
parent
b0282071c4
commit
0f81473d7b
@ -3694,8 +3694,6 @@ class TestBinaryUfuncs(TestCase):
|
||||
actual = op(x, y, alpha=alpha)
|
||||
self.assertTrue(not (actual.isnan() or actual.isinf()))
|
||||
|
||||
# https://github.com/pytorch/pytorch/issues/127003
|
||||
@xfailIfTorchDynamo
|
||||
def test_sub_typing(self, device):
|
||||
m1 = torch.tensor(
|
||||
[True, False, False, True, False, False], dtype=torch.bool, device=device
|
||||
|
Reference in New Issue
Block a user