Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

bench-perf-oss

БесплатноЗапускает вложенные скриптыНе проверен

Compare BioIR vs OSS folding performance: model.forward() latency, GPU use, lDDT and DockQ with matched inputs. Use for benchmark setup, execution or audits…

NVIDIAот NVIDIA★ 4 269 звёзд на GitHub

Об этом скилле

Benchmark BioIR vs OSS e2e model.forward

Input: model key + OSS source path. Output: WORKDIR harnesses, locked config, per-sample model.forward() latency + GPU artifacts, OpenStructure lDDT and DockQ vs benchmarks/dataset/ground_truth/, comparison report.

This file defines scope, mandatory gates, and phase handoffs. Follow workflow.md for procedures; open references when their phase starts.

This is v1 for structure folding only (keys with a coordinate head: Boltz-1/2, OpenFold2 / AlphaFold2, OpenFold3, protenix-v2). The headline compared numbers are GPU-synced model.forward() time and GPU memory. Parse, tokenize, featurize, H2D, postprocess, write, and scoring are outside the timing window.

Both quality metrics are required: OpenStructure lDDT on every sample, and DockQ on supported protein-protein or protein-small-molecule complexes. Every row records DockQ applicability; DockQ 2.1.3 does not support RNA/DNA interfaces. Whole-structure lDDT and interface DockQ answer different questions. See measurement.md.

Do not run this playbook unchanged on a non-folding key (boltz-2-affinity, or anything whose output is not a structure). See Other model kinds.

Templates on both sides or neither. Retain template-bearing spec items and verify attachment on both featurized batches before timing; missing templates change both quality and workload. Follow the model profile and samples.md.

Serial, one sample per call. ExecutionSpec(backend="inline"). Feed processor([one_record]) — never the whole manifest as one batch (host-RAM OOM). Same one-at-a-time rule on the OSS side.

Choose a path from the support matrix (docs/ref/support-matrix.md, Pipeline column):

  • Processor path — build_workflow. The model has a factory (Boltz-1/2, OpenFold2 / AlphaFold2, OpenFold3, protenix-v2). BioIR uses inline build_workflow; OSS uses its own e2e. Each side featurizes itself.
  • OSS feature path — OSS pipeline + BioIR module. A folding model with a compute path but no pipeline factory. No current key uses it. Use the OSS data pipeline for features, then replace the OSS nn.Module with the BioIR module. See no-pipeline.md. boltz-2-affinity is not a folding bench — see Other model kinds.

Authorities:

Mandatory gates

If any gate cannot be satisfied, stop and report the blocker. Do not claim a complete bench.

  1. Both environments are probed and isolated first. Check BioIR and OSS imports, set up whatever is missing, and resolve package conflicts before any timed run. See environment.md. Do not install OSS pins into the BioIR interpreter.
  2. OSS revision is the pin. Use the exact revision selected by the model profile; when the profile selects a checked-in submodule gitlink, that gitlink is the pin. Boltz-1/2 = v2.2.1. OpenFold2 = aqlaboratory/openfold v2.2.0. A main checkout or a different tag is a hard failure. See environment.md. A recorded, reverted, input-side patch on top of the pin is allowed — only to make both sides honour the same inputs, never to change the compute path (templates.md).
  3. No invented numbers. Every latency, GPU power, clock-rate, or speedup figure in the report cites an executed command, exit code, and artifact path. Parse tool output — never estimate.
  4. Dataset is the one rebuild_dataset.py builds, only. The builder ships in this skill at dataset/; local build root: benchmarks/dataset/. Use spec_full.json or `spec_monome
Полный SKILL.md на GitHub

Установить bench-perf-oss в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

BENCHMARK.mdbundle.mdconfig/skillspector-baseline.ymldataset/MANIFEST.jsondataset/rebuild_dataset.pydataset/spec_full.jsondataset/spec_monomer.jsondeepspeed-evoformer.mdenvironment.mdevals/EVAL.mdevals/config.ymlevals/evals.jsonevals/files/affinity/predictions.jsonevals/files/aggregation/results/bioir_forward.jsonevals/files/aggregation/results/oss_eager.jsonevals/files/approximate/review.jsonevals/files/boltz/quality_probe.jsonevals/files/manifest/dataset/ground_truth/complex.cifevals/files/manifest/dataset/ground_truth/monomer.cifevals/files/manifest/dataset/msa/first.a3mevals/files/manifest/dataset/msa/paired.a3mevals/files/manifest/dataset/msa/second.a3mevals/files/manifest/dataset/spec_full.jsonevals/files/manifest/dataset/templates/one.cifevals/files/manifest/dataset/templates/two.cifevals/files/of2/request.jsonevals/files/parity/feature_probe.jsonevals/files/protenix/request.jsonevals/files/result-audit/results/bioir_forward.jsonevals/files/result-audit/results/oss_compile.jsonevals/files/result-audit/results/oss_eager.jsonevals/files/throughput/workers.jsonevals/files/weights/preflight.jsonevals/grader.pyharness/check_results.pyharness/gpu_telemetry.pyharness/plot_latency.pyharness/scoring.pyharness/summarize_speedup.pyharness/timing.py

FAQ

Что делает скилл bench-perf-oss?

Compare BioIR vs OSS folding performance: model.forward() latency, GPU use, lDDT and DockQ with matched inputs. Use for benchmark setup, execution or audits; excludes affinity heads and Ray throughput.

Как установить скилл bench-perf-oss?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bench-perf-oss запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить bench-perf-oss с