-
Notifications
You must be signed in to change notification settings - Fork 69
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
Curious slow down (through Turing) #1769
Comments
If you run sample with enzyme a second time, is it fast or slow (I want to know whether that's compilation time or runtime)? |
It doesn't seem like it: the first time took 595.75 seconds, and the second 647.95 seconds (as compared to 13 sec this time on default AD) |
This might be related: JuliaLang/julia#55638 @willtebbutt observed a significant slowdown due to the above issue on some Turing models when using Tapir. |
I know that Enzyme is not yet fully supported by Turing, so apologies if this issue is mistimed.
While Enzyme boosts efficiency with a simple linear model, I noticed that adding a simple variable transformation (that computes the polynomials) within the model critically slows down turning (but not the default AD).
Any pointers to what I'm doing wrong?
The text was updated successfully, but these errors were encountered: