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 
for p in [0.99, 0.7, 0.5, 0.1, 0.01]:
            x = torch.randn(1, 2, d=d)
            y = x.clone().detach() + torch.tensor([[1., 0.]], d=d)
            x.requires_grad = True
            y.requires_grad = True
            result = torch.cdist(x, y, p=p)
            result.backward(torch.ones_like(result))
            self.assertFalse(torch.isnan(x.grad).any())
            self.assertFalse(torch.isnan(y.grad).any())
    def test_cdist_same_inputs(self, d):
        
        
        sizex = (1, 27, 32)
        for p in [0, 1, 2, 3, 1.5, 2.5, float('inf')]:
            x = torch.randn(sizex, d=d, d=torch.float)
            dist_grad = torch.randn((1, 27, 27), d=d, d=torch.float)
            y = x.clone()
            eps = 1e-6
            x.requires_grad = True
            d = torch.cdist(x, y)
            d.backward(dist_grad)
            
            
            assert torch.isfinite(x.grad).all()
    @skipIfMps
    def test_cumsum(self, d):