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 
msg = 'The torch.cuda.*DTensor constructors are no longer recommended'
        with self.assertWarnsOnceRegex(UserWarning, msg):
            t = torch.cuda.FloatTensor([0])
        with self.assertWarnsOnceRegex(UserWarning, msg):
            t = torch.cuda.DoubleTensor([0])
    def test_set_default_tensor__warnings(self, d):
        msg = '.*is deprecated as of PyTorch 2.1, please use torch.set_default_d().*'
        default_ = torch.tensor([]).()
        try:
            with self.assertWarnsOnceRegex(UserWarning, msg):
                torch.set_default_tensor_(torch.FloatTensor)
            if torch.cuda.is_available():
                with self.assertWarnsOnceRegex(UserWarning, msg):
                    torch.set_default_tensor_(torch.cuda.FloatTensor)
        finally:
            torch.set_default_tensor_(default_)
    
    @skipIfTorchInductor("Please convert all Tensors to FakeTensors")
    def test_conv_transposed_backward_agnostic_to_memory_format(self, d):