anomalib-benchmarking
Installation
SKILL.md
Using the Benchmarking Pipeline
The benchmarking pipeline runs a grid of model/dataset/category combinations end-to-end (train + test) and writes measured metrics to a CSV — use it to produce real, reproducible numbers rather than hand-editing benchmark tables.
Code locations
src/anomalib/pipelines/benchmark/pipeline.py—Benchmark: top-level pipeline; picksSerialRunnerorParallelRunnerbased on configured accelerators andtorch.cuda.device_count().src/anomalib/pipelines/benchmark/generator.py—BenchmarkJobGenerator: expands the config (includinggrid:entries) into individual jobs.src/anomalib/pipelines/benchmark/job.py—BenchmarkJob: runs one model/dataset combination, times it, and saves results.tools/experimental/benchmarking/benchmark.py— thin CLI wrapper aroundBenchmark.tools/experimental/benchmarking/sample.yaml— example config to copy from.