Created by: vchuravy
Workaround https://github.com/EnzymeAD/Enzyme.jl/issues/1516
cc: @michel2323
@michel2323