Skip to content

Test ExaModels AOT Compilation#31

Draft
pulsipher wants to merge 9 commits intomainfrom
examodel_aot
Draft

Test ExaModels AOT Compilation#31
pulsipher wants to merge 9 commits intomainfrom
examodel_aot

Conversation

@pulsipher
Copy link
Copy Markdown
Collaborator

This tests out the ExaModels changes proposed in exanauts/ExaModels.jl#256.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 7, 2026

Codecov Report

❌ Patch coverage is 90.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.16%. Comparing base (64c85bb) to head (70359bb).

Files with missing lines Patch % Lines
src/transform.jl 90.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
+ Coverage   85.09%   85.16%   +0.07%     
==========================================
  Files           6        6              
  Lines         711      708       -3     
==========================================
- Hits          605      603       -2     
+ Misses        106      105       -1     

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

@pulsipher
Copy link
Copy Markdown
Collaborator Author

This appears to make very little difference for performance and allocations/memory. Using the quadrotor example from our benchmarks with 1000 time points, I get the following with the current release:

using NLPModelsIpopt, InfiniteOpt, InfiniteExaModels

m = quad(num_supports = 1000, backend = ExaTranscriptionBackend(IpoptSolver))
set_silent(m)
@time build_transcription_backend!(m) # builds the ExaModel
@time optimize!(m)
0.168895 seconds (450.06 k allocations: 24.030 MiB)
0.865922 seconds (310 allocations: 2.626 MiB)

With this PR, I get:

0.174419 seconds (449.24 k allocations: 24.468 MiB)
0.856932 seconds (310 allocations: 2.629 MiB)

@pulsipher pulsipher marked this pull request as draft April 8, 2026 02:34
@pulsipher pulsipher changed the title Test ExaModels AOT [DO NOT MERGE] Test ExaModels AOT Compilation Apr 8, 2026
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.

3 participants