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
Currently, Enzyme.jl's reverse mode autodiff doesn't work correctly with Bumper.jl because if you give it a Duplicated buffer, it'll += accumulate results into the duplicated buffer making the answer depend on the state of the buffer at the start of the program.
It'd be good if we could set up some EnzymeRules to explicitly teach Enzyme how to handle Bumper.jl allocations and deallocations. I don't really know how to do this though, so if anyone wants to take it on, or work on it together please do.
The text was updated successfully, but these errors were encountered:
Just so I understand, you could still use bump allocation internal to a differentiated function, right? You are basically wondering if it could also be done with bump allocation wrapping an enzyme call?
Currently, Enzyme.jl's reverse mode autodiff doesn't work correctly with Bumper.jl because if you give it a
Duplicated
buffer, it'll+=
accumulate results into the duplicated buffer making the answer depend on the state of the buffer at the start of the program.It'd be good if we could set up some EnzymeRules to explicitly teach Enzyme how to handle Bumper.jl allocations and deallocations. I don't really know how to do this though, so if anyone wants to take it on, or work on it together please do.
The text was updated successfully, but these errors were encountered: