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
DifferentiationInterface makes the functions inner and outer public, but without exporting them. So if you have backend = SecondOrder(AutoEnzyme(; mode=Forward), AutoEnzyme(; mode=Reverse)) then you can do inner(backend).mode.
Note that inner and outer will function as the identity on any AbstractADType that is not a SecondOrder.
In Enzyme 0.13 runtime activity is now enabled in the
ReverseMode
type explicitly. For instance with ADtypes it would be done withHowever, this isn't being respected in
OptimizationEnzymeExt
whereReverse
andForward
are hardcoded.For example
OptimizationBase.jl/ext/OptimizationEnzymeExt.jl
Lines 98 to 113 in 1ebca6f
forces
Enzyme.Reverse
regardless of the passed mode.The text was updated successfully, but these errors were encountered: