meta-pytorch/botorch

Bayesian optimization in PyTorch

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 52 minutes ago
Added to GitGenius on September 19th, 2026
Created on July 30th, 2018
Open Issues & Pull Requests: 93 (+0)
GitHub issues: Enabled
Number of forks: 495
Total Stargazers: 3,599 (+0)
Total Subscribers: 47 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.4 hours
Mean response time: 12.4 days
90th percentile: 3.0 days
Tracked items: 136

Most active contributors

Sign in to see contributor activity.

How this project is maintained

88% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 62% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 24
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 430 days
Stale 30+ days: 23
Stale 90+ days: 18

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (83)
  • enhancement (36)
  • good first issue (3)
  • question (3)
  • documentation (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

BoTorch is a library for Bayesian optimization built on PyTorch. It provides a modular and extensible interface for composing Bayesian optimization primitives including probabilistic models, acquisition functions, and optimizers. The library harnesses PyTorch's auto-differentiation, GPU support through device-agnostic code, and dynamic computation graphs. It implements Monte Carlo-based acquisition functions via the reparameterization trick, enabling straightforward implementation of new ideas without restrictive modeling assumptions. The tool integrates seamlessly with deep and convolutional architectures in PyTorch and offers first-class support for state-of-the-art probabilistic models from GPyTorch, including multi-task Gaussian Processes, deep kernel learning, deep GPs, and approximate inference.

BoTorch targets researchers and sophisticated practitioners actively working on Bayesian optimization and AI. The README explicitly recommends it as a low-level API for implementing new algorithms, with the higher-level Ax platform recommended for end-users not conducting research on Bayesian optimization itself. The modular design allows researchers to experiment with novel acquisition functions and model compositions without being constrained by the assumptions of existing frameworks.

The project maintains active development with multiple installation pathways reflecting its beta status. Users can install the latest release via pip, install directly from the main branch for bleeding-edge features, or set up an editable development installation for contributing. The tool requires Python 3.11 or later, PyTorch 2.0.1 or later, and dependencies including GPyTorch, linear_operator, Pyro, and scipy. The project stopped publishing official Anaconda packages to the PyTorch channel but remains available through conda-forge.