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
* Bump minor version to v0.37
* Remove selector/space stuff (#2458)
* Remove selector stuff from ESS
* Remove selector stuff from MH
* Remove selector stuff from HMC
* Remove selector stuff from Emcee
* Remove selector stuff from IS
* Add missing getspace methods
* Remove selector stuff for particle methods
* Fix an HMC selector bug
* Code style
* Fix Emcee selector bug
* Fix typo in ESS tests
* Fix some constructor overwrites
* Remove unnecessary tests
* Remove selector stuff from SGHMC
* Remove drop_space and other non-longer-necessary deprecation measures
* Bump minor version 0.37. Add a HISTORY.md entry
* Apply suggestions from code review
Co-authored-by: Penelope Yong <[email protected]>
* Remove unnecessary type parameters
Co-authored-by: Penelope Yong <[email protected]>
* Simplify constructors in particle_mcmc.jl
* Remove calls to setgid and updategid
---------
Co-authored-by: Penelope Yong <[email protected]>
* Bump Mooncake compat to 0.4.95
* Support for DynamicPPL v0.35 (#2488)
* Progress towards compat with DPPL v0.35
* More fixing of DPPL v0.35 stuff
* Fix LogDensityFunction argument order
* More minor bugfixes
* [TEMP] Commit Manifest pointing to DynamicPPL#release-0.35
* remove LogDensityProblemsAD (#2490)
* Remove LogDensityProblemsAD, part 1
* update Optimisation code to not use LogDensityProblemsAD
* Fix field name change
* Don't put chunksize=0
* Remove LogDensityProblemsAD dep
* Improve OptimLogDensity docstring
* Remove unneeded model argument to _optimize
* Fix more tests
* Remove essential/ad from the list of CI groups
* Fix HMC function
* more test fixes (#2491)
* Remove LogDensityProblemsAD, part 1
* update Optimisation code to not use LogDensityProblemsAD
* Fix field name change
* Don't put chunksize=0
* Remove LogDensityProblemsAD dep
* Improve OptimLogDensity docstring
* Remove unneeded model argument to _optimize
* Fix more tests
* Remove essential/ad from the list of CI groups
* Fix HMC function
* More test fixes
* Remove Manifest
* More fixes for DynamicPPL 0.35 (#2494)
* Remove test/dynamicppl/compiler.jl
* Remove old regression tests
* Remove vdemo2
* Fix last test
* Add HISTORY.md entry about DPPL 0.35
* Allow ESS to sample variables with different symbols
* Update a TODO note
---------
Co-authored-by: Penelope Yong <[email protected]>
* Fix call to DynamicPPL.initialize_parameters!!
* Remove `Zygote` (#2505)
* Remove `Zygote`; fix#2504
* Update test/test_utils/ad_utils.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Add HISTORY.md entry about removing support for Zygote
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Markus Hauru <[email protected]>
Co-authored-by: Penelope Yong <[email protected]>
Co-authored-by: Markus Hauru <[email protected]>
* Fix a Gibbs test
* Clean up exports (#2474)
* Regroup exports by package
* Export DynamicPPL.returned and DynamicPPL.prefix
* Stop exporting @logprob_str and @prob_str
* Remove DynamicPPL module export
* Remove DynamicPPL.LogDensityFunction re-export
* Remove BernoulliLogit, drop support for Distributions < 0.25.77
* Stop blanket re-exporting Libtask and Bijectors
* Manually specify AbstractMCMC exports
* Format
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Remove Bijectors.ordered export
* Re-export LinearAlgebra.I
* Replace Turing.Model -> DynamicPPL.Model
* Format
* Keep exporting LogDensityFunction
* Add note in docs
* Align Turing exports with docs API page
* Fix things like `predict` on docs API page
* Fix a Gibbs test
* Format
* Fix missing Bijectors import
* Update docs/src/api.md
Co-authored-by: Markus Hauru <[email protected]>
* Update docs/src/api.md
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Clean up broken docs links, remove unneeded deps
* Format
* Add changelog entry for exports
* Clean up exports in essential/Essential
* Apply suggestions from code review
Co-authored-by: Markus Hauru <[email protected]>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Markus Hauru <[email protected]>
Co-authored-by: Markus Hauru <[email protected]>
---------
Co-authored-by: Penelope Yong <[email protected]>
Co-authored-by: Hong Ge <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: HISTORY.md
+41
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,44 @@
1
+
# Release 0.37.0
2
+
3
+
## Breaking changes
4
+
5
+
### Gibbs constructors
6
+
7
+
0.37 removes the old Gibbs constructors deprecated in 0.36.
8
+
9
+
### Remove Zygote support
10
+
11
+
Zygote is no longer officially supported as an automatic differentiation backend, and `AutoZygote` is no longer exported. You can continue to use Zygote by importing `AutoZygote` from ADTypes and it may well continue to work, but it is no longer tested and no effort will be expended to fix it if something breaks.
12
+
13
+
[Mooncake](https://github.com/compintell/Mooncake.jl/) is the recommended replacement for Zygote.
14
+
15
+
### DynamicPPL 0.35
16
+
17
+
Turing.jl v0.37 uses DynamicPPL v0.35, which brings with it several breaking changes:
18
+
19
+
- The right hand side of `.~` must from now on be a univariate distribution.
20
+
- Indexing `VarInfo` objects by samplers has been removed completely.
21
+
- The order in which nested submodel prefixes are applied has been reversed.
22
+
- The arguments for the constructor of `LogDensityFunction` have changed. `LogDensityFunction` also now satisfies the `LogDensityProblems` interface, without needing a wrapper object.
23
+
24
+
For more details about all of the above, see the changelog of DynamicPPL [here](https://github.com/TuringLang/DynamicPPL.jl/releases/tag/v0.35.0).
25
+
26
+
### Export list
27
+
28
+
Turing.jl's export list has been cleaned up a fair bit. This affects what is imported into your namespace when you do an unqualified `using Turing`. You may need to import things more explicitly than before.
29
+
30
+
- The `DynamicPPL` and `AbstractMCMC` modules are no longer exported. You will need to `import DynamicPPL` or `using DynamicPPL: DynamicPPL` (likewise `AbstractMCMC`) yourself, which in turn means that they have to be made available in your project environment.
31
+
32
+
-`@logprob_str` and `@prob_str` have been removed following a long deprecation period.
33
+
- We no longer re-export everything from `Bijectors` and `Libtask`. To get around this, add `using Bijectors` or `using Libtask` at the top of your script (but we recommend using more selective imports).
34
+
35
+
+ We no longer export `Bijectors.ordered`. If you were using `ordered`, even Bijectors does not (currently) export this. You will have to manually import it with `using Bijectors: ordered`.
36
+
37
+
On the other hand, we have added a few more exports:
38
+
39
+
-`DynamicPPL.returned` and `DynamicPPL.prefix` are exported (for use with submodels).
|`@model`|[`DynamicPPL.@model`](@extref)| Define a probabilistic model |
41
+
|`@varname`|[`AbstractPPL.@varname`](@extref)| Generate a `VarName` from a Julia expression |
42
+
|`to_submodel`|[`DynamicPPL.to_submodel`](@extref)| Define a submodel |
43
+
|`prefix`|[`DynamicPPL.prefix`](@extref)| Prefix all variable names in a model with a given symbol |
44
+
|`LogDensityFunction`|[`DynamicPPL.LogDensityFunction`](@extref)| A struct containing all information about how to evaluate a model. Mostly for advanced users |
|`predict`|[`StatsAPI.predict`](https://turinglang.org/DynamicPPL.jl/stable/api/#Predicting)| Generate samples from posterior predictive distribution |
132
129
133
130
### Querying model probabilities and quantities
134
131
135
132
Please see the [generated quantities](https://turinglang.org/docs/tutorials/usage-generated-quantities/) and [probability interface](https://turinglang.org/docs/tutorials/usage-probability-interface/) guides for more information.
|`generated_quantities`|[`DynamicPPL.generated_quantities`](@extref)| Calculate additional quantities defined in a model |
140
-
|`pointwise_loglikelihoods`|[`DynamicPPL.pointwise_loglikelihoods`](@extref)| Compute log likelihoods for each sample in a chain |
141
-
|`logprior`|[`DynamicPPL.logprior`](@extref)| Compute log prior probability |
142
-
|`logjoint`|[`DynamicPPL.logjoint`](@extref)| Compute log joint probability |
143
-
|`LogDensityFunction`|[`DynamicPPL.LogDensityFunction`](@extref)| Wrap a Turing model to satisfy LogDensityFunctions.jl interface |
144
-
|`condition`|[`AbstractPPL.condition`](@extref)| Condition a model on data |
145
-
|`decondition`|[`AbstractPPL.decondition`](@extref)| Remove conditioning on data |
146
-
|`conditioned`|[`DynamicPPL.conditioned`](@extref)| Return the conditioned values of a model |
147
-
|`fix`|[`DynamicPPL.fix`](@extref)| Fix the value of a variable |
148
-
|`unfix`|[`DynamicPPL.unfix`](@extref)| Unfix the value of a variable |
149
-
|`OrderedDict`|[`OrderedCollections.OrderedDict`](https://juliacollections.github.io/OrderedCollections.jl/dev/ordered_containers/#OrderedDicts)| An ordered dictionary |
150
-
151
-
### Extra re-exports from Bijectors
152
-
153
-
Note that Bijectors itself does not export `ordered`.
|`returned`|[`DynamicPPL.returned`](https://turinglang.org/DynamicPPL.jl/stable/api/#DynamicPPL.returned-Tuple%7BModel,%20NamedTuple%7D)| Calculate additional quantities defined in a model |
137
+
|`pointwise_loglikelihoods`|[`DynamicPPL.pointwise_loglikelihoods`](@extref)| Compute log likelihoods for each sample in a chain |
138
+
|`logprior`|[`DynamicPPL.logprior`](@extref)| Compute log prior probability |
139
+
|`logjoint`|[`DynamicPPL.logjoint`](@extref)| Compute log joint probability |
140
+
|`condition`|[`AbstractPPL.condition`](@extref)| Condition a model on data |
141
+
|`decondition`|[`AbstractPPL.decondition`](@extref)| Remove conditioning on data |
142
+
|`conditioned`|[`DynamicPPL.conditioned`](@extref)| Return the conditioned values of a model |
143
+
|`fix`|[`DynamicPPL.fix`](@extref)| Fix the value of a variable |
144
+
|`unfix`|[`DynamicPPL.unfix`](@extref)| Unfix the value of a variable |
145
+
|`OrderedDict`|[`OrderedCollections.OrderedDict`](@extref)| An ordered dictionary |
0 commit comments