type
Post
status
Published
date
Nov 27, 2026
slug
summary
tags
category
技术分享
icon
password

Tracking Local Inference Performance: A New Benchmark Dashboard for AMD Hardware

Developers working with local AI inference often face the challenge of tracking how performance changes as models, kernels, and software builds evolve. To address this, a new benchmark dashboard for `llama.cpp` has been made available on Hugging Face, specifically targeting AMD Ryzen and Radeon hardware. This tool allows users to monitor prompt processing and text generation performance across various configurations, providing a clearer view of how local inference operates on specific AMD architectures.

Core Features and Configuration

The dashboard is designed to be intuitive for AMD developers who need to compare performance metrics. Users can select specific hardware, a model, and a `llama.cpp` build to generate targeted results. The current hardware options available in the system include the Radeon 8060S (identified as gfx1151) and the Radeon AI Pro R9700S (identified as gfx1201).
The interface is divided into three main tabs to facilitate different types of analysis:
1. Overview Tab: This section allows users to compare different quantizations for a single hardware, model, and build combination. It displays two primary charts: PP512, which measures the processing of 512 input tokens without generation, and TG128, which measures the generation of 128 tokens. Both metrics start at a context depth of zero.
2. Build History Tab: Here, developers can track PP512 and TG128 metrics across all recorded builds for a selected hardware, model, and quantization. This is useful for observing performance trends over time as the software evolves.
3. Context Scaling Tab: This tab shows how token generation throughput changes as the existing context grows. It helps users understand the impact of longer contexts on performance for the selected build, hardware, model, and quantization.

Understanding the Metrics

The dashboard measures two distinct workloads, both reported in tokens per second:
* PP512: This test focuses on prompt processing. It measures how quickly the model processes 512 input tokens. It is a useful reference workload for assessing initial prompt handling speed.
* TG128: This test focuses on text generation. It measures how quickly the model produces 128 output tokens. It helps assess the speed of the generation phase.
Both tests are conducted with a starting context depth of `n_depth=0`. The displayed value represents the mean throughput (`avg_ts`). While these provide standardized baselines, the Context Scaling tab offers a more dynamic view by showing throughput changes as the context length increases.

Benchmark Methodology

The benchmarks are run on prebuilt binaries distributed through `llama-install.sh`, which is the project behind `llama.app`. The system uses public workflows for the gfx1151 and gfx1201 targets. These workflows are scheduled to run weekly, ensuring that the data remains current with the latest builds.
The testing process utilizes the `llama-bench` tool from the `llama.cpp` repository. Benchmarks are conducted with Flash Attention both enabled and disabled. To ensure statistical reliability, 10 repetitions are performed for each configuration.
The set of models tested is evolving and currently includes a mix of dense and mixture-of-experts architectures. The models covered include Inkling 2 Mini, Qwen, Gemma, gpt-oss, and LFM. The dashboard supports various GGUF formats, ranging from standard quantizations like `Q4_K_M` and `Q8_0` to higher-precision formats such as `BF16` and `F16`.

Data Accessibility

One of the key strengths of this tool is the transparency of the underlying data. The explorer reads directly from a public Storage Bucket on Hugging Face, located at `ggml-org/install.sh-benches-data`.
Users can access the raw data files to investigate specific results, create custom charts, or compare dashboard outputs with their own local runs. The file structure is standardized:
* Standard results are stored in `<build>/<hardware>/<model>/<quant>.jsonl`.
* Workload sweep results are stored in `<build>/<hardware>/<model>/<quant>-tg.jsonl`.
This open access allows developers to not only view the trends but also to understand exactly how the inference performance is being benchmarked, fostering a more collaborative and informed approach to optimizing local AI workloads on AMD hardware.
原文出处:Hugging Face, https://huggingface.co/blog/ggml-org/llamacpp-amd-bench
NVIDIA 开源 Nemotron 3.5 Parse 训练数据与加速推理方案:揭秘图表识别与强化学习优化细节Trainium3 实战:利用 LTX-2.5 模型生成视频并优化生成效率
Loading...