You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix compatibility with thread-safe tape recording in ReverseDiff.jl #565
JuliaDiff/ReverseDiff.jl#311 breaks our autodiff code because Gen uses ReverseDiff.jl's InstructionTape API internally to implement automatic differentiation. As far as I can tell, we will need to add a call to ReverseDiff.finish! before any call to ReverseDiff.reverse_pass!.
This should be a relatively straightforward fix (we don't call reverse_pass! in many places), but ideally we can do it in a way that's backwards compatible with earlier versions of ReverseDiff.jl.
Activity