What is Uplifting Biomolecular Modeling?
Uplifting Biomolecular Modeling is a collection of 36 inference optimization kits for open-source biology models, published by Anthropic under the Apache-2.0 licence. It sits in the Protein & Molecular Structure category of the Science & Biomedical AI tools and is open-source, written in Python and licensed Apache-2.0 (kit code; each stock/ upstream keeps its own licence).
Overview
Uplifting Biomolecular Modeling is a collection of 36 inference optimization kits for open-source biology models, published by Anthropic under the Apache-2.0 licence. Each kit targets one upstream project — cofolding and structure prediction, binder design and hallucination, inverse folding, protein language models, or genomics — and adds drop-in speedups you switch on with a mode flag. The optimizations were written by Claude in just under four weeks, supervised by two Anthropic staff with biomolecular expertise and no prior optimization background.
A kit is laid out so you can always check its work. The pinned upstream release sits in a stock/ directory, the kit's own code sits in opt/, and CHANGES.md records what each mode alters. Per-GPU settings live in configs/ as cards you select on the command line, and every kit exposes the same run.sh entry point with install, check and run steps. Environments are pinned: each kit ships a Dockerfile, an Apptainer definition for HPC clusters, and a requirements.lock for a plain Python virtual environment.
The modes are the main interface. off is the unmodified upstream release; exact produces identical outputs about 1.6x faster; fast accepts small numeric differences that stay within normal seed-to-seed variation for roughly 4x; and big minimises peak GPU memory for inputs the other modes cannot hold, splitting one prediction across several GPUs on a host with --n_gpu. Shared CUDA kernels in common/opt_core — FlashPairformer plus triangle-attention and triangle-multiplication kernels — provide most of the gain for the structure-prediction kits.
The repository states that it is not maintained and is a reference release accompanying Anthropic's research post, and it does not accept pull requests. Because each kit pins a specific upstream version, a newer release of an underlying project will not be picked up automatically. Treat the kits as a snapshot to run or to copy optimizations from, rather than a dependency to track.
What it does
- 36 kits spanning cofolding, structure prediction, binder design, inverse folding, protein language models and genomics
- Four modes per kit: off, exact (identical outputs, ~1.6x), fast (~4x, small numeric differences) and big (lowest peak GPU memory)
- Shared GPU kernels in common/opt_core — FlashPairformer, triangle-attention and triangle-multiplication — reported 2.7-3.2x faster than standard implementations
- big mode models systems above 10,000 tokens on one GPU node, with reported inference past 70,000 tokens, and splits a prediction across GPUs with --n_gpu
- Pinned upstream release kept in each kit's stock/ directory so optimized results can be compared against the original
- Three reproducible setup routes per kit: Docker, Apptainer for HPC clusters, or a pinned Python virtual environment
- Per-GPU config cards (for example h100, a100) selected with --config
- Apache-2.0 kit code; each stock/ upstream stays under its own licence
Getting started
Every kit follows the same three steps from inside its own directory: install with the weights path, run a dry-run check, then run a command with a config card and a mode.
Install a kit
Change into the kit directory you want — for example boltz2, colabfold or openfold3 — and install it, pointing at the directory holding that kit's model weights.
cd boltz2
bash run.sh install --weights /weights/boltz2Run the dry-run check
The check command verifies the environment and the weights before you spend GPU time on a real prediction.
bash run.sh checkRun with a config and a mode
Pass the config card matching your GPU and the mode you want. Use exact for outputs identical to the unoptimized release, fast for the largest speedup, or big when the input will not fit in memory otherwise.
bash run.sh <command> --config h100 --mode fastUse a library-style kit
The library-style kits — enformer, esmc, gpnstar and flashzoi — are enabled through an environment variable in your own script instead of run.sh.
ENFORMER_OPT=exact python your_script.pyOr build the container
Each kit ships a Dockerfile under environment/ if you would rather not pin the stack yourself; run the install, check and run steps inside the container.
docker build -t boltz2-kit:dev environment/
docker run --rm -it --gpus all boltz2-kit:dev bashCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Run more structure predictions or binder designs on a fixed GPU budget by switching an existing pipeline to fast mode
- Model large complexes that do not fit in memory on a stock release, using big mode across several GPUs on one node
- Reproduce an existing result exactly while still running faster, using exact mode's identical outputs
- Copy the FlashPairformer and triangle-attention kernels into another structure-prediction codebase
- Stand up a pinned, reproducible environment for a biology model from the kit's Dockerfile or Apptainer definition
How Uplifting Biomolecular Modeling compares
Uplifting Biomolecular Modeling alongside other open-source protein & molecular structure tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| AlphaFold 3 | ★ 8.8k | DeepMind's AlphaFold 3 inference pipeline for predicting the joint 3D structure of proteins with DNA, RNA, ligands, and other biomolecules. |
| Boltz | ★ 4.4k | Open-source biomolecular interaction models for predicting the 3D structures of proteins and their complexes. |
| ESM | ★ 4.2k | Evolutionary Scale Modeling: pretrained transformer protein language models, including ESMFold for single-sequence structure prediction. |
| OpenFold | ★ 3.5k | Trainable, memory-efficient, GPU-friendly PyTorch reproduction of AlphaFold 2 for protein structure prediction. |
| DiffDock | ★ 1.6k | Diffusion generative model for molecular docking — predicting how small-molecule ligands bind to protein targets. |
| Uplifting Biomolecular Modeling | ★ 398 | Claude-written inference speedups for 36 open biology models |
