Closed jClugstor closed 2 months ago
@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.
Describe the bug 🐞 Related to https://github.com/DARPA-ASKEM/sciml-service/issues/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.