-
Reverse-mode backends like [Zygote](https://fluxml.ai/Zygote.jl/dev/adjoints/#Pullbacks-1) and [Enzyme (?)](https://enzymead.github.io/Enzyme.jl/stable/api/#EnzymeCore.autodiff_deferred_thunk-Union{Tu…
-
I couldn't find a better title, so let me explain: I have a function interpolated via BSplineKit, based on some lookup table. BSplineKit provides rrules for differentiation of the interpolated functio…
-
Reported in #7092. Related to the comment here: https://github.com/google/jax/blob/97a5719fcb40af7231b5f803f965063538282f8e/jax/interpreters/ad.py#L198-L200
The issue is that in the backward pass o…
-
Hi community,
I am trying to include `Enzyme.jl` to [this benchmark](https://gist.github.com/ForceBru/63a08b62cb4bdf6a6d8bc23924929d48) which compares the speed of `ForwardDiff.jl`, `ReverseDiff.jl…
-
I noticed the following change in https://github.com/gdalle/DifferentiationInterface.jl/pull/196:
Enzyme v0.11: type-stable
```julia
(@v1.10) pkg> activate --temp
Activating new project at `…
-
```julia
using CUDA, Enzyme
w = cu(rand(Float32, 10, 10))
b = cu(rand(Float32, 10))
x = cu(rand(Float32, 10, 10))
act = x -> max(0f0, x)
function loss_function(act, w, x, b)
return sum(…
-
MWE:
```
using Distributions
using Enzyme
f(x) = sum(logpdf.((Skellam(x[1], 2.0),), -2))
Enzyme.gradient(Enzyme.Forward, f, [1.0])
```
Output:
```
[74169] signal (4.1): Illegal instructio…
-
Click to expand!
### Issue Type
Bug
### Source
binary
### Tensorflow Version
tf 2.9
### Custom Code
Yes
### OS Platform and Distribution
Linux Ubuntu 20.04
### Mobile device
_No respons…
-
I have existing code using autodiff v0.5.13 that I am migrating to v0.6.3 that uses both forward mode and reverse mode auto-differentiation in the same compilation unit.
In updating to the newer vers…
-
This code produces a compilation error:
```
using Enzyme
using EnzymeCore
# Required presently
Enzyme.API.runtimeActivity!(true)
Enzyme.API.looseTypeAnalysis!(true)
Enzyme.API.maxtypeoffset!(20…