Skip to content

Commit

Permalink
untrack tracker grad
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed May 16, 2024
1 parent d75fefa commit 3eaf6f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/concrete_solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1519,6 +1519,9 @@ function DiffEqBase._concrete_solve_adjoint(
end

function steadystatebackpass(Δ)
if originator isa SciMLBase.TrackerOriginator
Δ = Tracker.data(Δ)
end
# Δ = dg/dx or diffcache.dg_val
# del g/del p = 0
function df(_out, u, p, t, i)
Expand Down

0 comments on commit 3eaf6f0

Please sign in to comment.