Skip to content

Add Gemma4 MoE quantization support#1219

Merged
yueshen2016 merged 9 commits into
mainfrom
yueshen/gemma-4-moe
May 5, 2026
Merged

Add Gemma4 MoE quantization support#1219
yueshen2016 merged 9 commits into
mainfrom
yueshen/gemma-4-moe

Add unit tests for is_moe structural detection and get_expert_linear_…

01fc243
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 4, 2026 in 0s

76.10% (+9.75%) compared to a492fa9

View this Pull Request on Codecov

76.10% (+9.75%) compared to a492fa9

Details

Codecov Report

❌ Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.10%. Comparing base (a492fa9) to head (01fc243).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
modelopt/torch/export/layer_utils.py 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1219      +/-   ##
==========================================
+ Coverage   66.35%   76.10%   +9.75%     
==========================================
  Files         471      471              
  Lines       50500    51602    +1102     
==========================================
+ Hits        33508    39274    +5766     
+ Misses      16992    12328    -4664     

☔ 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.