From 020c081fea956a6942f5c95b455d37561a966eac Mon Sep 17 00:00:00 2001 From: Tomasz Szulist Date: Sat, 21 Mar 2026 13:17:44 +0000 Subject: [PATCH] Remove deprecated expectedFailurePropagateRealTensors decorator from FakeTensorOperatorInvariants test --- test/xpu/test_fake_tensor_xpu.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/xpu/test_fake_tensor_xpu.py b/test/xpu/test_fake_tensor_xpu.py index cdef0b6d8e..6f6a4db76a 100644 --- a/test/xpu/test_fake_tensor_xpu.py +++ b/test/xpu/test_fake_tensor_xpu.py @@ -1722,8 +1722,6 @@ def __torch_dispatch__(self, func, types, args=(), kwargs=None): self.assertEqual(mode.count, 0) - # PropagateRealTensors installs weakrefs - @expectedFailurePropagateRealTensors @unittest.skipIf(not RUN_GPU, "requires cuda or xpu") def test_module_to(self): def _check_device(sd, device_type):