Open Antomek opened 1 year ago
Looks like this was caused by a change on the SciML side: https://github.com/SciML/SciMLBase.jl/commit/62494689ad8f198fb75b7170aeb56f837b4590e3. You could ask them to implement the suggestion in https://github.com/FluxML/Zygote.jl/issues/1293#issuecomment-1243051361 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.
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