Skip to content

Fix infinite loop in constant folding of Resize: pre-evaluate output …

fdaa406
Select commit
Loading
Failed to load commit list.
Draft

Fix hang in constant folding when Resize output exceeds size limit #2860

Fix infinite loop in constant folding of Resize: pre-evaluate output …
fdaa406
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 20, 2026 in 1s

71.85% (-0.02%) compared to 4c4f7a0

View this Pull Request on Codecov

71.85% (-0.02%) compared to 4c4f7a0

Details

Codecov Report

❌ Patch coverage is 87.50000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.85%. Comparing base (4c4f7a0) to head (fdaa406).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
onnxscript/optimizer/_constant_folding.py 80.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2860      +/-   ##
==========================================
- Coverage   71.86%   71.85%   -0.02%     
==========================================
  Files         239      239              
  Lines       29139    29154      +15     
  Branches     2875     2878       +3     
==========================================
+ Hits        20942    20949       +7     
- Misses       7219     7229      +10     
+ Partials      978      976       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.