Published September 8, 2025 | Version v0.40.3
Software Open

TuringLang/Turing.jl: v0.40.3

  • 1. University of Cambridge
  • 2. @letta-ai
  • 3. @PumasAI
  • 4. Aalto University
  • 5. @TuringLang
  • 6. University of British Columbia
  • 7. None
  • 8. University of Glasgow
  • 9. UCL
  • 10. @nestauk @dssg @turinglang @knowlab @BHFDSC
  • 11. University of Trento
  • 12. Fowler College of Business, SDSU
  • 13. University of Pennsylvania
  • 14. Google
  • 15. Beacon Biosignals
  • 16. Universidad Autonoma de Madrid

Description

Turing v0.40.3

Diff since v0.40.2

This patch makes the resume_from keyword argument work correctly when sampling multiple chains.

In the process this also fixes a method ambiguity caused by a bugfix in DynamicPPL 0.37.2.

This patch means that if you are using RepeatSampler() to sample from a model, and you want to obtain MCMCChains.Chains from it, you need to specify sample(...; chain_type=MCMCChains.Chains). This only applies if the sampler itself is a RepeatSampler; it doesn't apply if you are using RepeatSampler within another sampler like Gibbs.

Merged pull requests:

  • Fix typos in comments and variable names (#2665) (@Copilot)
  • Fix multiple-chain method ambiguity (#2670) (@penelopeysm)

Closed issues:

  • DynamicPPL documentation is incorrect (#2661)
  • Poisson with Dirichlet prior samples negative values (#2663)
  • RepeatSampler doesn't use MCMCChains.Chains (#2669)

Files

TuringLang/Turing.jl-v0.40.3.zip

Files (141.2 kB)

Name Size Download all
md5:97fb3fddc1f344005821fd08f8093f33
141.2 kB Preview Download

Additional details

Related works