evaluation-benchmarks
Plan and troubleshoot DiffDock benchmark evaluation runs, RMSD/confidence metrics, GNINA post-processing, and vendored spyrmsd checks.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- evaluation-benchmarks
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Plan and troubleshoot DiffDock benchmark evaluation runs, RMSD/confidence metrics, GNINA post-processing, and vendored spyrmsd checks.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/evaluation-workflows.md9.2 KB
- 参考文档references/rmsd-and-metrics.md7.9 KB
- 参考文档references/troubleshooting.md9.2 KB
- 脚本scripts/build_evaluation_command.py11.7 KB
- 脚本scripts/inspect_spyrmsd_cli.py6.3 KB
03 SKILL.md 正文
DiffDock Evaluation Benchmarks
Use this sub-skill when a task is about reproducing or diagnosing DiffDock benchmark evaluations rather than making ad-hoc docking predictions.
Route Here For
- Building benchmark commands for PDBBind, BindingMOAD/DockGen, or PoseBusters with
python -m evaluate. - Checking required dataset, split, ESM embedding, score model, confidence model, sampling, and output flags before an expensive run.
- Explaining saved evaluation outputs such as
rmsds.npy,confidences.npy,centroid_distances.npy,gnina_metrics.pkl, and printed success-rate metrics. - Diagnosing symmetry-corrected RMSD, confidence re-ranking, GNINA minimization, cache, CUDA/CPU, and benchmark data-layout failures.
- Inspecting the vendored
spyrmsdCLI availability without running a benchmark.
Route Elsewhere
- For single-complex or CSV-driven docking prediction, use docking-inference.
- For dataset preparation, ESM embedding generation, training inputs, or training runs, use training-data.
Workflow
- Identify the benchmark family: PDBBind, DockGen/BindingMOAD, or PoseBusters.
- Read evaluation workflows for dataset layouts, required flags, and command patterns.
- Use build_evaluation_command.py to construct a safe
python -m evaluatecommand; the helper prints only and never runs DiffDock. - Read RMSD and metrics before interpreting arrays, confidence ordering, GNINA metrics, or symmetry-corrected RMSD results.
- Use troubleshooting for dependency, backend, dataset, split, ESM, GNINA, cache, OOM, and result interpretation failures.
- Use inspect_spyrmsd_cli.py to check vendored
spyrmsdavailability or construct a reference RMSD CLI command.
Safety Notes
- Benchmark evaluation imports a heavy optional stack including Torch, PyG, W&B, RDKit, model code, and dataset loaders; plan validation before running it.
- Full benchmark runs require prepared data, cached ESM embeddings, model checkpoints, and significant compute; classify native benchmark commands as expensive unless scoped with
--limit_complexes. - GNINA is an external executable invoked by DiffDock; verify the binary and receptor/ligand layout before enabling GNINA flags.
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).