Platforms: linux

This test was disabled because it is failing on master ([recent examples](http://torch-ci.com/failure/test_torch.py%3A%3ATestTorch%3A%3Atest_equal)).

The cause seems to point to https://github.com/pytorch/pytorch/pull/100024 (or D45282119 as it was landed internally)

cc @mruberry @houseroad @ezyang 
# will t
        # best w
        del y
        self.assertRaises(RuntimeError, lambda: x.sigmoid())
    def test_resurrected_weak_ref(self):
        x = torch.empty(2)
        w_x = weakref.ref(x)
        y = torch.empty(2)
        y.grad = x
        del x
        x = w_x()
        # Use th
        x._fix_weakref()
        del y
        x.sigmoid()
    @skipIfTorchDynamo("https://github.com/pytorch/torchdynamo/issues/1993")
    def test_fix_weakref_no_leak(self):
        import weakref
        called = False
        a = torch.randn(1)
        def callback(w):
            nonlocal called
            called = True
        wa = weakref.ref(a, callback)
        a._fix_weakref()
        del a
        self.assertTrue(called)
    # FIXME: move to test_linalg
    @torch.inference_mode()
    def test_bmm_multithreaded(self):