← Back to events
ActiveAIRelease

trunk/50a1fa355ba733233d60eede2ca9d7016d1e66e1: Fix _sympy_mod crash on plain int operands (#198395) (#198395)

Photo: PyTorch Releases

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

Why it's spreading

Sources