Theano-PyMC
Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs.
What it is and what it does
Theano-PyMC is a compiler for symbolic mathematical expressions that translates NumPy-like code into optimized CPU or GPU implementations. It was designed to handle large-scale numerical computations with automatic differentiation, making it useful for machine learning and scientific research. The package generates C code dynamically and includes built-in optimizations for numerical stability.
However, Theano-PyMC is no longer maintained. The project was abandoned, with the latest release on 2021-01-22. While it remains functional for existing code, it will not receive bug fixes, security patches, or compatibility updates for newer Python versions, NumPy releases, or CUDA toolkits. For new projects, actively maintained alternatives are recommended.
Use it for:
- Running legacy scientific computing code that was built on Theano before the project ended
- Educational study of symbolic differentiation and compiler design for numerical computation
- Reproducing published research results that explicitly depend on Theano-PyMC
- GPU-accelerated mathematical expression evaluation in existing production systems with frozen dependencies
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Theano-PyMC is an optimizing compiler for mathematical expressions on multi-dimensional arrays, enabling GPU acceleration and automatic differentiation for numerical computations.
No, unless you are maintaining existing code that already depends on it. The package is abandoned with no updates since 2021-01-22. High installation friction, lack of maintenance, and no security updates make it unsuitable for new development. For new projects, use an actively maintained alternative.
Install
theano-pymc on PyPI
pip
pip install theano-pymcuv
uv add theano-pymcpoetry
poetry add theano-pymcInstalling Theano-PyMC
Before you install
Installation has high friction due to compiled dependencies. The package is abandoned and has not been maintained since 2021, making it unsuitable for new projects or long-term use.
License in practice
BSD permissive license allows commercial and private use with minimal restrictions, though the abandoned status means no ongoing legal or security updates.
Quickstart
pip install Theano-PyMC
import theano
import theano.tensor as T
x = T.dscalar('x')
y = T.exp(x)
f = theano.function([x], y)
Requires NumPy and compiled dependencies; GPU support limited to float32; no active maintenance or compatibility updates for modern Python/CUDA versions.
Verify before relying
- Whether the package remains compatible with current NumPy versions and Python 3.9+
- Current state of GPU support and CUDA compatibility given the 2021-01-22 last release
- Whether the claimed 140x GPU speedup still holds on contemporary hardware
Package facts
| License | BSD (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,030 days since the last release |
| First released | |
| Downloads | 179,435/month — #10,171 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: Theano-PyMC-1.1.2.tar.gz
Keywords: theano, math, numerical, symbolic, blas, numpy, gpu, autodiff, differentiation
Tags
More Mathematics packages
NetworkX provides data structures and…
permissive · top 1,000 on PyPI
kiwisolverkiwisolver is a Python binding to a fast C++…
permissive · top 1,000 on PyPI
sympySymPy is a Python library for symbolic…
permissive · top 1,000 on PyPI
contourpyContourPy calculates contours of 2D…
permissive · top 1,000 on PyPI
torchPyTorch provides GPU-accelerated tensor…
permissive · top 1,000 on PyPI
onnxruntimeonnxruntime loads and executes Open Neural…
permissive · top 1,000 on PyPI
numexprNumExpr evaluates numerical expressions on…
permissive · top 5,000 on PyPI
pytensorPyTensor is a Python library for defining,…
permissive · top 5,000 on PyPI
TheanoTheano is a Python library for defining,…
permissive · top 15,000 on PyPI
casadiCasADi is a framework for algorithmic…
copyleft · top 5,000 on PyPI
nvidia-nvvmProvides the NVVM compiler IR library for…
unclear · top 5,000 on PyPI
nvidia-cusolver-cu11Provides NVIDIA CUDA solver native runtime…
unclear · top 5,000 on PyPI
onemkl-sycl-sparseProvides C and Data Parallel C++ (DPC++)…
unclear · top 15,000 on PyPI
mklIntel oneAPI Math Kernel Library provides…
unclear · top 15,000 on PyPI
onemkl-sycl-blasProvides optimized C and Data Parallel C++…
unclear · top 15,000 on PyPI
symenginePython wrappers for SymEngine, a fast C++…
permissive · top 15,000 on PyPI