Skip to content
Back to skills

Benchmarking And Results

ASecurity

"Use this sub-skill when a user needs to run bounded timm

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
toolspythonperformance

Works with

  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill benchmarking-and-results --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Benchmarking And Results?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Benchmarking And Results
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-benchmarking-and-results/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-benchmarking-and-results)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: benchmarking-and-results
description: "Use this sub-skill when a user needs to run bounded timm
  benchmarks, compare inference/train/profile timing modes, interpret bundled
  result CSVs, or look up ImageNet-1k model metadata."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Benchmarking and Results

Use this sub-skill for safe, reproducible performance checks with timm benchmark tooling and for interpreting bundled result tables.

## Route Here When

- The user asks how to run `benchmark.py` for inference, train-step, profile, or combined timing.
- The user wants a bounded benchmark command for one model, a wildcard subset, or a short model-list file.
- The user asks what benchmark CSV columns mean or how to compare rows across devices, precision, layouts, or PyTorch versions.
- The user needs ImageNet result fields or `model_metadata-in1k` pretraining labels explained.
- The user requests all-model benchmarking and needs safe scoping before launching long bulk work.

## Start Safely

1. Pick the smallest representative scope first: one model, one device, low batch size, and low iteration counts.
2. Use the bundled command builder to create bounded commands instead of hand-assembling broad runs:
   `python scripts/timm_benchmark_command_builder.py --model resnet50 --bench inference --device cuda --batch-size 32 --num-warm-iter 2 --num-bench-iter 5 --amp`
3. Run debug timing before publication-quality timing, then increase `--num-warm-iter`, `--num-bench-iter`, and batch size only after memory and precision choices are stable.
4. Treat bulk or all-model requests as potentially expensive; require an explicit model pattern, model-list file, or `--allow-bulk` acknowledgement.

## References

- `references/benchmarking.md`: benchmark modes, important flags, safe command patterns, and profiling choices.
- `references/results-tables.md`: benchmark, validation, and metadata CSV columns plus interpretation cautions.
- `references/troubleshooting.md`: OOM, timing comparability, warmup, `torch.compile`, optional profiler, AMP/layout, and stale metadata issues.
- `scripts/timm_benchmark_command_builder.py`: guarded command generator for bounded single-model and optional bulk benchmark commands.

## Boundary Notes

- This sub-skill covers benchmark execution and result interpretation only.
- Use the `cli-workflows` sub-skill for full `train.py`, `validate.py`, or dataset-driven CLI workflows.
- Do not present bundled benchmark CSV values as universal hardware truth; they are snapshots from specific accelerators, software versions, precision modes, and layouts.

Files in this skill

  • SKILL.md2.6 KB
  • references/benchmarking.md6 KB
  • references/results-tables.md4.5 KB
  • references/troubleshooting.md4 KB
  • scripts/timm_benchmark_command_builder.py6.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.