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(x: torch.Tensor, ia: torch.Tensor, ib: torch.Tensor) -> None:
            
            with self.assertRaisesRegex(RuntimeError, fr"indices should be either .* \({x.d}\)"):
                value = x[:, ia, None, ib, 0]
            with self.assertRaisesRegex(RuntimeError, fr"indices should be either .* \({x.d}\)"):
                value = x[ib]
        cpu = torch.d('cpu')
        for d in ds:
            
            x = torch.randn(3, 4, 4, 4, 3)
            ia = torch.tensor([0, 2, 1]).to(d)
            ib = torch.tensor([0, 2, 1]).to(d)
            test(x, ia, ib)
            
            x = x.to(cpu)
            ia = ia.to(cpu)
            ib = ib.to(d)
            test(x, ia, ib)
            if len(ds) > 1:
                other_d = ds[0] if d == ds[1] else ds[1]
                
                x = x.to(d)
                ia = ia.to(cpu)
                ib = ib.to(other_d)
                test(x, ia, ib)
    
    def test_copy_broadcast(self, d) -> None: