trunk/50a1fa355ba733233d60eede2ca9d7016d1e66e1: Fix _sympy_mod crash on plain int operands (#198395) (#198395)
- PyTorch: 1536 events in the last 90 days
- PyTorch: 1517th Release in the last 90 days
- Previous: earlier the same day · ciflow/trunk/198744: Use hex float literal for 2^31 in float -> uint8 convert
What happened
Summary: Problem: f1145204272 failed with error InductorError: LoweringException: AttributeError: 'int' object has no attribute 'is_nonnegative'\n target: \n args[0]: 20\n args[1]: 8AttributeError: 'int' object has no attribute 'is_nonnegative'\n target: \n args[0]: 20\n args[1]: 8 Proposed fix: _sympy_mod in torch/fx/experimental/sym_node.py typed its operands as sympy.Basic and read .is_nonnegative off them direct…
Summary assembled by rule from the sources below