If we can't statically prove 32-bit indexing OK, only add guard if hint exists (#106004)
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/106004
Approved by: https://github.com/lezcano, https://github.com/albanD