-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
Slow loading time #1151
Comments
@ChrisRackauckas I can't see where Zygote is being loaded in DiffEqBase, do you mean ZygoteRules? |
Or it's the
Yes, I think it's just ZygoteRules, so it seems like it avoids the known load time issues with Zygote. |
I can't seem to identify any one package in DiffEqBase, it just looks like all of them are contributing. Maybe loading the package vs versions would make it easier to troubleshoot. It's also possible that it didn't jump from 5s to 10s and instead that gradually happened over time. |
FWIW, I made sure we got a fix into Julia v1.6 which should improve inference and compile times a lot: JuliaLang/julia#35976 so it's worth checking how things are on the nightly. |
If it helps a lot, we can beg for it to go into v1.5. |
it was like 24 for me on v1.4, and then: julia> @time using OrdinaryDiffEq
12.086512 seconds (15.86 M allocations: 928.801 MiB, 2.80% gc time) on v1.5, so v1.5 is about 2x faster for me! |
This has been steadily improving. We can follow it in the other compilation and latency issues. |
OrdinaryDiffEq now takes ~10s to load, mostly taken up by DiffEqBase + ForwardDiff, FiniteDiff.
Separately, the packages load ~2s faster, meaning there probably is a lot of invalidation happening in DiffEqBase.
The text was updated successfully, but these errors were encountered: