explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • Quick answers
  • What the repository says it contains
  • The user report: 35 to 55 tokens per second
  • Why patch sets like this are appearing
  • What Hacker News commenters said
  • What is verified and what is not
  • How to try it with less risk
  • What this means for people who run local models
  • Bottom line
← Back to blog

explainx / blog

llama-cpp-rdna-boosts: AMD Patches Claim 35 to 55 Tokens/s on llama.cpp

llama.cpp, AMD, Local AI, Inference, Open Source

Part of Local AI

A patch set for llama.cpp targets AMD RDNA GPUs. One user reports 35 to 55 tokens/s on an R9700. What the repo ships, what is verified, and how to try it safely.

Nov 26, 2026·9 min read·Yash Thakker
add explainx.ai
go deep
llama-cpp-rdna-boosts: AMD Patches Claim 35 to 55 Tokens/s on llama.cpp

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

table · 2 cols
QuestionAnswer
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.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

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 R9700A 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:

table · 3 cols
MetricBeforeAfter
Prefillabout 700 tokens/sabout 1,300 tokens/s
Token generationabout 35 tokens/sabout 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 itA magnifying lens inspecting one replacement tile, standing for checking each AMD llama.cpp patch before you trust it

table · 2 cols
ClaimStatus
A patch set called llama-cpp-rdna-boosts exists with 19 default patchesConfirmed in the public README
It targets RDNA3, 3.5 and 4, with RDNA2 best-effortConfirmed in the README
Release gates include a prefill-logit KLD checkStated in the README. Not rerun by us
Prefill about 700 to 1,300 tokens/s and generation about 35 to 55 tokens/sOne user report, one R9700, one model
Output quality unchangedThe README claims numerics assurance. No independent test is known
The project is better than other AMD forksNo head-to-head comparison seen

How to try it with less risk

  1. 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.
  2. Use the container. The blog author used the prebuilt image and ran it with podman, passing the /dev/kfd and /dev/dri devices. This keeps the patched build out of your system install.
  3. 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.
  4. Compare output. Run one fixed prompt at temperature zero on both builds and diff the text. Then compare long-context behaviour.
  5. 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.

Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Nov 13, 2026

llama.cpp v1.0.0: What a Stable libllama and libggml Mean for Local AI

ggml-org tagged llama.cpp v1.0.0 on November 13, 2026, after about 3.5 years of development. libllama and libggml now follow semantic versioning, so breaking C API changes show up as major-version bumps. Here is what that promise covers, what it does not, and how to upgrade safely.

Nov 4, 2026

llama.cpp v0.9.0 and ggml 0.29.0: Native FP8, Multi-Node Tensor Parallelism and What Local-AI Users Get

llama.cpp tagged v0.9.0 on November 4, 2026. The ggml 0.29.0 library underneath adds a native OCP FP8 E4M3 tensor type, a new flash-attention op for multi-sequence serving, batched tensor copy APIs and initial multi-node tensor parallelism through NCCL, plus kernel work across CUDA, Metal, Vulkan, SYCL, OpenCL and Hexagon.

Oct 31, 2026

dasllama: A Game-Scripting-Language Inference Engine Claims 5x Faster Speech-to-Text Than llama.cpp on CPU

A new local inference engine written entirely in a game scripting language reports 4x to 7x CPU speedups for speech models and mixed results for LLMs. Here are the numbers, the losses the authors admit, and how to test it yourself.