Skip to content
@TuringLang

The Turing Language

Bayesian inference with probabilistic programming

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 228

  2. docs docs Public

    Documentation and tutorials for the Turing language

    Markdown 236 104

  3. DynamicPPL.jl DynamicPPL.jl Public

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

    Julia 242 36

  4. JuliaBUGS.jl JuliaBUGS.jl Public

    A domain specific language (DSL) for probabilistic graphical models

    Julia 59 15

  5. AdvancedHMC.jl AdvancedHMC.jl Public

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

    Jupyter Notebook 311 46

  6. Bijectors.jl Bijectors.jl Public

    Implementation of normalising flows and constrained random variable transformations

    Julia 254 39

Repositories

Showing 10 of 29 repositories
  • Libtask.jl Public

    Resumable and copyable functions a.k.a. coroutines for Julia, with optional function-specific globals.

    TuringLang/Libtask.jl’s past year of commit activity
    Julia 20 MIT 10 7 1 Updated Oct 7, 2025
  • AbstractMCMC.jl Public

    Abstract types and interfaces for Markov chain Monte Carlo methods

    TuringLang/AbstractMCMC.jl’s past year of commit activity
    Julia 96 MIT 19 23 0 Updated Oct 7, 2025
  • Turing.jl Public

    Bayesian inference with probabilistic programming.

    TuringLang/Turing.jl’s past year of commit activity
    Julia 2,167 MIT 228 81 7 Updated Oct 7, 2025
  • docs Public

    Documentation and tutorials for the Turing language

    TuringLang/docs’s past year of commit activity
    Markdown 236 MIT 104 47 (2 issues need help) 3 Updated Oct 7, 2025
  • JuliaBUGS.jl Public

    A domain specific language (DSL) for probabilistic graphical models

    TuringLang/JuliaBUGS.jl’s past year of commit activity
    Julia 59 15 24 (3 issues need help) 7 Updated Oct 7, 2025
  • AbstractPPL.jl Public

    Common types and interfaces for probabilistic programming

    TuringLang/AbstractPPL.jl’s past year of commit activity
    Julia 29 MIT 9 7 3 Updated Oct 5, 2025
  • SSMProblems.jl Public

    State space programming

    TuringLang/SSMProblems.jl’s past year of commit activity
    Julia 5 MIT 3 27 6 Updated Oct 5, 2025
  • DynamicPPL.jl Public

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

    TuringLang/DynamicPPL.jl’s past year of commit activity
    Julia 242 MIT 36 80 7 Updated Oct 5, 2025
  • MCMCChains.jl Public

    Types and utility functions for summarizing Markov chain Monte Carlo simulations

    TuringLang/MCMCChains.jl’s past year of commit activity
    Julia 274 30 39 3 Updated Oct 5, 2025
  • AdvancedVI.jl Public

    Implementation of variational Bayes inference algorithms

    TuringLang/AdvancedVI.jl’s past year of commit activity
    Julia 94 MIT 19 4 2 Updated Oct 5, 2025