Avoid subtracting by sys.maxsize when something is bounded below by -sys.maxsize - 1 (#106716)
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/106716
Approved by: https://github.com/albanD