Another try to just do it in numpy:
            def reverse_stripe(a):
                a = a.cpu().detach().numpy()
                *sh, i, j = a.shape
                assert i > j
                *st, k, m = a.strides
                strided_result = np.lib.stride_tricks.as_strided(a[..., j - 1:, :], (*sh, i - j + 1, j), (*st, k, m - k))
                return torch.from_numpy(strided_result).type(torch.FloatTensor).to("cuda")

Here is the error message:

ValueError: some of the strides of a given numpy array are negative. This is currently not supported, but will be added in future releases.