Quick start
Available models
| Model | Type | Method | Description |
|---|---|---|---|
ESMFold | Structure prediction | .fold() | Meta’s fast single-sequence structure prediction |
ESM2 | Embeddings | .embed() | Protein language model embeddings (6 model sizes) |
Chai1 | Structure prediction | .fold() | Diffusion-based structure prediction |
Boltz2 | Structure prediction | .fold() | Diffusion-based structure prediction with MSA support |
Import patterns
Constructor
All models share the same constructor signature:Backend to use for execution. Supported values:
"modal" (serverless GPU) or "apptainer" (local GPU via container). See Backends.GPU device identifier (e.g.,
"cuda:0", "cpu"). If None, defaults to "cuda:0" when a GPU is available.Model-specific configuration overrides merged with defaults. Each model has its own config keys — see the model’s page or Configuration.
Context manager
All models can be used as context managers to ensure the backend is properly shut down:Folding models
ESMFold
Fast single-sequence protein structure prediction.
Chai-1
Diffusion-based structure prediction.
Boltz-2
Diffusion-based structure prediction with MSA support.
