The GitHub Actions job "tvm-bot" on tvm.git/main has succeeded. Run started by GitHub user cchung100m (triggered by cchung100m).
Head commit for run: bc1a904ec1ad89454ee6577d66cde1268b8f6bc8 / Neo Chien <[email protected]> [Relax][ONNX] Prevent `Div` divide-by-zero crashes (#19566) Hi Committers, This PR is trying to fix issues #19541. Any suggestions would be appreciated if you are available. ### Root cause: The ONNX `Div` path in the Relax frontend did not separate two integer-divisor cases: constant zero divisors and dynamic/unknown divisors. As a result, constant integer zero divisors were not rejected during import, and dynamic integer divisors could reach runtime without a guard. When the divisor became zero at runtime, execution could trigger SIGFPE and terminate the process instead of raising a controlled error. ### Solution: This PR applies a minimal, targeted fix in the ONNX frontend `Div` conversion path. It introduces: import-time validation for constant integer divisors containing zero, raising ValueError early. --------- Co-authored-by: cchung100m <[email protected]> Report URL: https://github.com/apache/tvm/actions/runs/26011187967 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
