pyro-ppl/pyro

Deep universal probabilistic programming with Python and PyTorch

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 20 minutes ago
Added to GitGenius on September 7th, 2026
Created on June 16th, 2017
Open Issues & Pull Requests: 286 (+0)
GitHub issues: Enabled
Number of forks: 1,019
Total Stargazers: 9,046 (+0)
Total Subscribers: 199 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Pyro is a deep probabilistic programming library built on PyTorch that enables flexible Bayesian inference and probabilistic modeling in Python.

Pyro addresses the challenge of performing scalable probabilistic inference on complex models by providing a universal probabilistic programming framework. It represents any computable probability distribution and scales to large datasets with minimal overhead compared to hand-written implementations. The library achieves this through a small core of composable abstractions that support both generative modeling and inference, allowing users to express probabilistic models declaratively while retaining fine-grained control over inference algorithms when needed.

Pyro suits practitioners building Bayesian models who want automation for standard inference tasks but also need the flexibility to customize inference strategies for specialized problems. It is particularly valuable for those already working in the PyTorch ecosystem, as it integrates directly with PyTorch's computational graph and GPU acceleration. The library works well for applications ranging from small exploratory models to production systems handling large datasets. Developers should choose Pyro if they need a universal PPL that can represent arbitrary probability distributions rather than being limited to specific model classes.

The project maintains active development with contributions from community members and a dedicated team at an established research institution. The codebase emphasizes maintainability through its minimal, composable design rather than feature accumulation. Development prioritizes both accessibility for users new to probabilistic programming and depth of capability for experts who need to extend or customize inference procedures.