Observed since 20 Oct, 20:59 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Profile-driven multi-GPU toolkit for large-scale AlphaFold 3 inference
Profile-driven toolkit for running AlphaFold 3 inference at scale on multi-GPU Linux clusters.
AF3Parallel wraps the official AF3 Singularity workflow with VRAM-aware scheduling, temporal-wave batching, and companion utilities for profiling, runtime estimation, and input JSON preparation. Install with pip or conda, then invoke all tools through a single CLI — no manual script copying required.
| Tool | CLI command | Purpose |
|---|---|---|
| Multi-GPU executor | af3parallel run | Distribute AF3 jobs across GPUs with LPT scheduling, VRAM-aware batching, and temporal-wave packing |
| Peak VRAM profiler | af3parallel profile | One-shot peak-memory scan → TSV profile for scheduling |
| Time-series profiler | af3parallel profile-ts | Sub-second VRAM sampling during AF3 runs |
| GPU runtime estimator | af3parallel estimate-gpu | Predict serial GPU wall time from a token profile |
| CPU/MSA estimator | af3parallel estimate-cpu | Predict data-pipeline wall time from a protein-length profile |
| JSON integrator | af3parallel json | Batch-edit AF3 inputs (seeds, ligands, nucleic acids, ions) |
| GPU monitor | af3parallel monitor | Standalone nvidia-smi memory logger |
Built-in VRAM/runtime profiles are measured on NVIDIA A800 80 GB and RTX 4090 24 GB; other GPUs require a one-time custom profile from af3parallel profile.
AF3Parallel is a wrapper around AlphaFold 3 — complete the official AF3 v3.0.1 installation first (Singularity image, model weights, genetic databases). Full details: docs/installation.md.
| Component | Required | Notes |
|---|---|---|
| AlphaFold 3 v3.0.1 + Singularity | Yes | Run commands from your AF3 working directory |
| Linux + NVIDIA GPU (CC ≥ 8.0) | Yes | e.g. A100, H100, RTX 4090 |
| Python ≥ 3.8 | Yes | Standard library only in core tools |
psutil | Optional | Auto --max-concurrent-tasks cap in af3parallel run |
rdkit | Optional | More accurate SMILES heavy-atom counts |
pip install "af3parallel[extras]"
# from source
git clone https://github.com/Xin-DongXu/AF3Parallel.git
cd AF3Parallel
pip install -e ".[extras]"
Release guide: docs/publishing.md.
Verify:
af3parallel --version
af3parallel --help
conda install -c bioconda -c conda-forge af3parallel
Submit the recipe via docs/publishing.md if not yet on Bioconda.
Development environment from source:
git clone https://github.com/Xin-DongXu/AF3Parallel.git
cd AF3Parallel
mamba env create -f environment.yml
conda activate af3parallel
If you prefer the old *.py filenames inside your AF3 tree:
pip install -e /path/to/AF3Parallel
bash /path/to/AF3Parallel/tools/install-to-alphafold3.sh /path/to/alphafold3
python /path/to/alphafold3/AF3Parallel.py ... # thin wrapper; requires pip install
All examples assume your current directory is the AF3 working tree (alphafold3/).
# 1. Profile once per GPU model (skip for built-in a800-80g / rtx4090 presets)
af3parallel profile \
-i ./profile_inputs -o my_gpu_profile.tsv \
--sif alphafold3.sif --af3-db ~/af3_DB --models ./models
# 2. (Optional) estimate batch runtime
af3parallel estimate-gpu \
--input-dir ./af_input --profile my_gpu_profile.tsv \
--output-tsv estimate_breakdown.tsv --workers 16
# 3. Run the batch across all GPUs
af3parallel run \
-i ./af_input -o results.tsv --output-dir ./af_output \
--sif alphafold3.sif --af3-db ~/af3_DB --models ./models \
--gpus 0,1,2,3 --memory-profile my_gpu_profile.tsv
Dry-run the schedule before a large batch:
af3parallel run ... --test-only
Prepare inputs for a ligand screen:
af3parallel json replace-ligand \
-i base.json --from-csv examples/ligands.csv \
--output-dir ./outputs --workers 16
AF3 input JSONs ──► af3parallel profile ──► TSV profile
│ │
│ ▼
├──► af3parallel estimate-gpu/cpu │
│ ▼
└──────────────────────────────► af3parallel run ──► results.tsv
See docs/workflow.md for the full pipeline.
af3parallel <command> [arguments]
af3parallel run --help
af3parallel json set-seeds -i input.json -o output.json --seeds 1 2 3
python -m af3parallel --help # equivalent
| Subcommand | Standalone alias | Replaces legacy script |
|---|---|---|
run | af3parallel-run | AF3Parallel.py |
profile | af3parallel-profile | AF3_GPU_Memory_Profiler.py |
profile-ts | af3parallel-profile-ts | AF3_GPU_Memory_Time-Series_Profiler.py |
estimate-gpu | af3parallel-estimate-gpu | AF3_GPU_time_estimate.py |
estimate-cpu | af3parallel-estimate-cpu | AF3_CPU_time_estimate.py |
json | af3parallel-json | AF3_JSON_Integrator.py |
monitor | af3parallel-monitor | GPU_monitor.py |
Full flag lists: docs/cli-reference.md or af3parallel <command> --help.
--gpu-preset)psutil is installedAF3Parallel/
├── README.md
├── LICENSE · CITATION.cff · pyproject.toml · requirements.txt
├── src/af3parallel/ # installable Python package
│ ├── parallel.py # multi-GPU executor
│ ├── gpu_memory_profiler.py
│ ├── gpu_memory_timeseries_profiler.py
│ ├── gpu_time_estimate.py
│ ├── cpu_time_estimate.py
│ ├── json_integrator.py
│ ├── gpu_monitor.py
│ └── cli/ # unified CLI dispatcher
├── docs/ # detailed documentation
├── examples/ # sample CSV manifests
├── conda/recipe/ # Bioconda recipe template
├── environment.yml # conda dev environment
├── scripts/ # legacy thin wrappers
└── tools/
└── install-to-alphafold3.sh
| Topic | Guide |
|---|---|
| Documentation index | docs/README.md |
| PyPI / Bioconda release guide | docs/publishing.md |
| pip / conda / legacy install | docs/installation.md |
| End-to-end workflow | docs/workflow.md |
| Built-in GPU presets & profile TSV format | docs/gpu-profiles.md |
| CLI flags & output columns | docs/cli-reference.md |
| JSON Integrator (ligand/nucleic/ion screens) | docs/json-integrator.md |
| Tips & troubleshooting | docs/tips.md |
git clone https://github.com/Xin-DongXu/AF3Parallel.git
cd AF3Parallel
pip install -e ".[extras]"
af3parallel --version
To publish: bump version in src/af3parallel/__version__.py and pyproject.toml, tag a release, then follow docs/publishing.md. GitHub Actions workflow: .github/workflows/publish-pypi.yml.
This project is released under the MIT License.
AlphaFold 3 is licensed separately by Google DeepMind and is not distributed by this repository.
If you use AF3Parallel in academic work, please cite AlphaFold 3:
Abramson, J., Adler, J., Dunger, J. et al. Accurate structure prediction of biomolecular interactions with AlphaFold 3. Nature 630, 493–500 (2024). https://doi.org/10.1038/s41586-024-07487-w
See CITATION.cff for machine-readable metadata.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.1.0 | 10 Jun 2026 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 20:59 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:d31d6322c40b3141d53759a02c7a30f792652ec2ac8821e70a94c6c2a8628fdb