Turing: Probabilistic programming in Julia.



Build Status Build Status Coverage Status Turing Gitter Wiki Status

Turing.jl is a Julia library for (universal) probabilistic programming. Current features include:

  • Universal probabilistic programming with an intuitive modelling interface
  • Hamiltonian Monte Carlo (HMC) sampling for differentiable posterior distributions
  • Particle MCMC sampling for complex posterior distributions involving discrete variables and stochastic control flows
  • Gibbs sampling that combines particle MCMC and HMC


Please visit Turing.jl wiki for documentation, tutorials (e.g. Get started) and other topics (e.g. Advanced usages).


Turing is an open source project so if you feel you have some relevant skills and are interested in contributing then please do get in touch. You can contribute by opening issues on Github or implementing things yourself and making a pull request. We would also appreciate example models written using Turing.


Turing was originally created and is now managed by Hong Ge. Current and past Turing team members include Hong Ge, Adam Scibior, Matej Balog, Zoubin Ghahramani, Kai Xu, Emma Smith. You can see the full list of on Github: https://github.com/yebai/Turing.jl/graphs/contributors. Thanks for the important additions, fixes and comments.

Citing Turing.jl

To cite Turing, please refer to the technical report. Sample BibTeX entry is given below:

    author = {Ge, Hong and Xu, Kai and Scibior, Adam and Ghahramani, Zoubin and others},
    title = "{The Turing language for artificial intelligence.}",
    year = 2016,
    month = jun

First Commit


Last Touched

1 day ago


1860 commits

Used By: