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

Package load time is quite long, and longer on Julia 1.10 #1234

Closed
jgreener64 opened this issue Jan 2, 2024 · 1 comment
Closed

Package load time is quite long, and longer on Julia 1.10 #1234

jgreener64 opened this issue Jan 2, 2024 · 1 comment

Comments

@jgreener64
Copy link
Contributor

This isn't the end of the world, but something worth keeping an eye on. This is with Enzyme main (443f798), Ubuntu and 18 threads.

@time using Enzyme

With Julia 1.7.2:

  9.343872 seconds (15.13 M allocations: 836.380 MiB, 6.14% gc time, 93.39% compilation time)

With Julia 1.8.5:

 15.986613 seconds (31.91 M allocations: 1.708 GiB, 6.90% gc time, 91.74% compilation time: 33% of which was recompilation)

With Julia 1.9.2:

  7.214598 seconds (14.60 M allocations: 988.510 MiB, 7.17% gc time, 91.72% compilation time)

With Julia 1.10.0:

 13.227393 seconds (17.16 M allocations: 1.194 GiB, 3.57% gc time, 97.53% compilation time)
@wsmoses
Copy link
Member

wsmoses commented Jan 2, 2024

Going to mark as a duplicate of #506 and #776

However, the issue presently is partially that the Julia compiler itself is not well tuned to handle the cfunction registration iirc.

cc @vchuravy @KristofferC

@wsmoses wsmoses closed this as completed Jan 5, 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

2 participants