Repository navigation
Conversation
Two extensions run a PrecompileTools workload, solving three problems with ADNLP + Ipopt and with Exa + MadNLP, so that their compiled code is stored in the package images. CTSolvers and NLPModels are triggers: the strategies of CTSolvers for the solvers are extensions of CTSolvers, loaded during the precompilation of ours only if CTSolvers and NLPModels are among its triggers. test/extras/compile_time.jl measures each stage of a solve. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 tasks
Member
Author
|
Written by Claude (Claude Code) at the request of ocots. Closed by decision of ocots: the problems will not be precompiled. The prototype works (a precompiled problem is solved in under 1 s in a fresh session, against 13 to 15 s), but the cost is about 13 s of precompilation and 23 MB of package image per problem and configuration, that is about 13 min and 1.4 GB for the whole collection, paid by every user and in the CI cache, for a gain that matters mainly to the CI. The CI time is addressed instead by testing only what a pull request changes (issue to follow). The branch |
6 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Written by Claude (Claude Code) at the request of ocots.
Refs #373 (part of #310).
Plan (ct-conventions v0.10.0, ct-agents v0.4.0)
PrecompileToolsworkload in two extensions (PrecompileIpopt: ADNLP + Ipopt;PrecompileMadNLP: Exa + MadNLP) on three problems; reuse in a fresh session, install cost, image size. Results on [Dev] Precompile the problems so that users and tests do not recompile them every time #373.julia-actions/cacheacross runs (the tests run in temporary copies of the environments) and compare the CI time; document.⛔ Stops: the default for users (phase C); any new dependency beyond those of the prototype.
Done when (#373)
So far
PrecompileTools. New weak dependencies (triggers):CTSolvers,MadNLP,NLPModels,NLPModelsIpopt; whyCTSolversandNLPModelsare needed is on [Dev] Precompile the problems so that users and tests do not recompile them every time #373.test/extras/compile_time.jl: the measurement script of phases A and B.coretests pass locally (637 pass, 1 broken as onmain).Main checkout
git status --short: empty before.🤖 Generated with Claude Code