Turing.jl Newsletter 17

Newsletter
The fortnightly newsletter for the Turing.jl probabilistic programming language
Author
Published

January 23, 2026

VarNamedTuple

We have been working on a really complete overhaul of the internal VarInfo data structure (several thousand lines of code changes). Pretty much the entire thing has been rewritten from scratch. There are still a number of kinks to iron out, but CI is passing, so there is nothing really fundamental blocking it, just more test coverage and handling of edge cases, and checking that it doesn’t break anything in Turing.

What you’ll get out of it:

If you’re interested in a behind-the-scenes look at why and how we did this, there are some docs here (still in progress, but a lot of the basics are covered)! The performance aspects will mostly affect non-HMC/NUTS samplers (since Turing@0.42 / DynamicPPL@0.39, HMC and NUTS almost completely don’t use VarInfo anymore), although the correctness aspects will apply to every Turing model.

Back to top