Introducing the llama.cpp benchmark dashboard for AMD Ryzen and Radeon
The new llama.cpp × AMD Benchmark dashboard on Hugging Face lets engineers track prompt‑processing (PP512) and token‑generation (TG128) throughput across llama.cpp builds, models, and quantizations on AMD Ryzen and Radeon GPUs. It supports hardware selection (Radeon 8060S gfx1151, Radeon AI Pro R9700S gfx1201), model choice (Inkling 2 Mini, Qwen, Gemma, gpt‑oss, LFM), and quantizations (Q4_K_M, Q8_0, BF16, F16) with results shown in tokens‑per‑second and context‑scaling curves. Benchmarks run weekly via the llama‑bench tool (Flash Attention on/off, 10 repetitions) on prebuilt binaries from llama‑install.sh, and all raw JSONL data are publicly available in the ggml‑org/install.sh‑benches‑data Hugging Face bucket. Engineers can use this data to compare builds, validate local inference performance, and guide optimization decisions.
⚡ Key Takeaways
- PP512 (512‑token prompt processing) and TG128 (128‑token generation) are measured in tokens / second, with mean throughput (avg_ts) reported.
- Dashboard lets you select hardware, model, llama.cpp build, and quantization via a Configuration sidebar.
- Weekly benchmark workflow runs llama‑bench with Flash Attention enabled and disabled, 10 repetitions per configuration.
- Raw results are stored as <build>/<hardware>/<model>/<quant>.jsonl (standard) and <quant>-tg.jsonl (workload sweeps) in a public Hugging Face bucket.
- Quantization formats include Q4_K_M, Q8_0, BF16, and F16, covering dense and mixture‑of‑experts models.
By exposing reproducible, hardware‑specific throughput numbers, the dashboard enables ML engineers to make data‑driven choices about model size, quantization, and llama.cpp build settings for production‑grade local inference on AMD GPUs.
✅ Practical Steps
- Open the dashboard on Hugging Face, use the Configuration sidebar to pick your AMD hardware, model, and llama.cpp build, then view PP512 and TG128 throughput charts.
- Download the corresponding <build>/<hardware>/<model>/<quant>.jsonl file from the ggml‑org/install.sh‑benches‑data bucket to compare against your own local benchmark runs.
- Adjust your local llama.cpp build or quantization (e.g., enable/disable Flash Attention) and re‑run llama‑bench to see how changes affect tokens‑per‑second relative to the published baseline.
Want the full story? Read the original article.
Read on Hugging Face Blog ↗