Skip to content

[Refactor] Extract model specific logics in export lib#1828

Draft
h-guo18 wants to merge 8 commits into
mainfrom
haoguo/export-modelinglib
Draft

[Refactor] Extract model specific logics in export lib#1828
h-guo18 wants to merge 8 commits into
mainfrom
haoguo/export-modelinglib

add hook

8ddd26c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 25, 2026 in 0s

77.16% (-0.21%) compared to 4093664

View this Pull Request on Codecov

77.16% (-0.21%) compared to 4093664

Details

Codecov Report

❌ Patch coverage is 62.96296% with 70 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.16%. Comparing base (4093664) to head (8ddd26c).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
modelopt/torch/export/layer_utils.py 14.28% 24 Missing ⚠️
modelopt/torch/export/modeling/families/gemma.py 33.33% 16 Missing ⚠️
modelopt/torch/export/modeling/registry.py 50.00% 16 Missing ⚠️
modelopt/torch/export/modeling/families/mllama.py 53.84% 6 Missing ⚠️
modelopt/torch/export/modeling/hooks.py 72.72% 3 Missing ⚠️
modelopt/torch/export/quant_utils.py 25.00% 3 Missing ⚠️
modelopt/torch/export/model_config_export.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1828      +/-   ##
==========================================
- Coverage   77.36%   77.16%   -0.21%     
==========================================
  Files         513      534      +21     
  Lines       56889    57365     +476     
==========================================
+ Hits        44012    44265     +253     
- Misses      12877    13100     +223     

☔ View full report in Codecov by Harness.
📢 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.