Propagate inductor guards to ShapeEnv (#97777)
Fixes https://github.com/pytorch/pytorch/issues/96971
Antoni is going to help us get a small test case to put in the test
suite. The root cause of the problem was Alibi, which has arange
with negative step.
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/97777
Approved by: https://github.com/ngimel, https://github.com/jansel