The GitHub Actions job "Teams" on tvm.git/main has succeeded.
Run started by GitHub user raindrops-0199 (triggered by raindrops-0199).

Head commit for run:
4d9d129c93a0ac93e1c2643b3f35a67b05c0b451 / Neo Chien 
<[email protected]>
[Relax][ONNX] Fix Cast operator float->int NaN/Inf handling (#19626)

Hi Committers,

This PR is trying to fix issues #19542. Any suggestions would be
appreciated if you are available.

### Root cause:
FP to INT lowering can be implementation-defined or UB for NaN/Inf and
extreme floats, producing backend-dependent results versus ONNX Runtime.

### Solution:
Apply a minimal, deterministic frontend sanitization for float to
integer Casts: map NaN and ±Inf to 0.0 before astype. This prevents
NaN/Inf from reaching backend fptosi/fptoui lowers and yields stable
behavior across targets.

---------

Co-authored-by: cchung100m <[email protected]>

Report URL: https://github.com/apache/tvm/actions/runs/27007614563

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to