-
See https://github.com/gdalle/ImplicitDifferentiation.jl/issues/71#issuecomment-1662287726 by @thorek1
-
MWE:
```julia
using CUDA, Enzyme, Random
rng = MersenneTwister(1234)
m = 32
n = 16
Z = cu(randn(rng, Float32, (n,m)))
đť’Ż = 2.0
Δτ = 0.1
ca_init = cu([zeros(1) ; ones(m)])
function f!(ċȧ…
-
Hey! I have been playing with this package to implement AD for [WaterLily.jl](https://github.com/WaterLily-jl/WaterLily.jl). The ForwardDiff backend works as expected, and it provides the same result …
b-fg updated
3 months ago
-
### Description
When using both `custom_vjp` and `custom_vmap` on the same function (applied in either order), I get the following error:
```
File "/build/work/88c64dd2a6f04c75e55857743c6570e5c61…
-
on current `#main`:
```julia
using Enzyme
using EnzymeCore
using LinearAlgebra
using SparseArrays
function foo(A)
return sum(A)
end
A = sprand(10, 10, 0.1)
dA = similar(A)
autodif…
-
Consider two stan programs:
prog1:
```stan
transformed parameters {
target += 1;
}
```
prog2:
```stan
functions {
void foo_lp(real x){
target += x;
}
}
transformed pa…
-
When calculating sufficiently large Jacobians with ForwardDiff, the `forward` mapping $x \rightarrow y(x)$ is called over and over again for each chunk that `ForwardDiff.jacobian` computes.
Here is a…
-
(Transferred issue from Julia discourse: https://discourse.julialang.org/t/trouble-writing-custom-rule-in-enzyme-assertionerror-overwritten-end/108939)
Hi,
I am currently trying to use Enzyme to…
-
### Description
We have seen other issues in the past that cause this assertion to fail, such as this one:
https://github.com/apple/swift/issues/72363
In some cases, the root cause is AutoDiff re…
-
#### Summary:
Want to create a Laplace approximation for the following distributions:
- Normal
- Poisson
- Binomial
- Negative binomial
#### Description:
Doing a Laplace approximation with th…