v0.38.10
DynamicPPL v0.38.10
returned(model, chain) and pointwise_logdensities(model, chain) will now error if a value for a random variable cannot be found in the chain.
(Previously, they would instead resample such variables, which could lead to silent mistakes.)
If you encounter this error and it is accompanied by a warning about hasvalue not being implemented, you should be able to fix this by using FlexiChains instead of MCMCChains.
(Alternatively, implementations of hasvalue for unsupported distributions are more than welcome; these must be provided in the Distributions extension of AbstractPPL.jl.)
Merged pull requests:
- Fast InitContext (#1125) (@penelopeysm)
- Allow generation of
ParamsWithStatsfromFastLDFplus parameters, and alsobundle_samples(#1129) (@penelopeysm) - Implement
predict,returned,logjoint, ... withOnlyAccsVarInfo(#1130) (@penelopeysm) - FastLDF / InitContext unified (#1132) (@penelopeysm)
- Remove
NodeTrait(#1133) (@penelopeysm) - Re-enable Mooncake in tests (#1135) (@penelopeysm)
- CompatHelper: add new compat entry for Mooncake at version 0.4 for package test, (keep existing compat) (#1136) (@github-actions[bot])
- Make FastLDF the default (#1139) (@penelopeysm)
- Improve FastLDF type stability when all parameters are linked or unlinked (#1141) (@penelopeysm)
- Comparative benchmarks (#1143) (@penelopeysm)
- Improvements to benchmark outputs (#1146) (@penelopeysm)
- Make threadsafe evaluation opt-in (#1151) (@penelopeysm)
- disable fallback for returned and pointwise_logdensities (#1159) (@penelopeysm)
- Bump actions/checkout from 5 to 6 (#1160) (@dependabot[bot])
Closed issues:
- Depreciate
VarInfoin favour ofSimpleVarInfo(#416) - Remove
NodeTrait(#1052) - Implement
ParamsWithStats(::FastLDF, ::AbstractVector{<:Real})(#1119) - Path to FastLDF (#1120)
- Implement allocation tests for FastLDF (#1126)
- Model functions look different inside testsets (#1127)
LogDensityFunctionwith dimension unpreserving transformations (#1149)