You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This helps reduce the maintenance burden of the Turing.jl ecosystem, for example, from DistributionsAD and Bijectors, which have many redundant rules for different autodiff backends.
Initial consultation suggests this might be feasible, so this issue is to continue the discussion.
One can consider using Mooncake to write
ForwardDiff
andReverseDiff
rules. Here is a motivating example: TuringLang/JuliaBUGS.jl#280 (comment).This helps reduce the maintenance burden of the
Turing.jl
ecosystem, for example, fromDistributionsAD
andBijectors
, which have many redundant rules for different autodiff backends.Initial consultation suggests this might be feasible, so this issue is to continue the discussion.
Related:
ForwardDiffChainRules.@ForwardDiff_frule
andReverseDiff.@grad
/ReverseDiff.@grad_from_chainrules
macro.EDIT: We should also add
Mooncake
as a new backend forDI.DifferentiateWith
The text was updated successfully, but these errors were encountered: