Theano's Forked Future: PyMC's Continued Use

Though MILA ceased active development, Theano's influence persists through forks like Aesara and PyTensor, maintained by the PyMC development team to provide foundational computational graph capabilities for probabilistic programming libraries. [2, 6]

The top 3

  1. PyMC's Theano Fork: Essential for Bayesian Inference: PyMC initially adopted Theano for its core capabilities in efficient symbolic differentiation and static computational graphs, which are crucial for implementing gradient-based Markov Chain Monte Carlo (MCMC) algorithms like NUTS, fundamental to advanced Bayesian modeling.
  2. From Theano to PyTensor: A Fork's Evolution: After Theano's discontinuation in 2017, PyMC first maintained the project as "Theano-PyMC," then it was forked into "Aesara" in 2020 for more general tensor computations, and eventually into "PyTensor" (announced November 2022) to serve as a dedicated computational backend specifically optimized for PyMC's probabilistic programming needs.
  3. PyTensor's Performance Edge: Graph Optimizations & Multi-Backend: PyTensor, as the successor to Theano for PyMC, retains and enhances critical features such as powerful graph-to-graph transformations for tasks like automatic probability derivation, numerical stability optimizations (e.g., `log1p(x)` rewrite), and dynamic compilation to diverse backends including C, JAX, and Numba for accelerated computation on CPUs and GPUs.

Sources

Open the full topic