Skip to content

Commit 115802d

Browse files
committed
Merge branch 'bump_advancedvi_0.5' of github.com:TuringLang/Turing.jl into bump_advancedvi_0.5
2 parents e70ddb4 + 77276bd commit 115802d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

HISTORY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Most of the changes introduced in `[email protected]` are structural, with some
99
The summary of the changes below are the things that affect the end-users of Turing.
1010
For a more comprehensive list of changes, please refer to the [changelogs](https://github.com/TuringLang/AdvancedVI.jl/blob/main/HISTORY.md) in `AdvancedVI`.
1111

12-
A new level of interface for defining different variational algorithms have been introduced in `AdvancedVI` v0.5. As a result, the method `Turing.vi` now receives a keyword argument `algorithm`. The object `algorithm <: AdvancedVI.AbstractVariationalAlgorithm` should now contain all the algorithm-specific configurations. Therefore, keyword arguments of `vi` that were algorithm-specific such as `objective`, `operator`, `averager` and so on, have been moved as fields of the relevant `<: AdvancedVI.AbstractVariationalAlgorithm` structs.
12+
A new level of interface for defining different variational algorithms has been introduced in `AdvancedVI` v0.5. As a result, the function `Turing.vi` now receives a keyword argument `algorithm`. The object `algorithm <: AdvancedVI.AbstractVariationalAlgorithm` should now contain all the algorithm-specific configurations. Therefore, keyword arguments of `vi` that were algorithm-specific such as `objective`, `operator`, `averager` and so on, have been moved as fields of the relevant `<: AdvancedVI.AbstractVariationalAlgorithm` structs.
1313
For example,
1414

1515
```julia
@@ -48,7 +48,7 @@ vi(model, q, n_iters; algorithm=KLMinRepGradProxDescent(adtype; n_samples=10))
4848
Additionally,
4949

5050
- The default hyperparameters of `DoG`and `DoWG` have been altered.
51-
- The depricated `[email protected]`-era interface is now removed.
51+
- The deprecated `[email protected]`-era interface is now removed.
5252

5353
# 0.41.0
5454

@@ -112,7 +112,7 @@ Note that if the initial sample is included, the corresponding sampler statistic
112112
Due to a technical limitation of MCMCChains.jl, this causes all indexing into MCMCChains to return `Union{Float64, Missing}` or similar.
113113
If you want the old behaviour, you can discard the first sample (e.g. using `discard_initial=1`).
114114

115-
# 0.4# 0.40.5
115+
# 0.40.5
116116

117117
Bump Optimization.jl compatibility to include v5.
118118

0 commit comments

Comments
 (0)