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 
w = torch.randn((0, 3), d=d)
            with self.assertRaisesRegex(RuntimeError, "self indexing axis dim should be posit"):
                torch.index_select(w, 0, ind_01)
            ind_05 = torch.tensor([0, 5], d=torch.int64, d=d)
            with self.assertRaisesRegex(RuntimeError, "INDICES element is out of DATA bounds"):
                torch.index_select(w, 1, ind_05)
            with self.assertRaisesRegex(RuntimeError, "Index to scalar can have only 1 value"):
                torch.index_select(s, 0, ind_empty)
        self.assertRaises(RuntimeError, lambda: torch.ones([]).index_select(0, torch.Tensor([0, 0]).int()))
    
    @unittest.skipIf(IS_FBCODE and IS_REMOTE_GPU, "sandcastle OOM with current tpx gpu/re configuration")
    @skipIfRocm
    @onlyCUDA
    @largeTensorTest('32GB', d='cpu')
    @largeTensorTest('5GB', d='cuda')
    def test_pdist_norm_large(self, d):
        
        
        
        x = torch.randn(50000, 1, d=torch.float32)      
        
        expected_cpu = torch.pdist(x, p=2)                  
        actual_cpu = torch.pdist(x.to(d), p=2).cpu()         
        
        self.assertTrue(torch.allclose(expected_cpu, actual_cpu))  
    
    @onlyNatDTypes
    @dsIfCUDA(*set(get_all_math_ds('cuda')))
    @ds(*set(get_all_math_ds('cpu')))
    def test_addcdiv(self, d, d):