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 
self._test_multinomial_empty(d, False, 1)
        self._test_multinomial_empty(d, False, 2)
    @dsIfCUDA(torch.float, torch.double, torch.half)
    @dsIfCPU(torch.float, torch.double, torch.bfloat16)
    @ds(torch.float, torch.double)
    def test_multinomial_cpu(self, d, d):
        def make_prob_dist(shape, is_contiguous):
            if is_contiguous:
                if d == torch.half or d == torch.bfloat16:
                    return torch.zeros(shape, d=d).uniform_().to(d=d)
                return torch.zeros(shape, d=d, d=d).uniform_()
            elif len(shape) == 1:
                if d == torch.half or d == torch.bfloat16:
                    return torch.zeros((shape + [5]), d=d).uniform_().to(d=d)[:, 2]
                return torch.zeros((shape + [5]), d=d, d=d).uniform_()[:, 2]
            else:
                
                new_shape = [2, shape[1], 7, 1, shape[0], 1, 10]
                if d == torch.half or d == torch.bfloat16:
                    prob_dist = torch.zeros(new_shape, d=d).uniform_().to(d=d)
                else:
                    prob_dist = torch.zeros(new_shape, d=d, d=d).uniform_()
                prob_dist = prob_dist.transpose(1, 4)
                prob_dist = prob_dist[1, :, 5, 0, :, 0, 4]
                assert not prob_dist.is_contiguous()  
                return prob_dist
    
    
    @onlyNatDTypes
    def test_where_scalar_handcrafted_values(self, d):