Skip to content

Bump to MadNLP 0.10, ExaModels 0.11 #45

Open
michel2323 wants to merge 3 commits into
mainfrom
ms/version_bump
Open

Bump to MadNLP 0.10, ExaModels 0.11 #45
michel2323 wants to merge 3 commits into
mainfrom
ms/version_bump

Conversation

@michel2323

Copy link
Copy Markdown
Contributor

No description provided.

The model is built at element type T but parse_ac_power_data always
parsed the matpower file as Float64, so a T=Float32 model carried
Float64 GenData/BusData/BranchData and its objective evaluated to
Float64. MadNLP <=0.8 hid this by storing the objective via
setproperty! (which converts); MadNLP 0.10 stores it via
set_obj_val! -> setfield! (no convert), raising
"TypeError: in setfield!, expected Float32, got a value of type Float64".
Build every ExaModel with prod = true so the KernelAbstractions jtprod!
kernels MadNLP 0.10 uses for multiplier recovery are generated for the
CPU()/CUDABackend() configs.
@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.86%. Comparing base (28b3d8c) to head (ba75597).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
- Coverage   89.11%   88.86%   -0.25%     
==========================================
  Files           9        9              
  Lines        1304     1275      -29     
==========================================
- Hits         1162     1133      -29     
  Misses        142      142              

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant