In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument.
https://github.com/pytorch/pytorch/pull/143635
https://github.com/pytorch/pytorch/issues/143555
https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a