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 
a = torch.zeros(10000, 10000, d=d, d=d)  
        num_ones = (torch.bernoulli(a) == 1).sum()
        self.assertEqual(num_ones, 0)
        b = torch.ones(10000, 10000, d=d, d=d)  
        num_zeros = (torch.bernoulli(b) == 0).sum()
        self.assertEqual(num_zeros, 0)
    @ds(*floating_s_and(torch.half, torch.bfloat16))
    @skipIfMps
    def test_exponential(self, d, d):
        a = torch.tensor([10], d=d, d=d).exponential_(0.5)
        self.assertEqual(a.d, d)
        self.assertEqual(a.size(), torch.Size([1]))
        
        t = torch.empty((1,), d=d, d=d).exponential_(float('inf'))
        self.assertTrue(t.item() == 0)
        
        with self.assertRaises(RuntimeError):
            torch.empty((1,), d=d, d=d).exponential_(-0.5)
    @onlyCUDA
    @ds(torch.half, torch.float)
    def test_exponential_no_zero(self, d, d):