trunk/50a1fa355ba733233d60eede2ca9d7016d1e66e1: Fix _sympy_mod crash on plain int operands (#198395) (#198395)
- PyTorch 近 90 天出现 1536 次
- PyTorch 近 90 天第 1517 次发版
- 上一次:同一天稍早 · ciflow/trunk/198744: Use hex float literal for 2^31 in float -> uint8 convert
发生了什么
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…
摘要按规则整理自下方来源原文