# An AMD llama.cpp fork lifts R9700 token generation from 35 to 55 t/s

> llama-cpp-rdna-boosts is a small patch set re-applied to pinned llama.cpp commits; one R9700 user reports prefill up from ~700 to ~1300 t/s on a 27B Qwen3.8 model.

- Published: 2026-11-27
- By: Samir Sengupta (https://www.samcodeman.com/about)
- Canonical: https://www.samcodeman.com/writing/amd-llama-cpp-fork-rdna-boosts-r9700-35-to-55-tps
- How this was made: Drafted with Claude, Anthropic's model from 1 cited source, then checked against it in a second editing pass. Editorial policy: https://www.samcodeman.com/editorial-policy

## The short version

- llama-cpp-rdna-boosts is a set of small AMD-specific patches applied against a pinned llama.cpp commit and continually re-applied to newer versions, not a rewritten engine.
- The only published numbers come from one AMD R9700 over eGPU running a Q6_K_L Qwen3.8-27B GGUF with MTP: prefill rose from ~700 to ~1300 t/s and generation from ~35 to ~55 t/s.
- The source reports no memory savings, no list of supported GPUs or models, no baseline backend and no output-quality checks.
- Owners of older gfx906 datacenter cards should not expect gains from RDNA-focused patches, according to one commenter who maintains a Vega-specific fork.

An AMD llama.cpp fork called llama-cpp-rdna-boosts raised token generation from about 35 to about 55 tokens per second on one user's AMD R9700. Prefill rose from about 700 to about 1300 tokens per second on the same card. The test model was ukisai/Swift-1.5-Qwen3.8-27B-GGUF at Q6_K_L with MTP enabled. The project is a small set of patches applied to a pinned llama.cpp commit, not a new inference engine. The post reports no memory figures and does not list which AMD GPUs or models are supported.

The report comes from a devnull.land post published on 2026-11-26. It is one data point on one machine, and the author adds "YMMV". The post places the project against a wave of bespoke engines such as Strata, Basalt and RustingStrata. According to the author, Strata runs a heavily quantized Qwen 3.8 Flash Next, a 180B parameter model, on a 16GB VRAM card with 16GB of system RAM. The author's complaint is that some of these engines chase speed by changing model behavior. Strata, for example, prefers experts already loaded in VRAM even when experts pushed to system RAM or disk would normally be chosen.

## What the AMD llama.cpp fork actually changes

The post describes llama-cpp-rdna-boosts as a repository that holds "a minimal set of changes that you apply against a pinned commit of llama.cpp." The author calls it "in essence a fork", but its changeset is continually re-applied to newer llama.cpp versions. In practice that makes it a rebasing patch series rather than a hard fork that drifts from upstream. The author treats this as the main advantage: fewer moving parts and less to maintain. The patches sit on a base where, in the author's words, contributions are vetted thoroughly and applied judiciously.

> It contains AMD-specific improvements that drastically improve prefill and token-generation speeds.
>
> - devnull.land, AMD-specific fork of llama.cpp

The source does not say which kernels or code paths the patches touch. It says the changes are outlined in the project's documentation, "somewhat opaquely", because the documentation is written in model-generated prose. The post also does not say whether the baseline was llama.cpp's upstream ROCm backend or its Vulkan backend. It says only that the author had been using vanilla llama.cpp. Anyone who needs a backend-by-backend comparison will have to measure it.

## R9700 prefill rose 86%, generation 57%

The test machine was an AMD R9700 connected to a laptop through an eGPU interface. The model was ukisai/Swift-1.5-Qwen3.8-27B-GGUF, quantized to Q6_K_L, with MTP enabled. Prefill went from about 700 to about 1300 t/s, roughly 1.86x. Token generation went from about 35 to about 55 t/s, roughly 1.57x.

- Prefill: ~700 t/s before, ~1300 t/s after
- Token generation: ~35 t/s before, ~55 t/s after
- Hardware: one AMD R9700 over eGPU
- Model: Swift-1.5-Qwen3.8-27B-GGUF, Q6_K_L, MTP on

The source gives no memory figures. It does not report VRAM use, KV cache size or maximum context before and after, so the post supports no claim about memory gains. It also leaves out context length, batch size, prompt length, run count and the exact llama.cpp commits compared. These numbers come from one eGPU setup, and the post does not test any other configuration.

## Which AMD GPUs and models are covered

The name refers to RDNA, but the post does not list supported GPU generations or models. The only tested combination is the R9700 with a 27B Qwen3.8 derivative. On Hacker News, one commenter running a 7900XTX described a separate effort: using Claude to patch llama.cpp so Inkling 2 Mini runs faster on that card. That commenter called the improvement dramatic for both decode and prefill. It is a different project and is not evidence for how rdna-boosts performs on a 7900XTX.

That note covers the Inkling 2 Mini model that the 7900XTX commenter was tuning llama.cpp for. See: [Inkling 2 Mini is a 26.4B looped MoE that fits in ~20GB and tops DeepSWE at 48.2%](https://www.samcodeman.com/writing/inkling-2-mini-26b-looped-moe-20gb-deepswe-48-percent)

Older AMD hardware sits outside this work. One commenter maintains a personal llama.cpp repo for the circa-2018 gfx906 datacenter cards. Those cards pair 32GB of HBM2 at about 1 TB/s with no tensor cores and no native bf16. That commenter said work focused on more modern RDNA "doesn't help us at all." Strix Halo users have other options: one commenter named Halogen and GUFO as engines for that platform, and Lemonade as a way to call them.

## Running the server-rocm-10.1 image under podman

The author skipped a local build and used the pre-built image. Building from source is possible on a system with ROCm libraries installed. The run command passes the KFD and DRI devices into the container, adds the video group, and mounts a local models directory. The author says the real launch script passes more flags that the post does not show.

```bash
podman pull ghcr.io/stew675/llama-cpp-rdna-boosts:server-rocm-10.1

podman run --rm -it \
 --network=host \
 --device /dev/kfd \
 --device /dev/dri \
 --group-add video \
 -v "$HOME/models:/models" \
 "ghcr.io/stew675/llama-cpp-rdna-boosts:server-rocm-10.1"
```

The author assumes upgrading means pulling a newer image but has not tried it. Because the patches are applied against a pinned llama.cpp commit, teams pinning this in a deployment should record the image digest and the upstream commit it was built against. The post gives no licence for the patch set and no release cadence.

## Why not upstream these patches into llama.cpp?

The post does not say why the patches live outside upstream. Commenters on Hacker News offered two explanations. One commenter said llama.cpp allows only 2 open PRs per user and that reviews can take months, even for relatively trivial bug fixes, which would make upstreaming a large patch set slow. Another suggested the patches may not work across every architecture llama.cpp supports, so merging them could cause regressions on other hardware.

A commenter who described themselves as a llama.cpp maintainer, not employed by NVIDIA, said a lot of non-NVIDIA work, including AMD support, is happening upstream. That commenter said much of that work is done by Hugging Face / NVIDIA employees, and that they had noticed no change since the NVIDIA acquisition. Another commenter described llama.cpp as the stable product that moves with intent and carries legacy support for many older models.

## Output quality after the patches is unmeasured

The most pointed Hacker News question asked whether anyone checks output quality under these optimizations, or only speed. The source does not answer it for rdna-boosts. The post reports throughput only, with no perplexity, benchmark scores or side-by-side output comparison. The author's case for trusting the project rests on its structure: small patches, documented changes and AMD-specific improvements. The post does not describe any change to expert routing like Strata's, but that argument is about design and is not a measurement.

Another commenter, testing projects on Apple hardware, said several configs produced impressive tokens-per-second numbers but were not usable over longer sessions. Engineers adopting rdna-boosts should run their own long-context and task-level evals before switching. This matters most with MTP enabled, since the published numbers were taken with it on. The author also tried vllm-radiance, a vLLM fork with AMD-specific patches, and dropped it because the build steps were onerous and vLLM was overbuilt for one machine and one developer.

## Questions this raises

### How much faster is llama-cpp-rdna-boosts than vanilla llama.cpp on an AMD R9700?

One user reported token generation rising from about 35 to about 55 t/s and prefill from about 700 to about 1300 t/s. The test used Swift-1.5-Qwen3.8-27B-GGUF at Q6_K_L with MTP on, on a single R9700 connected over eGPU. The post does not state whether the baseline was the ROCm or Vulkan backend.

### Is llama-cpp-rdna-boosts a new inference engine?

No. It is a small set of AMD-specific patches applied to a pinned llama.cpp commit and re-applied to newer versions over time. In practice that makes it a rebasing patch series rather than a hard fork.

### Does the AMD llama.cpp fork affect output quality or memory use?

The source does not say. It reports throughput only, with no perplexity, benchmark scores, VRAM use or context length figures. Users should run their own long-context and task-level evals before switching, especially with MTP enabled.

## Key facts

- Token generation rose from about 35 to about 55 t/s (roughly 1.57x) on one AMD R9700 over eGPU.
- Prefill rose from about 700 to about 1300 t/s (roughly 1.86x) on the same card.
- Test model: ukisai/Swift-1.5-Qwen3.8-27B-GGUF at Q6_K_L with MTP enabled.
- Source is a devnull.land post published 2026-11-26, a single data point marked "YMMV".
- The author ran the pre-built server-rocm-10.1 image under podman. The post gives no licence, release cadence or memory figures.

## Sources

1. [AMD-specific fork of llama.cpp](https://devnull.land/amd-specific-llama-cpp) - devnull.land

Discussion read (practitioners' reactions, not a source): https://news.ycombinator.com/item?id=50657265
