llama.cpp 新增面向 AMD Ryzen 与 Radeon 的基准测试看板,集中展示不同硬件上的推理性能数据。开发者可据此选择本地部署配置,AMD 用户调优模型推理更直观。
核心要点
- llama.cpp 与 AMD 合作推出基准测试看板,托管于 Hugging Face,可追踪 AMD Ryzen/Radeon 硬件上的本地推理性能。
- 看板提供三个维度:量化对比(Overview)、构建历史(Build history)、上下文扩展(Context scaling)。
- 核心指标为 PP512(处理 512 个输入 token 的吞吐)与 TG128(生成 128 个 token 的吞吐),单位均为 tokens/秒。
- 基准基于 llama-install.sh 分发的预编译二进制,使用 llama-bench 工具,Flash Attention 开/关各测 10 次,gfx1151 与 gfx1201 工作流每周运行。
- 原始数据公开存放在
ggml-org/install.sh-benches-data Storage Bucket,可自行下载分析或与本地结果对比。
正文
推出面向 AMD Ryzen 与 Radeon 的 llama.cpp 基准看板
作者:angtang、Simon Pagezy、Abdennacer Badaoui(ggml-org 团队) 发布于 2026 年 11 月 26 日
llama.cpp × AMD 基准看板现已上线 Hugging Face。它让你能够跨 llama.cpp 构建版本、模型和量化方案,追踪提示词处理与文本生成性能,从而直观了解本地推理在 AMD Ryzen 和 Radeon 硬件上的表现。
本地推理性能会随模型、内核和构建版本的演进而变化。我们希望任何 AMD 开发者都能轻松检视这些变化:选择硬件、模型和构建版本,比较不同量化,并跟踪性能随时间的变化。基准测试流程与底层结果均为公开,因此你也可以查看我们是如何对推理性能进行基准测试的。
快速上手
你可以在 Configuration 侧边栏中选择 Hardware(硬件)、Model(模型)和 llama.cpp build(构建版本)。当前可选的硬件为 Radeon 8060S(gfx1151)和 Radeon AI Pro R9700S(gfx1201)。
在 Overview 标签页中,可针对单一硬件、模型和构建版本比较不同量化方案。两张图表分别展示 PP512(512 个输入 token,不生成)和 TG128(生成 128 个 token),两者均从上下文深度零开始。
在 Build history 标签页中,可追踪所选硬件、模型和量化方案在所有已记录构建版本上的 PP512 与 TG128 表现。
在 Context scaling 标签页中,可查看所选构建版本、硬件、模型和量化方案下,token 生成吞吐随已有上下文增长的变化情况。
指标含义
看板展示两项独立测试,单位均为 tokens/秒:
| 测试 | 工作负载 | 可评估的内容 | |------|----------|--------------| | PP512 | 处理 512 个输入 token | 模型处理提示词的速度 | | TG128 | 生成 128 个 token | 模型产出输出的速度 |
两项测试均从上下文深度零开始(n_depth=0)。PP512 衡量在不生成的情况下处理 512 个输入 token 的速度;TG128 衡量在没有已有上下文的情况下生成 128 个 token 的速度。图表中绘制的数值为平均吞吐(avg_ts)。这些是有用的参考工作负载,而 Context scaling 标签页则可让你探索 token 生成吞吐随上下文增长的变化。
基准测试的运行方式
我们对通过 llama-install.sh(llama.app 背后的构建与安装项目)分发的预编译二进制进行基准测试。公开的 gfx1151 和 gfx1201 工作流每周调度一次,使用 llama-bench 工具运行标准基准测试,Flash Attention 分别开启和关闭,每种配置重复 10 次。
模型集合持续演进,目前包括 Inkling 2 Mini、Qwen、Gemma、gpt-oss 和 LFM 系列模型,覆盖稠密架构与混合专家(MoE)架构。可用的 GGUF 格式包括 Q4_K_M、Q8_0、其他量化方案,以及 BF16、F16 等更高精度格式。
查看与复用结果
浏览器直接读取 Hugging Face 上公开的 ggml-org/install.sh-benches-data Storage Bucket。图表标题旁的数据源链接会打开所选构建版本、硬件和模型对应的文件夹。
标准结果使用 <build>/<hardware>/<model>/<quant>.jsonl 路径。工作负载扫描使用同一文件夹下的 <quant>-tg.jsonl 文件名。
你可以用这些数据调查某个结果、制作自己的图表,或与本地运行结果进行对比。
参与讨论
感谢 AMD 团队提供测试基础设施并协助验证环境配置!欢迎试用看板、查看数据,并告诉我们你接下来希望看到哪些模型和工作负载。
更多作者文章:
- 我们如何优化工作流并克服 GitHub Actions 的限制(2026 年 11 月 16 日)
- llama.cpp v1.0.0:为本地 AI 生态奠定更坚实的基础(2026 年 11 月 13 日)
Back to Articles Introducing the llama.cpp benchmark dashboard for AMD Ryzen and Radeon
TeamArticlePublished November 26, 2026
Upvote 38
angtangt
ggml-org
Simon Pagezypagezyhf
ggml-org
Abdennacer Badaouibadaoui
ggml-orgThe llama.cpp × AMD Benchmark dashboard is available on Hugging Face. It lets you track prompt processing and text generation performance across llama.cpp builds, models, and quantizations, so you can explore how local inference performs on AMD Ryzen and Radeon hardware.
Local inference performance changes as models, kernels, and builds evolve. We want those changes to be easy to inspect for any AMD developer: pick a hardware, a model and a build, compare quantizations, and follow performance over time. The benchmark workflow and underlying results are public, so you can also inspect how we benchmark inference performance.
Quick start
You can choose Hardware, Model, and llama.cpp build in the Configuration sidebar. The current hardware choices are Radeon 8060S (gfx1151) and Radeon AI Pro R9700S (gfx1201).
- In the Overview tab, compare quantizations for one hardware, model, and build. The two charts show PP512 (512 input tokens, no generation) and TG128 (128 generated tokens), both starting at context depth zero.
- In the Build history tab, track PP512 and TG128 across all recorded builds for the selected hardware, model, and quantization.
- In the Contextscaling tab, see how token-generation throughput changes as the existing context grows, for the selected build, hardware, model, and quantization.
What the numbers mean
The dashboard shows two separate tests, both measured in tokens per second:
| Test | Workload | What it helps you assess |
|---|
| PP512 | Process 512 input tokens | How quickly the model processes a prompt |
| TG128 | Generate 128 tokens | How quickly the model produces output |
Both tests start at context depth zero (n_depth=0). PP512 measures processing 512 input tokens without generation; TG128 measures generating 128 tokens without a pre-existing context. The plotted value is the mean throughput (avg_ts). These are useful reference workloads, while the Context scaling tab lets you explore token generation throughput as the context grows.
How we run the benchmarks
We benchmark the prebuilt binaries distributed through llama-install.sh, the build and installation project behind llama.app. The public gfx1151 and gfx1201 workflows are scheduled weekly and run the standard benchmarks using the llama-bench tool with Flash Attention on and off, with 10 repetitions per configuration.
The model set evolves and currently includes Inkling 2 Mini, Qwen, Gemma, gpt-oss, and LFM models, covering both dense and mixture-of-experts architectures. Available GGUF formats include Q4_K_M, Q8_0, other quantizations, and higher-precision formats such as BF16 and F16.
Inspect and reuse the results
The explorer reads directly from the public ggml-org/install.sh-benches-data Storage Bucket on Hugging Face. The data source link beside the chart title opens the folder for the selected build, hardware, and model.
Standard results use <build>/<hardware>/<model>/<quant>.jsonl. Workload sweeps use the same folder <quant>-tg.jsonl filename.
Use them to investigate a result, make your own charts, or compare with a local run.
Join the conversation
Thanks to the AMD team for providing test infrastructure and helping validate the setup! Try the dashboard, inspect the data, and let us know which models and workloads you would like to see next.
More from this author

How we optimized our workflows and overcame GitHub Actions limitations
8November 16, 2026
Hotllama.cpp v1.0.0 : A stronger foundation for the local AI ecosystem
239November 13, 2026Community
Upload images, audio, and videos by dragging in the text input, pasting, or clicking here.Tap or paste here to upload images
·Sign up or log in to comment
Upvote 38