setup-af3_torch-remote-tool
Set up AF3-torch as a remote tool
Validation status (2026-10-01): AlphaFold3 (the xfold PyTorch re-implementation, Apache-2.0, on the public OpenFold3-preview2 checkpoint -- not DeepMind's licence-gated parameters) ran on the NVIDIA GB10 (aarch64, cc 12.1) under the optimization kit's
fastmode. This deployment was expected not to be possible on aarch64 and is: the one C++ extension its second environment needs built clean over 236 targets with no portability patch, and the converted weights file is bit-exact against a sha256 the kit measured on x86-64. Verified on FOUR CONSECUTIVE IDENTICAL REQUESTS plus a mixed-shape sequence and an ascending ladder: forward 3.51 s cold then 1.46 s warm, peak reserved 1.75 GiB at 100 residues rising to 9.21 at 800 -- the steepest ladder of any provider here (5.3x), because the AF3 pair track dominates with no large constant term to flatten it. This provider needs TWO pinned interpreters, one for the model and one CPU-only for featurisation and the mmCIF writers;[env]declares one, so the second is supplied through environment variables and the weights step refuses by name without it. Public publication, cross-user isolation, concurrency, recovery and structural accuracy are untested; keep this deployment private.
Prerequisites
- Run from the ToolUniverse repository root on Linux with Python 3.12.3.
- A CUDA GPU is required. This provider holds its model resident between requests; CPU is not a target.
- Keep provider data, weights, caches, and credentials outside Git.
- Bind to loopback. A non-loopback bind requires TOOLUNIVERSE_API_TOKEN; never put it in arguments or results.
Run the standard-library contract check before downloading large dependencies:
python scripts/remote_validation/setup_skill_preflight.py --implementation af3_torch