SkillAgentSearch skills...

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.

Install / Use

npx skills add NVIDIA/skills --skill bioir-bench-perf-oss

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

88/100

Supported Platforms

Universal

Tags

Our assessment of bench-perf-oss

bench-perf-oss scores 88/100 on our quality scale, 551st of 1,141 Content & Media skills we index (top 49%).

Its SKILL.md is 23 KB long, well organised into 28 sections and no code examples: a thorough specification that gives an agent plenty to work with.

With 3,421 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
30/30
Structure
13/20
Description
15/15
Adoption
15/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated about 2 months ago, so bench-perf-oss is actively maintained.
  • It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-11-27. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

bench-perf-oss compared with similar skills

All 4 of these similar skills score higher than bench-perf-oss; compare them before choosing.

SkillScoreStarsUpdatedFormat
bench-perf-oss (this skill)by NVIDIA883.4k2mo agoSKILL.md
siyuanby siyuan-note10047.4ktodayMCP Server
algorithmic-artby anthropics100177.9k2mo agoSKILL.md
pptxby anthropics100177.9k2mo agoSKILL.md
prospectingby coreyhaines3110062.2k8d agoSKILL.md

Frequently asked questions

How do I install bench-perf-oss?
Run npx skills add NVIDIA/skills --skill bench-perf-oss. The install tabs above show the steps for each supported agent.
Which AI agents does bench-perf-oss work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is bench-perf-oss safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is bench-perf-oss still maintained?
The repository was last updated about 2 months ago, so bench-perf-oss is actively maintained.

SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.

SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

name: bench-perf-oss description: >- 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. license: Apache-2.0 metadata: author: NVIDIA Corporation

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. executor_backend=None. 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_processor. The model has a factory (Boltz-1/2, OpenFold2 / AlphaFold2, OpenFold3, protenix-v2). BioIR uses serial build_processor; 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_monomer.json (samples.md). Do not substitute examples/data/samples/, FASTA-only inputs, or a synthetic residue sweep unless the user explicitly replaces the dataset.
  5. MSAs and templates are mandatory when they exist. For every polymer that lists an unpaired or paired A3M (or Boltz CSV) or a template in the spec, both BioIR and OSS must load those files. Running without MSAs, with use_msa_server, or with empty protein MSAs when files exist is a hard failure.
  6. Templates are custom templates: all of them, both sides. The spec's templates are caller-supplied, so both sides featurize every one, limited only by a cap set identically on each side. Turn off the similarity, coverage, date, and keep/drop gates that exist to filter search output; patch a side if config cannot. Verify by counting populated template slots per side — a non-zero mask passes while three of four templates are missing. See MSA and template contract, msa.md, and templates.md.
  7. Same sample set on both sides. Write $WORKDIR/ref_data/sample_manifest.json before any timed run. Both harnesses assert exact set equality against it.
  8. The OSS input mapping is a script plus an index, not ad-hoc files. When the OSS loader needs another layout or naming, build $WORKDIR/oss_data/ with bench/stage_oss_data.py and record oss_data/index.json; the harness reads the index. Symlink the dataset, never copy or edit it, and assert every declared input staged with one distinct key per chain (Phase 2).
  9. Config parity is locked first. Write $WORKDIR/ref_data/bench_config.json before Phase 4. Recycling, sampling, diffusion samples, precision, seed, and GPU id must match.
  10. BioIR starts from its optimized pretrained config. Omit config= and processor engine_kwargs["config"] unless applying documented model-profile overrides for input parity, fixed recycle counts, or approximate options. Derive those configs with get_pretrained_config, change only the documented fields, and record the delta. An eager arm additionally calls disable_cuda_graphs(). Never hand-build a BaseConfig, copy OSS layer configs onto BioIR, or replace graph policies. See measurement.md.
  11. Serial, one GPU, one sample per call. executor_backend=None. Pin CUDA_VISIBLE_DEVICES to one device. Loop the in-scope manifest and call processor([one_record]) (or OSS featurize + forward on that one batch). Never processor(all_rows) — feature generation then holds every record in host RAM and OOM-kills before the engine. See measurement.md.
  12. Every timed column runs on the same host and the same GPU. Run BioIR and every OSS column on one physical machine and one device, not just the same GPU model. Record the hostname, GPU UUID, and driver version in ref_data/bench_config.json. Latency from different hosts is not comparable, because CPU, driver, power limit, and thermals differ. If a column must be rerun elsewhere, rerun every column there.
  13. Both scorers are installed before timing. Give ost its own conda env and DockQ its own venv, separate from BioIR, OSS and Miniforge base. Score written CIFs with ost compare-structures and supported interfaces with DockQ. Every row gets dockq_status: RNA/DNA interfaces use unsupported_chain_types; a monomer uses null / single_chain, never 0.0. See environment.md and environment.md.
  14. OSS uses its recommended inference kernels, and the config has to say so. Do not strip an optimized backend "for fairness", and do not assume a shipped default is the recommendation; resolve the model profile and upstream kernel documentation. If the selected profile requires cuEquivariance, enable it in config—installing the wheel is not enabling the kernel. If it requires DeepSpeed Evoformer attention, build only that op from source (DS_BUILD_OPS=0 DS_BUILD_EVOFORMER_ATTN=1), non-editable and never -e, budgeting 5–10 min for the CUTLASS compile. See environment.md and deepspeed-evoformer.md. A fallback is a different column, and only with user approval.
  15. Warmup 1, measure 1. One discarded forward (JIT / graph capture / torch.compile), then one timed forward. That single time is the headline. Do not average or take a median.
  16. Five samples before the full sweep. After preparation, run BioIR and OSS eager on five samples spanning the residue range, run the fast synthetic direct-module compile probe, then run OSS torch.compile on the same five when the compile retry ladder succeeds. Show the measured results and ask whether to proceed. Do not launch the full sweep without the user's explicit approval (five-sample smoke gate).
  17. No hidden skips. A missing sample, missing MSA, OOM, or crash is recorded. Do not continue past it silently.
  18. Implementation notes are mandatory. Keep $WORKDIR/implementation-notes.md current as work happens.

Approximate options

Some BioIR options are approximate: they change the sampled coordinates instead of reproducing the exact path bit for bit. Frame-aware prediction reuse, frame_reuse_period, is one; Protenix-v2, OpenFold3 P2 and Boltz-2 have it. Its pretrained default is "auto" for Protenix-v2 and OpenFold3 P2, which reuses at the step counts they were evaluated with, and 0 (exact) for Boltz-2. Rules:

  1. Default on for Protenix-v2 and OpenFold3 P2. Both profiles lo

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars3.4k
CategoryContent
Updated2mo ago
Forks412

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions