Claude Code plugin marketplace shipped with the Boltz-CP context-parallel co-folding / structure-prediction codebase.
Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub nvidia-bionemo/boltz-cpIntegrate DTensor-based context parallelism (CP) into a custom co-folding / structure-prediction model — sharding the O(N²) pair and attention tensors across a multi-GPU device mesh via explicit ring/transpose collectives. A top-level cpize_model_workflow conductor prioritizes, sequences, and gates the whole effort end-to-end, delegating each phase to focused skills. Explores the user's model and data pipeline, builds and probes distributed test infrastructure (local GPUs or SLURM), implements DTensor data-feature sharding and CP model modules mapped to a located CP reference implementation (e.g. Boltz-CP, via $BOLTZ_CP_REPO), writes serial-as-ground-truth multi-rank parity tests, dispatches the work across an orchestrated coder+reviewer team, and benchmarks max-token / walltime. Ships a SessionStart hook that injects the CP hard-rules and an opt-in PreToolUse guard protecting serial ground-truth files and distributed-test timeouts.
Context parallelism (CP) for distributed inference and training for biomolecular folding models across multiple GPUs using a 2D CP mesh combined with data parallelism, demonstrated with the Boltz model.
⚠️ Note
This repository demonstrates a proof-of-concept implementation of Fold-CP with Boltz-2.
We are actively working to upstream this context parallelism capability to the official Boltz source code. You can view the Draft PR here.
Learn more about Fold-CP here: https://research.nvidia.com/labs/dbr/assets/data/manuscripts/fold_cp.pdf
For an introduction to the Boltz family of biomolecular interaction models, see the public Boltz repository.
The context parallel code is licensed under the terms and conditions as written in the license file
The original Boltz code is licensed under their respective MIT license (See the third-party-attr.txt)
This project will download and install additional third-party open source software projects. Review the license terms of these open source projects before use
torchrun or SLURM srun for multi-process launchingDistributed inference uses src/boltz/distributed/main.py predict to run
structure prediction with DTensor context parallelism.
torchrun \
--nnodes 1 \
--nproc_per_node 4 \
src/boltz/distributed/main.py predict \
/path/to/preprocessed_data \
--out_dir ./predictions \
--size_dp 1 \
--size_cp 4 \
--recycling_steps 3 \
--sampling_steps 200 \
--diffusion_samples 5
For full documentation of all options, the inference pipeline stages, and differences from serial prediction, see the Distributed Inference Guide.
Distributed training uses src/boltz/distributed/train.py with a YAML
config file to run training with DTensor context parallelism.
torchrun \
--nnodes 1 \
--nproc_per_node 8 \
src/boltz/distributed/train.py \
scripts/train/configs/structurev2_small_cp.yaml \
parallel_size.size_dp=2 \
parallel_size.size_cp=4 \
output=<output_dir>
For full documentation of the configuration hierarchy, CP-specific settings, CLI overrides, and differences from serial training, see the Distributed Training Guide.
The sections above run context parallelism on the demonstrated Boltz model. If you want to add the same DTensor-based CP to your own co-folding / structure-prediction model, this repository also ships fold-cp, an agentic plugin that guides the integration end to end and uses this repository's CP code as its reference implementation. It works with both Claude Code and the OpenAI Codex CLI — the same skills, hard rules, and CP guide ship for both runtimes.
fold-cp is project/model-agnostic. It contributes a set of CP hard-rules (injected
every session via a SessionStart hook, plus an opt-in guard that protects your serial
ground-truth files), 11 skills that cover the integration from exploration through
profiling, and a bundled high-level CP technical guide. A top-level conductor
skill sequences and gates the whole effort and delegates each phase to the focused
skills; you can also invoke any skill on its own. Once the plugin is installed and
enabled, invoke a skill as /fold-cp:<skill> in Claude Code, or as $<skill>
(type $, or run /skills to browse) in Codex.
Claude Code. Register this repository as a plugin marketplace, then refresh its catalog:
/plugin marketplace add https://github.com/NVIDIA-BioNeMo/boltz-cp
/plugin marketplace update boltz-cp
(You can also point marketplace add at a local clone path instead of the URL.)
Then install the plugin and choose an install scope. Interactively, open the
plugin manager:
/plugin
Go to the Discover tab, select fold-cp, press Enter, and pick a scope — User (all your projects), Project (shared with collaborators on this repo), or Local (this repo, only you). Or install non-interactively:
7-day visitors to each marketplace page
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Claude Code marketplace entries for the plugin-safe Agentic Awesome Skills library and its compatible editorial bundles.
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations