Releases: TuringLang/DynamicPPL.jl
v0.36.11
DynamicPPL v0.36.11
Make ThreadSafeVarInfo
hold a total of Threads.nthreads() * 2
logp values, instead of just Threads.nthreads()
.
This fix helps to paper over the cracks in using threadid()
to index into the ThreadSafeVarInfo
object.
v0.36.10
v0.36.9
DynamicPPL v0.36.9
Fixed a failure when sampling from ProductNamedTupleDistribution
due to missing tovec
methods for NamedTuple
and Tuple
.
v0.36.8
DynamicPPL v0.36.8
Made LogDensityFunction
a subtype of AbstractMCMC.AbstractModel
.
Merged pull requests:
- Make LDF <: AbstractModel (#937) (@penelopeysm)
v0.36.7
v0.36.6
DynamicPPL v0.36.6
DynamicPPL.TestUtils.run_ad
now takes an extra context
keyword argument, which is passed to the LogDensityFunction
constructor.
Merged pull requests:
- Allow specifying context in AD testing (#935) (@penelopeysm)
Closed issues:
- Autogenerating Turing Models from simple structs (#929)
v0.36.5
DynamicPPL v0.36.5
varinfo[:]
now returns an empty vector if varinfo::DynamicPPL.NTVarInfo
is empty, rather than erroring.
In its place, check_model
now issues a warning if the model is empty.
Merged pull requests:
- CompatHelper: add new compat entry for Documenter at version 1 for package test, (keep existing compat) (#927) (@github-actions[bot])
v0.36.4
DynamicPPL v0.36.4
Added compatibility with DifferentiationInterface.jl 0.7, and also with JET.jl 0.10.
The JET compatibility entry should only affect you if you are using DynamicPPL on the Julia 1.12 pre-release.
Merged pull requests:
- Bump DifferentiationInterface to 0.7 (#922) (@penelopeysm)
- Seed RNG inside model_dimension() (#923) (@penelopeysm)
Closed issues:
- Benchmarks fails indeterministically (#905)
v0.36.3
DynamicPPL v0.36.3
Moved the bijector(model)
, where model
is a DynamicPPL.Model
, function from the Turing main repo.
v0.36.2
DynamicPPL v0.36.2
Improved docstrings for AD testing utilities.
Merged pull requests:
- Accumulators, stage 1 (#885) (@mhauru)
- Replace PriorExtractorContext with PriorDistributionAccumulator (#907) (@mhauru)
- Implement values_as_in_model using an accumulator (#908) (@mhauru)
- DocsGHA: Grant write permission to pull-requests event (#911) (@shravanngoswamii)
- Add fields to docstring for AD test utils (#914) (@penelopeysm)
- Update changelog too (#915) (@penelopeysm)