Skip to content
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

Set up precompilation workloads #433

Open
MasonProtter opened this issue Oct 1, 2024 · 0 comments
Open

Set up precompilation workloads #433

MasonProtter opened this issue Oct 1, 2024 · 0 comments
Assignees

Comments

@MasonProtter
Copy link
Contributor

It'd be good to add some precompilation workloads using https://github.com/JuliaLang/PrecompileTools.jl, so that we can reduce the amount of compilation time users experience the first time they solve various models.

This is more or less impossible to do effectively for the MTK backend, but is in principle possible / profitable with GraphDynamics. In practice, I've so far seen limited gains from doing it due to invalidations. E.g. I saw the compilation times for Anthony's PING tutorial solve call get reduced from ~10 seconds to ~6 seconds, which makes me a little unsure if it's worth making the Neuroblox take ~10 seconds longer to precompile when you first install it (or when you load it after modifying it).

Keeping this open as a reminder for myself to look into this more and see what I can do to get rid of these invalidations.

@MasonProtter MasonProtter self-assigned this Oct 1, 2024
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

No branches or pull requests

1 participant