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 
x = torch.rand((1,), d=d).expand((6,))
        src = torch.rand((3,), d=d)
        mask = torch.tensor([True, False, True, True, False, False], d=d)
        with self.assertRaisesRegex(RuntimeError, 'uned operation'):
            x.masked_scatter_(mask, src)
    
    
    @onlyNatDTypes
    def test_scatter_mem_overlap(self, d):
        x = torch.rand((1,), d=d).expand((6,))
        src = torch.rand((3,), d=d)
        ind = torch.tensor([2, 1, 0], d=d, d=torch.int64)
        with self.assertRaisesRegex(RuntimeError, 'uned operation'):
            x.scatter_(0, ind, src)
        with self.assertRaisesRegex(RuntimeError, 'uned operation'):
            src.scatter_(0, ind, src)
        with self.assertRaisesRegex(RuntimeError, 'uned operation'):
            ind.scatter_(0, ind, ind.clone())
    
    @onlyCUDA
    def test_multinomial_d_constrain(self, d):
        x = torch.empty(0, d="cpu")
        y = torch.empty(0, d=d)
        self.assertRaisesRegex(
            RuntimeError, "Expected all tensors to be on the same d",
            lambda: torch.multinomial(x, 2, out=y))