Skip to main content

CI codecov License: MIT Python

A benchmark suite for Bayesian optimization of expensive LLM tasks. Each problem is backed by a pretrained neural-network surrogate or tabular data from real LLM experiments, so evaluations are fast and reproducible without running real LLM training.

Documentation

Full documentation is available at bolt-bench.readthedocs.io.

Installation

pip install bolt-bench

Use 0.1.1 or later. From 0.1.1, each release pins a specific emulator revision. Earlier versions load emulator weights from the HuggingFace main branch, so their results shift whenever new weights are published.

bolt emulator revision
≤ 0.1.0 tracks main (unpinned)
0.1.1 v0.1.0

Quick Start

import torch
from bolt import HPO

# 7-dim HPO problem: returns a scalar surrogate of eval score
prob = HPO(noise_std=0.001, negate=False)

X = torch.Tensor([[0, 2, 2, 2, 0.5, 30, 2]])  # one candidate configuration
y = prob(X)  # shape: (1,)

Problems

Problem Class Dims Notes
HPO HPO 7 mixed params (continuous, discrete, categorical)
HPO multi-fidelity (token) HPOMultiFidelityToken 8 mixed params (continuous, discrete, categorical), fidelity: continuous ∈ [0, 1] (training tokens)
HPO multi-fidelity (model) HPOMultiFidelityModel 8 mixed params (continuous, discrete, categorical), fidelity: discrete ∈ {0, 1} (model size)
Data mixture DMCurriculum 6 two simplex constraints
Data mixture MO DMCurriculumMO 6 two simplex constraints, multi-objective (3)
Data mixture with heteroscedastic noise DMCurriculumHet 6 two simplex constraints, heteroscedastic noise
Prompt optimization (128-dim) PO128 128 discrete candidate set
Prompt optimization (256-dim) PO256 256 discrete candidate set
Prompt optimization (512-dim) PO512 512 discrete candidate set
Prompt optimization (768-dim) PO768 768 discrete candidate set

Metadata

Release files for bolt-bench 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bolt-bench 0.1.1
File Size Uploaded Provenance Actions
bolt_bench-0.1.1.tar.gz 96.0 kB With provenance Details for bolt_bench-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bolt-bench 0.1.1
File Interpreter ABI Platform Actions
bolt_bench-0.1.1-py3-none-any.whl Python 3 none any Details for bolt_bench-0.1.1-py3-none-any.whl

Total release size: 116.4 kB

Release files / bolt_bench-0.1.1.tar.gz

Download URL bolt_bench-0.1.1.tar.gz
Size 96.0 kB
Tags Source
SHA-256 checksum
How to use checksums
948c6c17739f7c793389e5ee464a5494b9b454ca22fa6849575494380d0d3374
BLAKE2b-256 checksum
How to use checksums
25b8593e6d77f2bf6b96bd793ac5c3073ea8bd77da11636e1c983c28c68b8a38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / bolt_bench-0.1.1-py3-none-any.whl

Download URL bolt_bench-0.1.1-py3-none-any.whl
Size 20.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
989c90c115b193424e53d2fe6bf2a28da6d2c82586427de9300d60ec0dfbdb3f
BLAKE2b-256 checksum
How to use checksums
507919644de5d2a0ee6cde2792b036a85f317e2d74800538a24b48680a1ce278
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Security for bolt-bench 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bolt_bench-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page