-
Notifications
You must be signed in to change notification settings - Fork 66
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
Nested AD Errors Out #2147
Comments
Please post the backtrace in full, you cut out important information |
Sorry. I have updated the original post with the full error. |
I am confused? You removed even more information? |
Could you please let me know now? I have updated the error. |
Thanks this information is always important:
|
Yeah so this issue is that there’s an inttoptr (presumably a runtime function) that we didn’t restore and thus didn’t properly handle |
Oh no, actually this is an instance of the deferred codegen not triggering or something? In particular I presume the inttoptr call is from the inner AD. We need to fix this, but just for fun what happens if you do set_abi(Reverse, InlineABI) for the innermost call |
The following code (using Julia 1.10.6 and Enzyme 13.17) does simple Nested AD. However this results in an error.
The text was updated successfully, but these errors were encountered: