trunk/462c7e0395c5b1b7914649d7d3753a24751a9148: Fix SingletonInt static guard evaluation (#184628)
- PyTorch: 1732 events in the last 90 days
- PyTorch: 1711th Release in the last 90 days
- Previous: earlier the same day · trunk/af6328688b5c168a52a3b838737ee82b9000a454: [jit] Resolve module annotations in MRO order (#199074)
What happened
Evaluate determinate SingletonInt-only symbolic expressions before guard emission so NestedTensor keepdim reductions do not create unguardable ephemeral guards. Leave mixed or unsupported SingletonInt expressions unknown. Fixes #182217 Fixes #183369 Generated by my agent Pull Request resolved: #184628 Approved by: https://github.com/mlazos
Summary assembled by rule from the sources below