On my M1 and Julia 1.9 rc3 with Enzyme#main, I am getting a difference between Enzyme and Zygote gradients of
2-element Vector{Float64}:
0.15407736749039058
0.22841827115822566
by running the same code above.
Edit: also ] test Enzyme
causes a segfault. Is the M1 not supported by Enzyme?