A community project called llama-cpp-rdna-boosts layers 19 AMD-specific patches on top of llama.cpp. One user who tried it on an AMD R9700 reports that prefill rose from about 700 to about 1,300 tokens per second and generation from about 35 to about 55. That is one person, one GPU and one model. It is a claim worth testing, not a benchmark result. The repository is public and the setup is a single container.
This post explains what the patch set does, what the evidence is, what the Hacker News discussion raised, and how to try it without putting your main setup at risk.
Quick answers
| Question | Answer |
|---|---|
| What is it? | A patch set for llama.cpp that targets AMD RDNA GPUs, kept as git commits on a pinned llama.cpp checkout. |
| Who makes it? | The repository belongs to the GitHub user stew675. It is not a ggml-org release. |
| Which GPUs? | RDNA 3, RDNA 3.5 and RDNA 4 are listed as supported. RDNA 2 is best-effort. |
| The headline number? | 35 to 55 tokens/s generation and about 700 to 1,300 tokens/s prefill, from one user on an R9700. |
| Is it verified? | The repo documents its own benchmarks and gates. The user numbers come from one blog post. No independent test is known. |
| How do I try it? | Pull the prebuilt ROCm container image, or apply the patches to llama.cpp yourself. |
What the repository says it contains
The README describes the project as a patch collection that brings AMD RDNA-specific performance work to llama.cpp. It lists several areas of work:
- MTP decode. Multi-token prediction, a form of speculative decoding, where the model drafts several tokens ahead and checks them in one pass. The repo also adds an adaptive draft depth option.
- Chunked gated-delta-net prefill. A faster way to process long prompts for model families that use that layer type.
- BF16 key-value cache and WMMA flash attention. WMMA is the matrix instruction set on RDNA3 and newer. Faster attention helps most with long context, where the KV cache grows.
- Fused mixture-of-experts and k-quant decode paths. These target the quantized and sparse models that people run on consumer cards.
- A hybrid all-reduce. For multi-GPU setups. The README says this part is RDNA4-only and falls back to RCCL elsewhere.
- Support for a new architecture and an attention-memory campaign. The README says it frees several GiB of VRAM.
It ships as 19 default patches for a clean llama.cpp checkout at a pinned fork point, which the README dates to the 2026-11-20 rebase of upstream master. Each block is one git am commit, and the series is linear, so you apply it whole. The README says everything the delivery adds is on by default, so you should not need to set environment variables. Kill switches and diagnostics sit in a separate document.
Two details matter for trust. First, the README states that two further blocks are optional and not in the default set, and a beta folder holds a patch with a known open defect that "corrupts under heavy concurrent load". The author documents that openly and keeps it out of the release. Second, the repository has a release identity file and a long worklog, with a release tag per change. That is more process than most one-person forks have.
The user report: 35 to 55 tokens per second
A gauge with a lightning bolt, standing for the reported llama-cpp-rdna-boosts speedup on an AMD R9700
The story reached Hacker News through a short blog post by a developer who runs local models on an AMD R9700 connected to a laptop through an eGPU. Their summary: use the project if you have an AMD graphics card, because it is lean. They give this table for the model ukisai/Swift-1.5-Qwen3.8-27B-GGUF at Q6_K_L with MTP enabled:
| Metric | Before | After |
|---|---|---|
| Prefill | about 700 tokens/s | about 1,300 tokens/s |
| Token generation | about 35 tokens/s | about 55 tokens/s |
The author adds "YMMV" in their own summary. That is the right reading. It is a single run on a single configuration, and the post does not publish the exact commands, context length or the baseline llama.cpp build. The blog also says the project documentation is "somewhat opaquely, it's all straight Claudish" meaning it is largely AI-written. That is an honest note, and it is a reason to read the patch descriptions yourself.
For context, ggml-org published a public weekly benchmark dashboard for AMD Radeon GPUs on the same day. It tracks stock llama.cpp builds on the Radeon 8060S and the AI Pro R9700S. That gives you a neutral baseline. If you want to know whether a patch set beats upstream on your card, compare your own numbers with that baseline rather than with a before-and-after from one blog.
Why patch sets like this are appearing
The blog post that surfaced the project opens with a wider claim: as of November 2026 there has been "an explosion" of bespoke inference engines that take inspiration from llama.cpp, SGLang and vLLM. The author names Strata, Basalt and RustingStrata as examples and says they share three traits: they focus on a narrow set of models or hardware, they use a frontier model to write much of the code, and they chase ever-higher token speeds.
The author then draws a line. Their concern is that some of these engines have moved from hardware-specific changes to changes in how the model behaves. They give one example: Strata, they say, prefers experts already loaded in VRAM even when the router would have chosen others. That is the author's description, not a verified finding, and you should read our own coverage of Strata running a 125B model at 100 tokens per second on a consumer GPU and the 4 GB GPU hybrid offload result with that question in mind: does the speedup keep the same outputs?
This is the key difference the author draws with rdna-boosts. The patch set changes kernels and scheduling, and the README says it gates releases on numerics. It ships a prefill-logit KLD release gate, which compares the probability distribution of the patched build against a baseline. KLD, or Kullback-Leibler divergence, is a standard way to measure how far a modified model's output probabilities drift. A near-zero value means the output distribution barely moved. The README quotes a KLD of about zero for one of its memory tiers, though I have not rerun any of its gates.
Speculative decoding such as MTP is designed to keep output identical to normal decoding when it is implemented correctly, because the main model verifies every drafted token. That is a useful property to check, not a guarantee. If you try the patches, run a fixed prompt with temperature zero on both builds and compare the text.
What Hacker News commenters said
The Hacker News thread had 56 points and 11 comments at the time of writing. The useful points:
- Quality checks. User pixelesque asked whether anyone is checking output quality for these optimisations or just chasing speed, since stochastic sampling makes this hard to see. This is the central open question for the whole category.
- Upstreaming. User pyrolistical asked why llama.cpp does not take these as pull requests. The visible thread has no answer. The repository does include an upstream folder for pull-request candidates, but I could not tell from the README which blocks are headed upstream.
- Other reports. User rsolva said they had Claude improve llama.cpp for a model on their 7900 XTX and saw a big gain in decode and prefill. User dofm reported a roughly tripled speed for a Qwen 27B model on an M1 Max using a different port. These are personal reports and are not checked.
- Older cards. User rao-v pointed to the gfx906 generation of AMD datacenter cards, which have fast memory but no tensor cores, and to the community optimisation work around them. The rdna-boosts README does not list that family.
What is verified and what is not
A magnifying lens inspecting one replacement tile, standing for checking each AMD llama.cpp patch before you trust it
| Claim | Status |
|---|---|
| A patch set called llama-cpp-rdna-boosts exists with 19 default patches | Confirmed in the public README |
| It targets RDNA3, 3.5 and 4, with RDNA2 best-effort | Confirmed in the README |
| Release gates include a prefill-logit KLD check | Stated in the README. Not rerun by us |
| Prefill about 700 to 1,300 tokens/s and generation about 35 to 55 tokens/s | One user report, one R9700, one model |
| Output quality unchanged | The README claims numerics assurance. No independent test is known |
| The project is better than other AMD forks | No head-to-head comparison seen |
How to try it with less risk
- Record a baseline first. Run stock llama.cpp with the same model, quantization and context on your card, and note prefill and generation speeds. The ggml-org dashboard gives a reference for two GPUs.
- Use the container. The blog author used the prebuilt image and ran it with podman, passing the
/dev/kfdand/dev/dridevices. This keeps the patched build out of your system install. - Match your GPU to the table. The README says images built before a certain date lack code for Strix Point and fail on the first kernel launch. If you have that chip, read the Strix Point section before you pull.
- Compare output. Run one fixed prompt at temperature zero on both builds and diff the text. Then compare long-context behaviour.
- Pin the version. The tag identifies the llama.cpp fork point, so record it. A patch set that rebases often can change under you.
If you serve models to other people, also read the README's note about concurrency. The beta server mode with a known defect is outside the default set, so avoid --include-beta on a shared box.
What this means for people who run local models
The practical reading is narrow. If you own an RDNA3 or RDNA4 card and you run a 27B-class model, the patch set is worth an hour of your time, because the kernel work it lists targets the exact bottlenecks of that setup. If you rely on upstream stability, wait for independent numbers or for the work to land in llama.cpp itself. The llama.cpp 1.0 stable release gives you a steadier base to compare against, and our vLLM versus SGLang comparison covers the server-side alternatives.
For teams that want to build skills in local inference and agent tooling, explainx.ai runs live sessions in its workshops. The broader trend, many small engines racing each other with AI-written code, makes careful measurement a skill worth having: fixed prompts, a baseline, a KLD or output diff, and a pinned version.
Bottom line
llama-cpp-rdna-boosts is a documented, openly gated patch set for AMD RDNA GPUs, and one user reports a large speedup on an R9700. The speedup is plausible given the kernel work the README lists, but the only public number so far is a single blog table. Test it on your card, check the output, and treat the figure as a lead, not a result.
