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 
from scipy import stats
        size = 1000
        for p in [0.2, 0.5, 0.8]:
            t = torch.empty(size, d=d, d=d).geometric_(p=p)
            actual = np.histogram(t.cpu().to(torch.double), np.arange(1, 100))[0]
            expected = stats.geom(p).pmf(np.arange(1, 99)) * size
            res = stats.chisquare(actual, expected)
            self.assertEqual(res.pvalue, 1.0, atol=0.1, rtol=0)
    
    def test_pairwise_distance_empty(self, d):
        shape = (2, 0)
        x = torch.randn(shape, d=d)
        y = torch.randn(shape, d=d)
        self.assertEqual(torch.zeros(2, d=d), torch.pairwise_distance(x, y))
        self.assertEqual(torch.zeros((2, 1), d=d), torch.pairwise_distance(x, y, keepdim=True))
        shape = (0, 2)
        x = torch.randn(shape, d=d)
        y = torch.randn(shape, d=d)
        self.assertEqual(torch.zeros(0, d=d), torch.pairwise_distance(x, y))
        self.assertEqual(torch.zeros((0, 1), d=d), torch.pairwise_distance(x, y, keepdim=True))
    def test_pdist_empty(self, d):