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 
return torch.cumsum(a.exp(), axis=axis).log_()
        axis = -1
        a = torch.randn(100, 100, d=d)
        actual = a.logcumsumexp(axis)
        expected = logcumsumexp(a, axis)
        self.assertEqual(a.d, actual.d)
        self.assertEqual(expected.shape, actual.shape)
        self.assertEqual(expected, actual)
        
        x = torch.tensor([-float('inf'), -float('inf'), 1.0, 1.0, float('inf'),
                         float('inf'), float('nan'), 1.0, 1.0], d=d)
        x2d = x.unsqueeze(0).expand(2, -1)
        for inp in (x, x2d):
            actual = inp.logcumsumexp(axis)
            expected = logcumsumexp(inp, axis)
            self.assertEqual(expected, actual)
        
        b = torch.randn(5, 2, d=d)
        inplace_out = torch.zeros(5, 2, d=d)
        expected = logcumsumexp(b, axis)
        torch.logcumsumexp(b, axis=axis, out=inplace_out)
        self.assertEqual(inplace_out, expected)
        
        b = torch.randn(5, 2, d=d, d=torch.float64)
        inplace_out = torch.zeros(5, 2, d=d, d=torch.float32)
        with self.assertRaisesRegex(
                RuntimeError,
                'expected scalar_ Double but found Float'):
            torch.logcumsumexp(b, axis, out=inplace_out)
    def _test_diff_numpy(self, t, dims=None):