-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
Error when differentiating solutions of ModelingToolkit models #1325
Labels
Comments
Looks like this was caused by a change on the SciML side: SciML/SciMLBase.jl@6249468. You could ask them to implement the suggestion in #1293 (comment) and see if that works. |
@Antomek, do you find a way around this? I need to get Zygote.hessian of a loss function involving forward simulations of ODE defined using ModelingToolkit and ran into the same error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Package Version
Zygote v0.6.49, ModelingToolkit v8.29.1
Julia Version
Julia Version 1.8.2
OS / Environment
macOS Monterey 12.6
Describe the bug
Recently, my scripts I was using to try and get derivatives of ODE solutions from models created with ModelingToolkit.jl have failed with the error:
which is related to this issue, I imagine.
Steps to Reproduce
MWE:
Expected Results
I expected to get the gradient of the sum w.r.t.
u0
andp
.Observed Results
I get the following error:
Relevant log output
No response
The text was updated successfully, but these errors were encountered: