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 
y = torch.tensor([[1, 2], [3, 4]], d=d)
        
        temp = y.repeat_interleave(2)
        self.assertEqual(torch.Size([8]), temp.size())
        for d in [torch.int, torch.long]:
            lengths = torch.tensor([1, 2], d=d, d=d)
            output_size = torch.sum(lengths)
            a = torch.repeat_interleave(
                y,
                lengths,
                dim=0,
            )
            self.assertEqual(a.d, y.d)
            self.assertEqual(a.size(), torch.Size([3, 2]))
            a_with_output = torch.repeat_interleave(
                y,
                lengths,
                dim=0,
                output_size=output_size,
            )
            self.assertEqual(a_with_output.d, y.d)
            self.assertEqual(a_with_output.size(), torch.Size([3, 2]))
    @ds(*floating_s())
    @dsIfCPU(*floating_s_and(torch.bfloat16))
    @dsIfCUDA(*floating_s_and(torch.half))
    def test_bernoulli_p(self, d, d):