Skip to main content
Benchmark a template against one or more GPUs

Usage

Options

string
the template to benchmark; provide either —template_hash or —template_id
integer
the template to benchmark; provide either —template_hash or —template_id
string
comma-separated GPU names to benchmark (e.g. RTX_4090,RTX_3090). Prefix a name with a count to set GPUs per instance, e.g. “2x RTX_4090” (overrides —num_gpus)
integer
GPUs per instance for tokens without an Nx prefix (default 1); overridden by inline Nx in —gpus
integer
default:"1800"
max seconds to wait for a benchmark before giving up (default 1800)
boolean
re-measure instead of reusing recent cached benchmark results
boolean
Skip confirmation prompt

Description

Rents one instance per GPU in parallel, measures perf, tears down. Each rental runs for up to —timeout seconds and costs real money. Specs benchmarked recently (same template, GPU, and count, by any user) are served from the benchmarks table as an estimated perf, and you’re asked whether to reuse that or run a fresh benchmark. Pass —no-cache to always re-measure, or -y to always reuse the cache. Perf/usestheGPUuses the GPU/hr, so cached and freshly measured rows are comparable. Cached rows recorded before that price was tracked show a perf with no price.

Examples

Global Options

The following options are available for all commands: