---
id: 18369
lang: en
title: "llama.cpp Patches Speed Up Radeon: Generation Goes From 35 to 55 Tokens/s, Prompt Processing From 700 to 1300"
published_at: "2026-11-27 00:26:49"
source_name: "Hacker News AI"
source_url: "https://devnull.land/amd-specific-llama-cpp"
canonical_url: "https://news.hamidun.com/en/news/18369"
categories: ["research", "hardware"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# llama.cpp Patches Speed Up Radeon: Generation Goes From 35 to 55 Tokens/s, Prompt Processing From 700 to 1300

> **Краткая суть (BLUF):** Local models on AMD graphics cards often run slowly, and trendy homegrown engines speed them up by altering the model's own behavior. The rdna-boosts patches for llama.cpp take a different route: on an AMD R9700 connected to a laptop via eGPU, response generation went from 35 to 55 tokens per second, and prompt processing from 700 to 1300. If you have a Radeon, try the ready-made image first rather than an exotic fork.  • Response generation: +57% (35→55 tokens/s), prompt processing: +86% (700→1300) • Ready-made podman image with ROCm: no need to build it yourself • One author's measurement on a single 27B model; your results may differ

Running language models on an AMD graphics card is possible, but it often turns out slower than you'd like. That creates the temptation to grab one of the trendy homegrown engines that promise record speeds. One developer took a different route and described the result. He used rdna-boosts, a small set of patches for llama.cpp (the popular open-source engine for running models locally) tailored to AMD cards. On his machine, response generation speed rose from 35 to 55 tokens per second, and prompt processing speed rose from 700 to 1300 tokens per second. A token is roughly a word or part of one, so this is about how fast the model writes its answer and how fast it reads your request.

## What Exactly Changed

The author ran the Swift-1.5-Qwen3.8-27B model (the ukisai version in GGUF format, quantized to Q6_K_L, a way of compressing weights so they fit in memory) on an AMD R9700. The card is connected to the laptop as an external device through an eGPU enclosure. Generation sped up from 35 to 55 tokens per second, roughly 57%. Prefill, meaning the processing of the input prompt before the first word of the answer appears, rose from 700 to 1300 tokens per second, almost 86%.

The prefill gain is felt even more in practice. If you feed the model a long code file or a large document, this speed determines how long you wait before the answer begins. The near-doubling here matters more than the increase in generation itself.

The author himself hedges with "YMMV", meaning your results may differ. This is a measurement on one configuration and one model, without independent verification.

## How It Works

rdna-boosts is not a full fork that drifts away over time. It is a minimal set of changes that is repeatedly applied on top of a pinned version of llama.cpp. The base engine stays stable, while the AMD-specific improvements live in a separate layer. The author likes this approach for three reasons. First, llama.cpp scrutinizes third-party contributions carefully. Second, the fewer modified places, the less maintenance. Third, the changes are documented.

The documentation is not entirely smooth, though. The author admits the description is rather murky because, in his words, it is "pure Claude": the text was generated by a model. There is transparency, but such text should be read with caution.

Installation is simple. If ROCm (AMD's software stack for GPU computing) libraries are present on the system, you can build the image yourself. The author didn't bother and took a ready-made image from the GitHub registry: podman pull ghcr.io/stew675/llama-cpp-rdna-boosts:server-rocm-10.1. The inference server then runs in a sandbox, and the models folder is mounted inside. He has not yet tested how updates work and assumes it is enough to download a new image.

## Why the Author Avoided Trendy Forks

According to the author, by November 2026 a multitude of narrowly specialized inference engines had appeared: Strata, Basalt, RustingStrata, and others. Many are inspired by llama.cpp, SGLang, and vLLM. They share three traits: they target a narrow set of models or hardware, they are written almost entirely with a frontier model ("vibe coding"), and they chase ever-higher token counts.

The results are impressive. Strata runs a heavily quantized model from the Qwen 3.8 Flash Next family on a card with 16 GB of video memory and 16 GB of system RAM, and produces tokens at a high rate. But the race has a side effect. Some optimizations target not the hardware but how the model itself behaves. For example, Strata, the author writes, prefers "experts" (parts of a mixture-of-experts model) that are already loaded into video memory, even when the model's design calls for choosing others, those pushed out to system RAM or disk. Speed rises, but you get not quite the model whose quality was evaluated.

Another example is a vLLM fork with AMD patches. The author tried it, but the build was too heavy, and vLLM itself is overkill for the scenario of "one machine, one developer." He went back to plain llama.cpp.

## What Follows

If you have a Radeon, before switching to an exotic engine, it is worth trying small patches on top of a proven base. It is a quick experiment: download the ready-made image and compare your own numbers.

The limitations are obvious. One measurement on one card is not a benchmark. The image is tagged server-rocm-10.1, which ties it to a specific ROCm version. The documentation was written by a model, so before using this in serious work it is worth reading the patches themselves. Choosing between "faster at any cost" and "predictable and maintainable," the author chose the latter.

---
- **Первоисточник:** [Hacker News AI](https://devnull.land/amd-specific-llama-cpp)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18369
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
