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
ReverseDiffAdjoint fails on implicit solvers #581
Comments
I'm not sure this one is fixable without big changes to ReverseDiff.jl. We should probably just find a good way to throw an informative error. |
Two little updates on that: (1) this currently fails with a conversion error from Stacktrace
(2) Wasn't the original error only related to implicit solvers that use So a check in
|
That could be a ReverseDiff bug? We manually wrap the user's OOP |
The conversion with
Is it possible that the |
When using a scalar/1-element vector state variable, the same type of conversion error also occurs for explicit solvers. MWE:
Stacktrace
|
I haven't had a single-state NeuralODE for a long time, but I can reproduce this: Fails for single-state, works for two (and more) states. |
MWE:
Stacktrace:
Click to expand
The text was updated successfully, but these errors were encountered: