-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Precompile Time explodes with v2.0.0 #223
Comments
Same here, I tested on a server, plain environment, precompiled BoundaryValueDiffEq version 5.0.0(which uses NonlinearSolve version 2.0.0), took about 20 mins to only finish the NonlinearSolve precompiling |
Caused blow up in compilation time SciML/NonlinearSolve.jl#223
On my machine (Julia 1.9.3 on an M2 mac), precompilation of NonlinearSolve.jl goes from 14 seconds to 273 seconds. |
Caused blow up in compilation time SciML/NonlinearSolve.jl#223
I bisected it to 78beabe |
1482: Bound NonlinearSolve.jl test compat r=simonbyrne a=simonbyrne Caused blow up in compilation time SciML/NonlinearSolve.jl#223 Co-authored-by: Simon Byrne <[email protected]>
Removing the |
Caused blow up in compilation time SciML/NonlinearSolve.jl#223
1482: Bound NonlinearSolve.jl test compat r=simonbyrne a=simonbyrne Caused blow up in compilation time SciML/NonlinearSolve.jl#223 Co-authored-by: Simon Byrne <[email protected]>
1482: Bound NonlinearSolve.jl test compat r=simonbyrne a=simonbyrne Caused blow up in compilation time SciML/NonlinearSolve.jl#223 Co-authored-by: Simon Byrne <[email protected]>
This is solved. It's a v1.9 bug, so we'll only precompile on v1.10. |
I am using NonlinearSolve as a dependency from OrdinaryDiffEq.jl
Iam used to see OrdinaryDiffEq being a heavy dependency in the precompile phase. Pulling in NonlinearSolve on v2.0.0 is however skyrocketing precompile time - increasing also precompile time for packages depending on it.
Starting from this setup from a plain
.julia
environment, precompile is finished within 4min on my machine. After dropping the restriction on <2.0.0 Iam giving up after 5min only seeing NonlinearSolve and not even starting with OrdinaryDiffEq. I have seen it finish already, but I didnt time it then (and am not going to do it again) and think its in the region of 30min.The text was updated successfully, but these errors were encountered: