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

Increased AD compilation times induced by the change in #67 #73

Open
simsurace opened this issue Feb 13, 2024 · 0 comments
Open

Increased AD compilation times induced by the change in #67 #73

simsurace opened this issue Feb 13, 2024 · 0 comments

Comments

@simsurace
Copy link
Member

While the compiled function runs much faster due to type instability, for bigger tuples this leads to a blowup of compilation time for Zygote when differentiating through the unflatten function defined recursively (unsurprisingly perhaps). We should maybe add an rrule.

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