boltz
Route Boltz package tasks for biomolecular structure and affinity prediction, data preparation, training, and evaluation workflows.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- boltz
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Route Boltz package tasks for biomolecular structure and affinity prediction, data preparation, training, and evaluation workflows.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/package-overview.md3.1 KB
- 参考文档references/repo-provenance.md1.1 KB
- 参考文档references/repo-routing-metadata.json408 B
- 参考文档references/troubleshooting.md2.8 KB
- 脚本scripts/boltz_environment_check.py3.1 KB
03 SKILL.md 正文
Boltz Repo Skill
Use this repo skill when a user asks about Boltz, the boltz Python package, or workflows for biomolecular structure prediction, binding-affinity prediction, training data preparation, retraining, or evaluation.
Quick Triage
- Run or debug
boltz predict: usesub-skills/prediction/SKILL.mdfor CLI options, YAML/FASTA inputs, MSA server/authentication, affinity prediction, output files, cache behavior, and prediction-time troubleshooting. - Prepare raw training/evaluation data: use
sub-skills/data-preparation/SKILL.mdfor CCD, sequence clustering, MSA processing, RCSB/mmCIF processing, Redis,mmseqs, processed file layouts, and safe preflight checks. - Train or retrain models: use
sub-skills/training/SKILL.mdfor Hydra config edits, debug launches, checkpoint intent, resource knobs, wandb/DDP issues, and training-data readiness checks. - Evaluate or summarize outputs: use
sub-skills/evaluation/SKILL.mdfor confidence/affinity metrics, benchmark folder layouts, legacy OpenStructure evaluation scripts, CSV/JSON summaries, and top-1 versus oracle distinctions.
Install And Smoke Checks
Boltz is a Python package named boltz, with a public CLI entry point named boltz and a predict command. Public installation guidance recommends a fresh Python environment:
pip install boltz -U
For CUDA-enabled inference, public docs use the CUDA extra:
pip install 'boltz[cuda]' -U
Use CPU-only installs for inspection, input validation, and documentation tasks. Full prediction, training, and benchmark workflows may require GPU hardware, large model/data downloads, external tools, or long runtimes.
Run safe checks before expensive work:
python scripts/boltz_environment_check.py
boltz --help
boltz predict --help
Shared References
references/package-overview.md— package purpose, installed facts, dependency/back-end expectations, and workflow map.references/troubleshooting.md— cross-cutting install/import, cache, GPU, data/config, CLI, and external dependency failures.references/repo-provenance.md— source repository snapshot used to generate this skill.references/repo-routing-metadata.json— structured routing metadata used by DisCo's managed repo-skills router.scripts/boltz_environment_check.py— safe local environment and CLI preflight helper.
Cross-Workflow Guardrails
- Prefer prediction YAML for new inference inputs; FASTA remains supported but is deprecated and lacks several YAML-only features.
- Do not run model downloads, MSA-server calls, full training, raw-data preprocessing, or benchmark evaluation until the user has confirmed hardware, storage, credentials, network, and runtime expectations.
- Treat original Boltz examples, docs, tests, and scripts as evidence. This skill bundles portable references and helpers so future agents do not need the original source checkout for routine guidance.
- Keep credentials out of prompts and logs. For MSA server secrets, prefer environment variables over inline CLI values.
- Be explicit about Boltz-2 documentation gaps: inspected docs mark updated Boltz-2 training and evaluation assets as coming soon.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).