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
* `getADBackend`s are renamed to `getADType` and moved to `Inference` module as well as `LogDensityProblemsAD.ADgradient(ℓ::LogDensityFunction)`
* The ` LogDensityProblemsAD.ADgradient(adtype, ℓ)` specific to RD and FD are moved to DynamicPPL
* The idea is that with DynamicPPL, call to `ADgradient` must also gives the `adtype`, in Turing, we just use the `adtype` from the algorithm
---------
Co-authored-by: Hong Ge <[email protected]>
Copy file name to clipboardExpand all lines: HISTORY.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,10 @@
1
+
# Release 0.30.5
2
+
3
+
-`essential/ad.jl` is removed, `ForwardDiff` and `ReverseDiff` integrations via `LogDensityProblemsAD` are moved to `DynamicPPL` and live in corresponding package extensions.
4
+
-`LogDensityProblemsAD.ADgradient(ℓ::DynamicPPL.LogDensityFunction)` (i.e. the single argument method) is moved to `Inference` module. It will create `ADgradient` using the `adtype` information stored in `context` field of `ℓ`.
5
+
-`getADbackend` function is renamed to `getADType`, the interface is preserved, but packages that previously used `getADbackend` should be updated to use `getADType`.
6
+
-`TuringTag` for ForwardDiff is also removed, now `DynamicPPLTag` is defined in `DynamicPPL` package and should serve the same [purpose](https://www.stochasticlifestyle.com/improved-forwarddiff-jl-stacktraces-with-package-tags/).
7
+
1
8
# Release 0.30.0
2
9
3
10
-[`ADTypes.jl`](https://github.com/SciML/ADTypes.jl) replaced Turing's global AD backend. Users should now specify the desired `ADType` directly in sampler constructors, e.g., `HMC(0.1, 10; adtype=AutoForwardDiff(; chunksize))`, or `HMC(0.1, 10; adtype=AutoReverseDiff(false))` (`false` indicates not to use compiled tape).
0 commit comments