AlphaFold 3 PyTorch
Use this skill when a task names alphafold3-pytorch, AlphaFold 3 in PyTorch,
protein/complex structure prediction, biomolecular diffusion, PDB/mmCIF inputs,
MSA/template features, or the package's Alphafold3/Alphafold3Input APIs.
This is operating guidance for the public package, not a claim that a
checkpoint, training dataset, or production-scale result is available.
Start safely
- Install the public distribution in an isolated environment:
python -m pip install alphafold3-pytorch.
- Confirm the package and its scientific dependencies import:
python -c "import torch, alphafold3_pytorch as af3; print(af3.Alphafold3)".
- Run the read-only environment probe at
scripts/check_environment.py before using
CUDA, optional encoders, MSA accelerators, or a CLI checkpoint.
- Read
references/package-overview.md for
verified API boundaries and choose exactly one focused route below.
- Read
references/troubleshooting.md when
an import, data dependency, shape, device, checkpoint, or output failure is
involved.
The package has heavy runtime dependencies and production defaults. Begin with
small synthetic inputs and reduced model dimensions; do not start full
training, download PDB/AFDB data, or launch the interactive app as an
exploratory smoke test.
Route by task
- Model construction, forward/loss versus sampling, confidence, ranking,
diffusion, checkpoint loading, or memory: use
model-inference.
- Proteins, RNA/DNA, ligands, ions, atom features, batching, serialization,
missing atoms, or output structure conversion: use
input-representation.
- PDB/mmCIF parsing, MSA/templates, cropping, weighted sampling, or dataset
curation: use
data-pipeline.
- Trainer, DataLoader, YAML/Pydantic configs, conductor phases, EMA,
checkpoints, Fabric, or bounded training preflight: use
training-configuration.
- Console commands, checkpoint-to-mmCIF planning, local Gradio UI, entity
validation, or app cache/precision behavior: use
cli-serving.
When a request crosses routes, start here, then follow the owning sub-skill's
explicit sibling links. Keep data preparation separate from model execution so
large downloads and expensive inference are not accidentally triggered.
Public contract
The primary public objects are Alphafold3, Alphafold3Input, AtomInput,
BatchedAtomInput, PDBInput, PDBDataset, Trainer, and the Pydantic/YAML
configuration factories. The two console entry points are
alphafold3_pytorch and alphafold3_pytorch_app. Exact signatures, defaults,
feature dimensions, return modes, and CLI flags live in the nearest references,
not in this router.
Scope limits
- A real checkpoint is required for meaningful inference; this skill does not
provide weights or validate biological quality by a tiny synthetic forward.
- CPU checks validate API/data correctness. CUDA is an optional stronger runtime
path and must be probed explicitly; CPU evidence is not CUDA evidence.
- PDB/AFDB/CCD acquisition, filtering, clustering, Nim compilation, full
training, and interactive server launch are intentionally bounded or
reference-only. Follow the stop conditions in the focused route.
- Before refreshing this skill for a changed checkout, read
references/repo-provenance.md and compare
its commit, package version, dirty state, and evidence paths.
1---2name: alphafold3-pytorch3description: "Use AlphaFold 3 PyTorch for protein and biomolecular4 structure-prediction workflows, heterogeneous molecule inputs,5 PDB/mmCIF/MSA/template preparation, bounded model inference, training6 configuration, and local CLI or Gradio operation."7disable-model-invocation: true8metadata:9 source: https://skillmd.com/skills/vectorspacelab/alphafold3-pytorch10 disco-role: operating11license: MIT12---1314# AlphaFold 3 PyTorch1516Use this skill when a task names `alphafold3-pytorch`, AlphaFold 3 in PyTorch,17protein/complex structure prediction, biomolecular diffusion, PDB/mmCIF inputs,18MSA/template features, or the package's `Alphafold3`/`Alphafold3Input` APIs.19This is operating guidance for the public package, not a claim that a20checkpoint, training dataset, or production-scale result is available.2122## Start safely23241. Install the public distribution in an isolated environment:25 `python -m pip install alphafold3-pytorch`.262. Confirm the package and its scientific dependencies import:27 `python -c "import torch, alphafold3_pytorch as af3; print(af3.Alphafold3)"`.283. Run the read-only environment probe at29 [`scripts/check_environment.py`](scripts/check_environment.py) before using30 CUDA, optional encoders, MSA accelerators, or a CLI checkpoint.314. Read [`references/package-overview.md`](references/package-overview.md) for32 verified API boundaries and choose exactly one focused route below.335. Read [`references/troubleshooting.md`](references/troubleshooting.md) when34 an import, data dependency, shape, device, checkpoint, or output failure is35 involved.3637The package has heavy runtime dependencies and production defaults. Begin with38small synthetic inputs and reduced model dimensions; do not start full39training, download PDB/AFDB data, or launch the interactive app as an40exploratory smoke test.4142## Route by task4344- **Model construction, forward/loss versus sampling, confidence, ranking,45 diffusion, checkpoint loading, or memory:** use46 [`model-inference`](sub-skills/model-inference/SKILL.md).47- **Proteins, RNA/DNA, ligands, ions, atom features, batching, serialization,48 missing atoms, or output structure conversion:** use49 [`input-representation`](sub-skills/input-representation/SKILL.md).50- **PDB/mmCIF parsing, MSA/templates, cropping, weighted sampling, or dataset51 curation:** use [`data-pipeline`](sub-skills/data-pipeline/SKILL.md).52- **Trainer, DataLoader, YAML/Pydantic configs, conductor phases, EMA,53 checkpoints, Fabric, or bounded training preflight:** use54 [`training-configuration`](sub-skills/training-configuration/SKILL.md).55- **Console commands, checkpoint-to-mmCIF planning, local Gradio UI, entity56 validation, or app cache/precision behavior:** use57 [`cli-serving`](sub-skills/cli-serving/SKILL.md).5859When a request crosses routes, start here, then follow the owning sub-skill's60explicit sibling links. Keep data preparation separate from model execution so61large downloads and expensive inference are not accidentally triggered.6263## Public contract6465The primary public objects are `Alphafold3`, `Alphafold3Input`, `AtomInput`,66`BatchedAtomInput`, `PDBInput`, `PDBDataset`, `Trainer`, and the Pydantic/YAML67configuration factories. The two console entry points are68`alphafold3_pytorch` and `alphafold3_pytorch_app`. Exact signatures, defaults,69feature dimensions, return modes, and CLI flags live in the nearest references,70not in this router.7172## Scope limits7374- A real checkpoint is required for meaningful inference; this skill does not75 provide weights or validate biological quality by a tiny synthetic forward.76- CPU checks validate API/data correctness. CUDA is an optional stronger runtime77 path and must be probed explicitly; CPU evidence is not CUDA evidence.78- PDB/AFDB/CCD acquisition, filtering, clustering, Nim compilation, full79 training, and interactive server launch are intentionally bounded or80 reference-only. Follow the stop conditions in the focused route.81- Before refreshing this skill for a changed checkout, read82 [`references/repo-provenance.md`](references/repo-provenance.md) and compare83 its commit, package version, dirty state, and evidence paths.