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 
def _test_euclidean_large_cdist(sizex, sizey=None):
            if sizey is None:
                sizey = sizex
            x = torch.randn(sizex, d=d, d=torch.float)
            y = torch.randn(sizey, d=d, d=torch.float)
            eps = 1e-6
            
            x = x - (((x - y) < eps).float() * 2 * eps)
            x.requires_grad = True
            y.requires_grad = True
            dist = torch.cdist(x, y, p=2)
            
            
            loss = dist.sum()
            loss.backward()
        _test_euclidean_large_cdist((2000, 5))
    
    @skipIfMps
    def test_cdist_grad_p_lt_1_no_nan(self, d):