William Moses

Results 889 comments of William Moses

Present duplicate of https://github.com/EnzymeAD/Enzyme.jl/issues/293

Should be fixed by https://github.com/EnzymeAD/Enzyme/pull/763/files with strict-aliasing=0

Confirmed fixed with strict aliasing disabled: ``` julia> Enzyme.API.strictAliasing!(false) julia> autodiff(g, Active, true, Active(1.0)) (1.0,) ```

What system are you on and what is the error message specifically

The issue here is that we haven’t added vector mode to generic calls yet. Can you specify a chunk size of 1 On Thu, May 12, 2022 at 6:13 PM...

@vchuravy For the time for curiousity can you also try the type stable, but vector size 1 as well

The first code now hits a: ``` julia: /buildworker/worker/package_linux64/build/src/llvm-late-gc-lowering.cpp:870: std::vector LateLowerGCFrame::NumberAllBase(State&, llvm::Value*): Assertion `Tracked.size() == BaseNumbers.size()' failed. signal (6): Aborted in expression starting at REPL[8]:1 gsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)...

declare nonnull {} addrspace(10)* @jl_f_getfield({} addrspace(10)*, {} addrspace(10)**, i32) We should add the adjoint for this

Taking a deeper dive on this than our earlier call, I have the following thoughts: 1) As discussed, we need to add support for Julia custom gradients. 2) I'm not...

So the first thing that I'm going to do is make c-extern versions of the relevant gradient functions available. @vchuravy If I have an enum is this accessible to you,...