Skip to content

Merge branch 'main' into kmorabi/bump-transformers-5.0

644e0e0
Select commit
Loading
Failed to load commit list.
Merged

Add experimental support for transformers>=5.0 + min torch 2.8 #975

Merge branch 'main' into kmorabi/bump-transformers-5.0
644e0e0
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 8, 2026 in 0s

77.20% (+5.55%) compared to 3a177f6

View this Pull Request on Codecov

77.20% (+5.55%) compared to 3a177f6

Details

Codecov Report

❌ Patch coverage is 81.25000% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.20%. Comparing base (3a177f6) to head (644e0e0).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
modelopt/torch/quantization/plugins/huggingface.py 54.28% 16 Missing ⚠️
modelopt/torch/trace/plugins/transformers.py 78.57% 3 Missing ⚠️
modelopt/torch/__init__.py 75.00% 1 Missing ⚠️
modelopt/torch/quantization/backends/nvfp4_gemm.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #975      +/-   ##
==========================================
+ Coverage   71.65%   77.20%   +5.55%     
==========================================
  Files         353      353              
  Lines       40355    40416      +61     
==========================================
+ Hits        28915    31204    +2289     
+ Misses      11440     9212    -2228     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.