๐ŸŽ๏ธ Dyno โ€” llama.cpp Auto-Tuner & Benchmark

Open-source CLI that auto-tunes and benchmarks llama.cpp / ik_llama.cpp inference on NVIDIA GPUs. Find the fastest config in seconds.

โšก Quickstart

Install Dyno and tune your first model in under a minute.

Install

pipx install llama-dyno

Detect hardware

dyno detect

Fingerprints your GPU, VRAM, driver version, CPU, RAM, and detects which llama.cpp backend is installed.

Auto-tune a model

dyno tune ~/models/mistral-7b.Q4_K_M.gguf --quick

Finds the fastest config โ€” ngl, flash attention, KV cache quant, batch size, threads โ€” with live progress.

Benchmark

dyno bench ~/models/mistral-7b.Q4_K_M.gguf --ngl 99 --fa

Generate a report

dyno report ~/models/mistral-7b.Q4_K_M.gguf

๐Ÿ“– Commands

Every command Dyno offers.

dyno detect
Fingerprint hardware โ€” GPU model, VRAM, driver/CUDA version, CPU, RAM, and detect which llama.cpp backend is installed (with commit hash).
dyno tune <model>
Find the fastest config for your GPU + model combo. Uses a smart search: validate โ†’ coarse sweep (ngl, flash attn, KV cache) โ†’ hill-climb (batch size, threads). Supports --quick (~10 trials) and --thorough (~25 trials) modes.
dyno bench <model>
Run a specific config 3ร— and report median tokens/sec with variance. Flags: --ngl, --fa/--no-fa, --ctk, --ctv, --batch, --ubatch, --threads, --fmoe, --rtr, --amb.
dyno report <model>
Generate a shareable report with hardware fingerprint, model details, winning config, median scores with variance, reproducible llama-server command, and shareable markdown snippet. Output as JSON.
dyno submit <model>
Submit your results to the community results repo. Opens a PR via gh CLI, falls back to a GitHub Gist, or saves locally.
dyno search [gpu] [model]
Search local result JSON files for matching GPU and/or model keywords. Filters by case-insensitive substring match across all saved reports.
dyno compare [gpu] [model]
Compare multiple benchmark results side-by-side. Filter by GPU type and model name to see how different configs stack up.

๐Ÿ”ฌ Example Output

Dyno's Rich-powered terminal output.

System Detection

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ System Detection                        โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Component       Value                   โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ GPU      NVIDIA GeForce RTX 4090        โ”‚
โ”‚ VRAM     24564 MiB                      โ”‚
โ”‚ Driver   545.23.08                      โ”‚
โ”‚ CUDA     12.3                          โ”‚
โ”‚ CPU      AMD Ryzen 9 7950X              โ”‚
โ”‚ Cores    16                             โ”‚
โ”‚ RAM      64228 MiB                      โ”‚
โ”‚ Backend  llama.cpp                      โ”‚
โ”‚ Commit   b1c2d3e                        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Benchmark Results

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Benchmark Results                      โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Metric                    Median  Var   โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ PP (prompt processing)   520.3   1.2    โ”‚
โ”‚ TG (text generation)     58.7    0.4    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

โœ“ Generation: 58.7 tok/s | Prompt: 520.3 tok/s

Winning Config (Post-Tune)

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ ๐Ÿ† Best Config                      โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ ngl=99, fa=โœ“, ctk=f16, ctv=f16       โ”‚
โ”‚ batch=1024, ubatch=512, threads=0    โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ