An AMD-Only llama.cpp Patch Set Claims Prefill Rose From 700 to 1,300 Tokens a Second, With No Method Published
Software / news
An AMD-Only llama.cpp Patch Set Claims Prefill Rose From 700 to 1,300 Tokens a Second, With No Method Published
The stew675 fork re-applies 17 or 18 patch blocks, depending on which README line you read, to a pinned llama.cpp commit. A blog post supplies the headline numbers, and the repository supplies the caveats.

A fork called llama-cpp-rdna-boosts is circulating on Hacker News after a November 26 post on devnull.land recommended it for AMD graphics cards. The post claims prefill speed rose from about 700 to about 1,300 tokens a second and generation from about 35 to about 55, on one machine, with no method given.
The repository is a set of patches that is applied to a pinned commit of llama.cpp rather than a full fork. It had 313 stars and 27 forks when fetched on November 26.

What the llama.cpp AMD patches change
The README lists the work as AMD RDNA-specific: multi-token prediction (MTP) decoding, chunked gated-delta-net prefill, a BF16 KV cache with WMMA flash attention, fused mixture-of-experts and k-quant decode paths, a hybrid all-reduce, and attention memory savings. It also adds support for a model it calls qwen4exp (Qwen3.8-Flash-Next).
The patches are described as on by default, with the README saying you "should not need to set any environment variable." The current release is tagged v17-919794500-r355, built on upstream commit 919794500, re-based on November 20.
The supported list is RDNA3 (gfx1100), RDNA3.5 (gfx1150 and gfx1151, the Strix Point and Strix Halo parts) and RDNA4 (gfx1200 and gfx1201). RDNA2 is best-effort: a Radeon Pro V620 passed test-backend-ops for an outside tester, and the maintainer says they own no RDNA2 card.
The numbers, and who supplied them
The devnull.land post gives approximate figures for an AMD R9700 attached to a laptop through an external GPU connection, running the ukisai Swift-1.5-Qwen3.8-27B model at Q6_K_L with MTP on. The author wrote "YMMV" and published no prompt lengths, repeat runs or llama.cpp commit for the baseline. These are single-author, unreplicated figures.
- Prefill, before700 tokens/s
- Prefill, after1300 tokens/s
- Generation, before35 tokens/s
- Generation, after55 tokens/s
Source: devnull.land, AMD-specific fork of llama.cpp, accessed 2026-11-26
The repository's own README carries more figures, all from the maintainer. On one R9700, a TQ2_0 model measured 4,177 tokens a second on the pp512 prefill test against 258 for the CPU backend. With two R9700 cards and a 2,000-token decode, tensor split reached 35.5 tokens a second against 25.7 for layer split. A mixed pair of one RDNA3 and one RDNA4 card decoded at 47.3 against 27.8.
The README warns that results vary by card, context depth and split mode, and says not to assume one setting wins everywhere.
Licence, upstream status and open bugs
The code is MIT, as llama.cpp is, with one exception. The chunked gated-delta-net kernels in block 03 are ports of Apache-2.0 code from a project called radiance, and a NOTICE file describes the scope.
Some blocks are candidates for upstream contribution. Others are expected to stay in the fork, and the all-reduce is limited to RDNA4 until someone confirms it on RDNA3 pairs. The README lists a two-arm server in beta/ that corrupts output under heavy concurrent load (TODO #378), non-deterministic output when -np exceeds 1 with --kv-unified (issue #134), and a hipBLASLt solution-selection problem on ROCm 10.1 and earlier that the maintainer works around with ROCBLAS_USE_HIPBLASLT=0 (issue #67). It also states the default patch count two ways, 18 official blocks in one place and 17 in another.
The devnull.land author describes the documentation as "somewhat opaquely" written and the code as "straight Claudish," meaning it reads as model-generated. The prebuilt container is ghcr.io/stew675/llama-cpp-rdna-boosts:server-rocm-10.1, run under podman with /dev/kfd and /dev/dri passed in.
The upstream project is llama.cpp, MIT-licensed, with 136.4k stars. Nothing fetched says whether any block has an open upstream pull request, so the next thing to watch is whether the maintainer files one for the RDNA4 all-reduce. Related on the site: CLI-Anything's 65,800 stars and Anthropic's CPU claim show the same pattern of figures arriving before the method.
Sources
More in Software
- 01Superpowers Passes 327,000 Stars While Its 208 Open Issues Track 16-Agent SupportThe MIT-licensed skills framework from Jesse Vincent is trending again, with no controlled study behind its productivity claims.
- 02Rvoip, a Rust SIP Stack at 346 Stars, Spells Out What It Has Not Yet MeasuredThe MIT-licensed library reports 8,348 TLS calls per second on one AWS instance and lists relay mode, failover and long-call capacity as untested.
- 03Google Play Sets Feb. 1 Deadline for Trader Status, With Contact Details Public From March 1Google's trader-declaration page and its personal-account page disagree on whether a solo developer's phone number goes public.
- 04Firecrawl Hits 211,100 Stars, but Self-Hosting Leaves Alexandria and Four Features in the CloudThe AGPL-3.0 scraping API for AI agents is trending, and its tracker shows 144 open issues, six of them tagged self-host.