-
I am interested in some of the functionality of torch.autograd.functional (https://github.com/pytorch/pytorch/blob/master/torch/autograd/functional.py) in Pytorch for R (especially `jvp()` and `jacobi…
-
I was chatting with @adrhill and he suggested that the macro `@primitive` could be discarded if each backend simply implemented some methods from AbstractDifferentiation, mostly `jacobian` and a `push…
-
```python
from jax import hessian
from jax.random import PRNGKey, gamma
key = PRNGKey(1)
hessian_sample = hessian(gamma, argnums=(1,))
# NotImplementedError: Differentiation rule for 'random_ga…
-
MWE:
```julia
import Enzyme; using Distributions
func = (a, b, α, β, x) -> logpdf(truncated(Beta(α, β), a, b), x)
args = (0.1, 0.9, 1.1, 1.3, 0.4)
Enzyme.gradient(Enzyme.Reverse, Enzyme.Const(func), a…
-
@llfung talked to me today about his work on adjoint-accelerated programmable inference for large PDEs, and what would be needed on Turing's part to support that. As I understand it (and I know very l…
-
This is based on https://github.com/stan-dev/stanc3/issues/1162
The following functions do not fully compile in expression tests when added to stanc. I've attached gists which show the compiler err…
-
Successor to #1845
Enzyme sometimes throws `LoadError: Enzyme compilation failed.` for custom rules, with the ultimate cause seemingly being `Could not analyze garbage collection behavior of ...`. …
-
Following our conversation on Slack with @ExpandingMan, just wanted to ask whether the return tuples would be modified or not.
Let's take a function `y = f(x1, x2, x3)` and run `autodiff` on it.
*…
-
## Description
This issue is part of https://github.com/stan-dev/math/issues/1805.
The goal is to convert every function with custom reverse mode autodiff to accept `var_value` types as argument…
-
# Background
As I've been imagining Phoebe, there would be a `Manifold` trait like this (a bit different from the [current tip of `main`](https://github.com/samestep/phoebe/tree/d51ac53c64b03483148…