AI

llama.cpp AMD Benchmark Dashboard: GGUF Quantization Speeds, Flash Attention, and Local vs. Server Trade-Offs

ggml-org's new llama.cpp × AMD Benchmark Dashboard on Hugging Face tracks weekly PP512 and TG128 throughput across Radeon 8060S (gfx1151) and R9700S (gfx1201). Here are the verified quantization speedups, Flash Attention deltas, and local-vs-server trade-offs.

By 0xScorPionSon

8 min read

llama.cpp AMD Benchmark Dashboard: GGUF Quantization Speeds, Flash Attention, and Local vs. Server Trade-Offs

llama.cpp AMD Benchmark Dashboard GGUF Quantization and GPU Architecture

Executive Summary

On November 26, 2026, ggml-org launched the public llama.cpp × AMD Benchmark Dashboard on Hugging Face, publishing weekly, automated llama-bench telemetry across AMD Radeon 8060S (gfx1151, Ryzen AI Max+ 395) and Radeon AI Pro R9700S (gfx1201) GPUs. Tracking 12 dense and mixture-of-experts (MoE) models—from Qwen3.5-0.8B to gpt-oss-120b and gemma-4-26B-A4B-it—the dashboard exposes raw JSONL datasets in ggml-org/install.sh-benches-data for every build, quantization, and Flash Attention toggle.

In the latest tracked b12765 build on gfx1151 running Qwen3.5-0.8B, switching from BF16 (1.4 GiB) to Q4_0 (0.46 GiB) more than doubles token-generation speed from 103.2 tokens/sec to 223.5 tokens/sec (TG128, Flash Attention on) while lifting prompt processing from 9,833.1 to 12,116.6 tokens/sec (PP512). For AI engineers choosing between local AMD workstations and cloud GPU clusters, the data confirms llama.cpp excels at single-user local throughput, whereas multi-user concurrency still favors continuous-batching engines like vLLM.

Architecture & How It Works

Automated Weekly llama-bench Telemetry Pipeline

Rather than publishing cherry-picked vendor marketing numbers, ggml-org runs scheduled weekly GitHub workflows on gfx1151 and gfx1201 hardware using the prebuilt binaries distributed through llama-install.sh (the installation project behind llama.app). As detailed in the Hugging Face launch post and analyzed by ExplainX, each configuration executes 10 repetitions of llama-bench with Flash Attention enabled and disabled, reporting mean throughput (avg_ts).

flowchart LR
    A[Weekly CI Schedule] -->|llama-install.sh Binaries| B[AMD Targets: gfx1151 & gfx1201]
    B -->|10x llama-bench Runs| C[Workloads: PP512, TG128 & Context Scaling]
    C -->|FA On vs. Off| D[Hugging Face Bucket: install.sh-benches-data]
    D -->|JSONL Artifacts| E[Overview, Build History & Context Tabs]

Workload Definitions & Reproducible Data Schema

The dashboard separates inference into three views so engineers can isolate prefill compute bottlenecks from memory-bandwidth-bound decoding:

  1. PP512 (Prompt Processing): Measures throughput in tokens/sec while ingesting 512 input tokens starting at context depth zero (n_depth=0) with zero generated tokens. This stresses compute and kernel efficiency.
  2. TG128 (Token Generation): Measures throughput while generating 128 output tokens from n_depth=0. Because autoregressive decoding reads model weights on every token step, TG128 closely tracks VRAM/unified-memory bandwidth and quantization compression ratios.
  3. Context Scaling & Build History: Plots TG throughput degradation as pre-existing context grows, and tracks regressions or kernel speedups across llama.cpp builds (spanning b9744 through b12765).

Engineers can inspect or script against the underlying Hugging Face bucket directly using the standardized path layout documented by ggml-org:

# Standard PP512 / TG128 benchmark records
<build>/<hardware>/<model>/<quant>.jsonl

# Context-depth scaling sweep records
<build>/<hardware>/<model>/<quant>-tg.jsonl

Tracked Hardware & Model Coverage

At launch on November 26, 2026, the dashboard covers two AMD architectures and 12 open-weight models spanning dense and MoE topologies:

  • Hardware: AMD Ryzen AI Max+ 395 (Radeon 8060S, gfx1151) and Radeon AI Pro R9700S (gfx1201).
  • Models: gemma-4-12B-it, gemma-4-26B-A4B-it (MoE), gemma-4-E2B-it, gemma-4-E4B-it, gpt-oss-20b, gpt-oss-120b, Inkling-2-Mini, LFM3-Omni-2B, Qwen3.5-0.8B, Qwen3.6-27B, Qwen3.6-35B-A3B (MoE), and Qwen3.8-27B.

Benchmarks, Cost & Latency Analysis

Qwen3.5-0.8B Quantization & Flash Attention Matrix (b12765 on gfx1151)

The table below compiles the verified b12765 mean throughput figures published on Hugging Face for Qwen3.5-0.8B on gfx1151 (n_depth=0):

Quantization Footprint PP512 (FA On) PP512 (FA Off) TG128 (FA On) TG128 (FA Off)
BF16 1.4 GiB 9,833.1 tok/s 9,093.5 tok/s 103.2 tok/s 102.3 tok/s
Q8_0 0.75 GiB 11,195.9 tok/s 10,733.4 tok/s 172.4 tok/s 170.0 tok/s
Q6_K 0.58 GiB 10,094.7 tok/s 10,201.2 tok/s 198.2 tok/s 195.5 tok/s
Q5_K_M 0.54 GiB 9,794.9 tok/s 9,789.5 tok/s 207.3 tok/s 203.9 tok/s
Q5_K_S 0.52 GiB 11,035.9 tok/s 10,366.5 tok/s 210.8 tok/s 207.7 tok/s
Q4_K_M 0.49 GiB 11,062.8 tok/s 10,820.2 tok/s 216.7 tok/s 213.2 tok/s
Q4_1 0.49 GiB 11,002.7 tok/s 10,842.6 tok/s 218.4 tok/s 214.8 tok/s
Q4_0 0.46 GiB 12,116.6 tok/s 11,282.8 tok/s 223.5 tok/s 220.1 tok/s
Q3_K_S 0.40 GiB 10,984.1 tok/s 10,785.1 tok/s 239.9 tok/s 235.9 tok/s

Three engineering patterns stand out from the b12765 telemetry:

  1. Memory-Bandwidth Scaling in TG128: Dropping from BF16 (1.4 GiB, 103.2 tok/s) to Q8_0 (0.75 GiB, 172.4 tok/s) delivers a +67.1% token-generation speedup, while Q4_K_M (0.49 GiB, 216.7 tok/s) reaches 2.10x BF16 decoding speed.
  2. Flash Attention Impact: Enabling Flash Attention boosts PP512 across almost every format—most notably +8.1% on BF16 (9,833.1 vs 9,093.5 tok/s) and +7.4% on Q4_0 (12,116.6 vs 11,282.8 tok/s)—with a minor 1.0% dip on Q6_K (10,094.7 vs 10,201.2 tok/s). On TG128, Flash Attention adds a consistent 1–4 tok/s lift even at zero context depth.
  3. K-Quant vs. Legacy Q4_0: While Q4_0 peaks at 12,116.6 tok/s prefill and 223.5 tok/s decode, Q4_K_M (216.7 tok/s) trails by only 3.0% in generation speed while typically preserving higher output quality than uniform 4-bit quantization.

Single-User Local vs. Multi-User Server Caveats

Independent analysts reviewing the dashboard—including ExplainX and a November 25, 2026 SecondTalent analysis of vLLM v0.34.0 vs. Ollama v0.40.17—highlight a critical caveat: llama-bench measures single-stream local throughput, not multi-user API concurrency.

In Red Hat's September 2025 H200 concurrency test cited by SecondTalent, single-user output speed between vLLM (0.10.0) and llama.cpp was level, yet at peak concurrent load vLLM delivered more than 44x llama.cpp's output tokens per second via continuous batching and PagedAttention. Similarly, in Red Hat's August 2025 single-A100 test (1–256 concurrent users, Llama 3.1 8B at 16-bit precision for 300 seconds per concurrency tier), vLLM (0.9.1) peaked at 793 tok/s versus 41 tok/s for Ollama (0.9.2, which wraps llama.cpp); raising Ollama to 32 parallel slots narrowed the gap without closing it, and inter-token latency turned erratic under load. Although those Red Hat tests are over a year old, they illustrate why llama-bench numbers should never be extrapolated to multi-tenant server capacity.

Runtime Dimension llama.cpp (via llama-bench / llama.app) Ollama (v0.40.17, Nov 10, 2026) vLLM (v0.34.0, Nov 16, 2026)
Primary Target Single-node local CPU/GPU/APU inference Single-machine developer runtime High-throughput Linux GPU serving clusters
Model Formats GGUF (BF16, F16, Q8_0, Q4_K_M, etc.) GGUF & Safetensors via Modelfile (272 curated models) Hugging Face Safetensors (259+ architectures); GGUF experimental
Concurrency & Batching Single-stream llama-bench / slot-based server 1 parallel request/model default (non-MLX), 512 queue Continuous batching + PagedAttention
Parallelism & Scaling Local multi-GPU offload Single-host focused Tensor, pipeline, data, expert, and context parallelism
License & Stack MIT (C/C++ / ggml) MIT (Go + llama.cpp engine) Apache 2.0 (Python + CUDA/ROCm kernels)

Beyond concurrency, SecondTalent's November 25, 2026 comparison notes that vLLM carries 97.4K GitHub stars and 25,181 forks (reflecting deep infrastructure customization, with v0.34.0 shipping 1,061 commits from 412 contributors including Mistral Large 4 support), while Ollama holds 187.9K stars and 19,148 forks (121.3M pulls on Llama 3.1 alone). For llama.cpp itself—which shipped v1.0.0 on November 13, 2026 and already tracks builds from b9744 through b12765 on the AMD dashboard—the Hugging Face integration turns build-over-build kernel regressions into an auditable public record rather than anecdotal Discord reports.

Production Deployment & Trade-Offs

When to Use llama.cpp on AMD vs. vLLM or Managed APIs

  • Choose llama.cpp / llama.app on AMD Ryzen AI Max+ 395 or Radeon R9700S when: You are running single-user local coding agents, offline privacy-sensitive workflows, or edge workstations where zero per-token API cost and unified memory capacity (e.g., fitting gpt-oss-120b or Qwen3.6-35B-A3B in GGUF) matter more than concurrent request batching. As Emergent notes, the public build history lets teams verify whether a new llama.cpp release improves or regresses their exact GPU before upgrading.
  • Choose vLLM (v0.34.0+) on Linux GPU clusters when: You serve multiple concurrent users, require tensor/pipeline/expert parallelism across GPUs, or need predictable inter-token latency under load. Note that vLLM targets Linux only and treats GGUF as experimental compared to Safetensors.

Deployment Gotchas to Watch

  1. Zero-Depth Bias (n_depth=0): PP512 and TG128 in the Overview tab start with an empty KV cache. Always check the Context Scaling tab (<quant>-tg.jsonl) before sizing latency SLAs for 32K–128K agentic prompts.
  2. Quality vs. Speed Floor: The dashboard tracks throughput, not perplexity or coding accuracy. Q3_K_S (239.9 tok/s) is fastest on Qwen3.5-0.8B, but sub-4-bit quantizations on small models frequently degrade tool-calling and structured JSON reliability; Q4_K_M or Q8_0 remains the safer production floor.
  3. Missing Power & Thermal Telemetry: As ExplainX points out, the dashboard omits wattage, thermals, and multi-client concurrency, so mobile or mini-PC deployments on Ryzen AI Max+ 395 should still validate sustained thermal throttling locally. Likewise, because llama.cpp updates kernels rapidly across builds (b9744 through b12765), teams should pin a verified llama-install.sh build tag after checking the Build History tab rather than blindly pulling latest into production.

Frequently Asked Questions (FAQ)

1. What GPUs does the llama.cpp × AMD Benchmark Dashboard track?

At its November 26, 2026 launch on Hugging Face, the dashboard tracks the AMD Radeon 8060S (gfx1151, Ryzen AI Max+ 395) and the AMD Radeon AI Pro R9700S (gfx1201) across 12 open-weight dense and MoE models.

2. What do PP512 and TG128 measure?

PP512 measures prompt-processing throughput (tokens/sec) for 512 input tokens at context depth zero (n_depth=0), while TG128 measures token-generation throughput for 128 output tokens at n_depth=0, averaged across 10 llama-bench repetitions.

3. How much faster is Q4_K_M than BF16 on gfx1151?

In llama.cpp build b12765 running Qwen3.5-0.8B on gfx1151 with Flash Attention enabled, Q4_K_M (0.49 GiB) reaches 216.7 tok/s on TG128 compared to 103.2 tok/s for BF16 (1.4 GiB)—a 2.10x decoding speedup while cutting memory footprint by 65%.

4. Does Flash Attention always improve llama.cpp speed on AMD Radeon GPUs?

Across b12765 on gfx1151, Flash Attention consistently improves TG128 generation speed (1–4 tok/s higher) and lifts PP512 prompt processing by up to 8.1% (BF16), though Q6_K PP512 was slightly slower with Flash Attention enabled (10,094.7 vs 10,201.2 tok/s).

5. Can I download the raw benchmark data for my own analysis?

Yes. All weekly JSONL benchmark outputs are published openly in the ggml-org/install.sh-benches-data Hugging Face Storage Bucket under <build>/<hardware>/<model>/<quant>.jsonl and <quant>-tg.jsonl.

Sources

More on AI

Tell us what is not working

A thirty-minute call, no deck and no obligation. You will leave with a straight answer about whether this is worth building - including if that answer is no.

Start a project

Direct line

hello@codebumble.net
Dhaka, Bangladesh  :   local timeCalls in English or Bangla