setup-boltzgen-remote-tool
Set up BoltzGen as a remote tool
Validation status (2026-10-01): BoltzGen 0.3.2 ran on the NVIDIA GB10 (aarch64, cc 12.1) under the optimization kit's
fastmode with all eight in-process levers. Verified on FOUR CONSECUTIVE IDENTICAL REQUESTS in one held worker on an idle card -- 27.4 / 26.6 / 27.2 / 29.1 s, peak reserved 2.49 GiB on all four -- plus a seven-shape mixed sequence varying length, design count, batch size, step count and step list under one process.[kit.env] OMP_NUM_THREADS = "1"is load-bearing and must not be removed. Without it the design step does not finish: upstream's DataLoader forks a worker that enterstorch.cdist->at::parallel_for-> an OpenMP parallel region, and waits forever on a thread poolforkdid not carry over. The kit's levers do host-tensor work during activation, so the pool is already up when the fork happens; stock upstream has not touched it yet, which is why stock computes at 95% GPU and the kit mode sits at 0%. Measured: unset = 0 designs after 420 s;=1= 31.6 s. Peak scales with chain length (3.17x over 10x) and barely with design count (1.06x from 2 to 8 designs), so budget this one by length. Public publication, cross-user isolation, concurrency, recovery and design quality 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 boltzgen