openfold3
Agent skill fromaipoch/open-science
Structure prediction using OpenFold3, an open-weights PyTorch reproduction of AlphaFold3 from the AlQuraishi Lab. Use this skill when predicting protein/nucleic-acid/ligand complex structures with an Apache-2.0-licensed AF3 reimplementation.
How to install openfold3
install openfold3
# install the open-science pack with the skills CLI
npx skills add aipoch/open-science# or add only this skill to Claude Code: copy the folder
resources/skills/openfold3/
# into
~/.claude/skills/openfold3/ (all projects)
.claude/skills/openfold3/ (one project)
1# OpenFold3 Structure Prediction23## Prerequisites45| Requirement | Minimum | Recommended |6| -------------- | ------- | ----------- |7| Python | 3.10+ | 3.11 |8| CUDA | 12.1+ | 12.4+ |9| GPU VRAM | 24GB | 80GB (H100) |10| RAM | 32GB | 64GB |11| Disk (weights) | 3GB | - |1213## How to run1415### Installation1617```bash18pip install 'openfold3[cuequivariance]==0.4.1'19```2021The default attention kernel is DeepSpeed `DS4Sci_EvoformerAttention`. If22DeepSpeed is unavailable, switch to the cuEquivariance triangle kernels (no23build-from-source) by overriding the eval memory settings in24`model_config.py` (`use_deepspeed_evo_attention: False`,25`use_cueq_triangle_kernels: True`). Some pre-built environments already ship26this override; check before re-patching.2728### Weights2930Apache-2.0, ~2.3 GB from HF `OpenFold/OpenFold3`. The repo is **gated** (auto-approval) — accept the access form on the HF model page and authenticate (`huggingface-cli login` or `HF_TOKEN`) before downloading:3132```bash33export OPENFOLD_CACHE=~/.openfold334huggingface-cli download OpenFold/OpenFold3 checkpoints/of3-p2-155k.pt \35 --local-dir "$OPENFOLD_CACHE"36```3738`run_openfold` will also auto-download to `$OPENFOLD_CACHE` on first run if39egress is open and HF credentials are available (either `HF_TOKEN` or a prior40`huggingface-cli login`) with repo access granted. The interactive41…
Excerpt shown under the repository's Apache-2.0 license.
