#156156th of 242 in ML frameworks and libraries
botorch
Bayesian optimization library built on PyTorch and GPyTorch
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 3.7k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Jun 2026
- Language
- Jupyter Notebook
3,504 on 25 Apr 20263,655 on 14 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
BoTorch is a Python library for composing Bayesian optimization loops from Gaussian process models, acquisition functions and optimizers. It uses PyTorch autodiff and supports Monte Carlo acquisition functions via the reparameterization trick, with GPyTorch models underneath. The README positions it as a low-level API for researchers and recommends Ax for end-users.
Who it is for: Researchers building Bayesian optimization algorithms in PyTorch
Strengths
- Modular primitives: models, acquisition functions and optimizers compose separately
- Monte Carlo acquisition functions via reparameterization, no restrictive model assumptions
- First-class GPyTorch support, including multi-task GPs, deep kernel learning and deep GPs
- Device-agnostic PyTorch code runs on GPUs with autodiff
Weaknesses
- README describes it as beta and under active development
- Aimed at researchers; non-researchers are directed to Ax instead
- Requires Python 3.11+ plus gpytorch, linear_operator and pyro-ppl
- Official Anaconda package stopped after 0.12; conda-forge only
What it needs
- GPU optional
- Needs PyTorch >= 2.0.1, gpytorch >= 1.14, linear_operator >= 0.6, pyro-ppl >= 1.8.4, scipy, multiple-dispatch
- Models: Gaussian processes (GPyTorch), multi-task GPs, deep kernel learning, deep GPs
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in ML frameworks and libraries
See all 242| Rank | Project | Score |
|---|---|---|
| 1 | transformersModel-definition library for pretrained text, vision, audio and multimodal models | 94 out of 100 |
| 2 | ultralyticsPython library and CLI for training and running YOLO vision models | 94 out of 100 |
| 3 | pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts | 94 out of 100 |
| #4 | pytorchPython tensor library with GPU support and tape-based autograd | 93 out of 100 |
| #5 | supervisionPython toolkit for loading, annotating and counting computer vision detections | 92 out of 100 |