design-pipeline
Install prerequisites, select BindCraft design and filter presets, construct a CUDA direct or SLURM launch, and operate or resume the AF2/MPNN validation campaign.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- design-pipeline
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Install prerequisites, select BindCraft design and filter presets, construct a CUDA direct or SLURM launch, and operate or resume the AF2/MPNN validation campaign.
- disable-model-invocation
- true
02 资源文件 6
- 参考文档references/advanced-settings.md6.6 KB
- 参考文档references/filter-settings.md5.7 KB
- 参考文档references/launching.md4.7 KB
- 参考文档references/pipeline.md6.9 KB
- 参考文档references/troubleshooting.md8.7 KB
- 脚本scripts/build_bindcraft_command.py6.3 KB
03 SKILL.md 正文
Run the BindCraft design pipeline
Use this route after target-preparation has produced a target-settings JSON. It covers the long-running GPU campaign, not PDB preprocessing or downstream binder selection. Use results-analysis for output interpretation.
Route
-
Establish a Python 3.10 environment with a CUDA-capable NVIDIA GPU, a compatible JAX/JAXLIB CUDA build, ColabDesign, PyRosetta, scientific Python dependencies, a readable AF2 parameter bundle (about 5.3 GB), and usable DSSP and DAlphaBall executables. PyRosetta licensing is a separate legal gate; commercial use requires the applicable license. Do not treat a CPU environment as a substitute for this pipeline.
-
Confirm that the target JSON has been validated and that
design_pathis writable. Select an advanced preset and a filter preset; copy/adapt JSONs rather than silently editing a shared preset. See advanced-settings and filter-settings. -
Check the AF2 parameter directory,
dssp_path, anddalphaball_pathin the advanced settings. Empty paths are resolved by BindCraft's own defaults; verify those defaults on the installation being used rather than assuming a checkout-relative path. -
Build a command without executing it:
python skills/disco/bindcraft/sub-skills/design-pipeline/scripts/build_bindcraft_command.py \ --mode direct --settings ./settings_target/my_target.json \ --filters ./settings_filters/default_filters.json \ --advanced ./settings_advanced/default_4stage_multimer.json --dry-runUse
--mode slurmand scheduler resource overrides for a batch launch. The builder only prints a shell-safe command; it never submits or runs one. -
Launch with either the exact direct or SLURM forms in launching. Keep one campaign per
design_path; do not run concurrent processes against the same CSVs and output folders. -
Monitor trajectory acceptance,
failure_csv.csv, GPU memory, and disk growth. The loop stops when the requested accepted count is reached, whenmax_trajectoriesis reached, or when the enabled acceptance-rate monitor decides that the campaign is underperforming. It is target-dependent and may require hundreds or thousands of trajectories; a short smoke test is not evidence of useful binder generation. -
To continue a campaign, relaunch with the same target
design_pathand compatible settings after checking the existing CSV/PDB state. BindCraft has no separate--resumeflag: existing trajectory names and accepted files are used to avoid some duplicate work, while the loop can add new random trajectories. Preserve the settings/filters/advanced files used by the campaign.
Detailed stage gates and artifacts are in pipeline; launch flags and scheduler resources are in launching; failure recovery is in troubleshooting.
Safety boundary
The design loop calls AF2 backpropagation, MPNN sampling, AF2 complex and monomer prediction, PyRosetta relaxation, and structural scoring. It requires CUDA and external weights and can run for hours or days. Do not promise CPU execution, affinity, or a successful target-dependent outcome. Do not bundle an installer or download helper here; installation and weight acquisition require user-controlled network, license, storage, and environment decisions.
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).