-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
AutoDiff for simple equation using ComponentArrays fails with certain sensealg
options
#1091
Labels
Comments
@ChrisRackauckas this is the issue I was talking about |
I have the same issue, now that I have updated SciMLSensitivity |
This should be handled with the newest release. |
Note that I am seeing something specifically with Tracker, and that should get resolved over the next week. But if you're not doing TrackerAdjoint with ComponentArray p you should generally be fine with ComponentArrays. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug 🐞
Related to DARPA-ASKEM/sciml-service#177
A simple harmonic oscillator model that uses component arrays to hold the state and the parameters.
Expected behavior
I want to get the gradient of
fake_loss
with respect to the parameterk
Minimal Reproducible Example 👇
Error & Stacktrace⚠️
Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context
The continuous adjoint sensealgs work, but not ForwardDiff or FowardSensitivity. Enzyme will work if the runtime activity option is used.
The text was updated successfully, but these errors were encountered: