Skip to content
@TuringLang

The Turing Language

Bayesian inference with probabilistic programming

Turing.jl logo

Turing.jl is a general-purpose probabilistic programming language. Turing is implemented in the Julia language and allows the user to write probabilistic models using an intuitive @model syntax.

Turing provides a wide range of Monte-Carlo sampling and optimisation-based inference methods for performing inference on probabilistic models.

Current functionalities include:

Citing Turing.jl

If you have used Turing.jl in your work, we would be very grateful if you could cite the following:

Turing.jl: a general-purpose probabilistic programming language
Tor Erlend Fjelde, Kai Xu, David Widmann, Mohamed Tarek, Cameron Pfiffer, Martin Trapp, Seth D. Axen, Xianda Sun, Markus Hauru, Penelope Yong, Will Tebbutt, Zoubin Ghahramani, Hong Ge
ACM Transactions on Probabilistic Machine Learning, 2025

Turing: A Language for Flexible Probabilistic Inference
Hong Ge, Kai Xu, Zoubin Ghahramani
Proceedings of the Twenty-First International Conference on Artificial Intelligence and Statistics, PMLR 84:1682-1690, 2018.

Expand for BibTeX
@article{10.1145/3711897,
author = {Fjelde, Tor Erlend and Xu, Kai and Widmann, David and Tarek, Mohamed and Pfiffer, Cameron and Trapp, Martin and Axen, Seth D. and Sun, Xianda and Hauru, Markus and Yong, Penelope and Tebbutt, Will and Ghahramani, Zoubin and Ge, Hong},
title = {Turing.jl: a general-purpose probabilistic programming language},
year = {2025},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3711897},
doi = {10.1145/3711897},
note = {Just Accepted},
journal = {ACM Trans. Probab. Mach. Learn.},
month = feb,
}

@InProceedings{pmlr-v84-ge18b,
  title = 	 {Turing: A Language for Flexible Probabilistic Inference},
  author = 	 {Ge, Hong and Xu, Kai and Ghahramani, Zoubin},
  booktitle = 	 {Proceedings of the Twenty-First International Conference on Artificial Intelligence and Statistics},
  pages = 	 {1682--1690},
  year = 	 {2018},
  editor = 	 {Storkey, Amos and Perez-Cruz, Fernando},
  volume = 	 {84},
  series = 	 {Proceedings of Machine Learning Research},
  month = 	 {09--11 Apr},
  publisher =    {PMLR},
  pdf = 	 {http://proceedings.mlr.press/v84/ge18b/ge18b.pdf},
  url = 	 {https://proceedings.mlr.press/v84/ge18b.html},
}

Pinned Loading

  1. Turing.jl Turing.jl Public

    Bayesian inference with probabilistic programming.

    Julia 2.2k 231

  2. docs docs Public

    Documentation and tutorials for the Turing language

    Markdown 237 104

  3. DynamicPPL.jl DynamicPPL.jl Public

    Implementation of domain-specific language (DSL) for dynamic probabilistic programming

    Julia 249 37

  4. JuliaBUGS.jl JuliaBUGS.jl Public

    A domain specific language (DSL) for probabilistic graphical models

    Julia 62 15

  5. AdvancedHMC.jl AdvancedHMC.jl Public

    Robust, modular and efficient implementation of advanced Hamiltonian Monte Carlo algorithms

    Jupyter Notebook 320 48

  6. Bijectors.jl Bijectors.jl Public

    Implementation of normalising flows and constrained random variable transformations

    Julia 256 41

Repositories

Showing 10 of 30 repositories
  • Turing-Workshop Public

    Materials used by previous Turing related workshop events

    TuringLang/Turing-Workshop’s past year of commit activity
    Jupyter Notebook 18 CC-BY-SA-4.0 3 0 0 Updated Dec 8, 2025
  • SSMProblems.jl Public

    State space programming

    TuringLang/SSMProblems.jl’s past year of commit activity
    Julia 7 MIT 4 25 3 Updated Dec 8, 2025
  • JuliaBUGS.jl Public

    A domain specific language (DSL) for probabilistic graphical models

    TuringLang/JuliaBUGS.jl’s past year of commit activity
    Julia 62 15 13 (2 issues need help) 2 Updated Dec 8, 2025
  • SliceSampling.jl Public

    Slice sampling algorithms in Julia

    TuringLang/SliceSampling.jl’s past year of commit activity
    Julia 12 MIT 3 1 0 Updated Dec 8, 2025
  • ADTests Public

    AD x Turing.jl status

    TuringLang/ADTests’s past year of commit activity
    Julia 3 2 10 1 Updated Dec 7, 2025
  • MCMCDiagnosticTools.jl Public

    Functionality for diagnosing samples generated using Markov Chain Monte Carlo.

    TuringLang/MCMCDiagnosticTools.jl’s past year of commit activity
    Julia 20 7 6 1 Updated Dec 7, 2025
  • AdvancedHMC.jl Public

    Robust, modular and efficient implementation of advanced Hamiltonian Monte Carlo algorithms

    TuringLang/AdvancedHMC.jl’s past year of commit activity
    Jupyter Notebook 320 MIT 48 44 11 Updated Dec 7, 2025
  • TuringGLM.jl Public

    Bayesian Generalized Linear models using `@formula` syntax.

    TuringLang/TuringGLM.jl’s past year of commit activity
    Julia 75 MIT 8 13 3 Updated Dec 7, 2025
  • Bijectors.jl Public

    Implementation of normalising flows and constrained random variable transformations

    TuringLang/Bijectors.jl’s past year of commit activity
    Julia 256 MIT 41 43 (2 issues need help) 3 Updated Dec 7, 2025
  • ParetoSmooth.jl Public

    An implementation of PSIS algorithms in Julia.

    TuringLang/ParetoSmooth.jl’s past year of commit activity
    Julia 24 MIT 15 14 8 Updated Dec 7, 2025