Closed sefffal closed 11 months ago
Actually, my MWE might have introduced a type, instability. I will update.
I solved my issue by fixing the type instability, but I'll leave this open for the Julia crash instead of an error message.
Improved error message should be added by latest jll bump https://github.com/EnzymeAD/Enzyme.jl/commit/38007ced021e021a25982b7e16a65686ead0dcf3
Hello all, and thanks for the promising package.
I'm experimenting with adding Enzyme to my package Octofitter.jl in place of ForwardDiff. Enzyme looks very promising for some of the calls. However, I've hit upon a crash when testing Forward mode on the following function.
I thought this would be a great candidate for Enzyme since the whole call is type-stable and allocation free.
The following is a minimized reproducer:
Tested on MacOS (m2), Julia 1.9.3, and Enzyme v0.11.9.
In case it helps,
Reverse
results in this message instead: