-
Notifications
You must be signed in to change notification settings - Fork 57
Value is sometimes not set when using DiffResults #269
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
Comments
This doesn't reproduce on nightly Julia. |
BTW, as mentioned on Slack, |
You're right, with |
Create a MWE and report an issue to JuliaLang/julia. Create the MWE by:
Another thing to do is bisect the fix (given that the bug is perhaps fixed on nightly), and see if it's backportable. |
Unfortunately I wouldn't even know where to begin to inline ReverseDiff. I tried removing it entirely and the effect disappeared. |
Here's an MWE I'm struggling to understand. My best guess sofar is that this is hitting a Julia compiler optimization which somehow eludes the value computation. Unless I'm just holding the thing wrong?
Related:
value_and_gradient
DifferentiationInterface.jl#729The text was updated successfully, but these errors were encountered: