Simone Carlo Surace
Simone Carlo Surace
Unfortunately the issue persists on Enzyme#main.
I don't see any more output with `Enzyme.API.printall!(true)` during execution: ```julia julia> using MyModule julia> import Enzyme julia> Enzyme.API.printall!(true) julia> θ = (α = 0.1,) (α = 0.1,) julia> gradient(myfunction,...
Isn't that what I did? The call to autodiff happens in the call to `gradient`.
I'd be happy to provide more info or to run more tests, but I'm not sure what is missing.
I will make a repo for reproducibility when I get back to my computer. Thanks for trying.
I created a package [EnzymePrecompilationTest](https://github.com/simsurace/EnzymePrecompilationTest.jl). Simply clone and run the tests. The segfaults also appear in the [CI](https://github.com/simsurace/EnzymePrecompilationTest.jl/actions/runs/4819963577/jobs/8583834389).
Just a heads up, I just re-tested and [EnzymePrecompilationTest](https://github.com/simsurace/EnzymePrecompilationTest.jl) is still broken with Enzyme v0.11.8.
That's nice! I'd definitely find this useful. I think it would need some unit tests though.
To me everything looks very clean, thanks a lot for the work. However, I don't have merge rights.
@devmotion are you able to review this, or do you know someone who is able to?