# llama-cpp-rdna-boosts — patches that speed up llama.cpp on AMD GPUs

> A patch set for llama.cpp that targets AMD Radeon GPUs and Ryzen AI APUs, with prebuilt ROCm containers.

- Org: stew675
- Date: 2026-11-26
- Category: repo, tool
- Source: https://github.com/stew675/llama-cpp-rdna-boosts/releases/tag/v18-919794500-r366
- Canonical page: https://ai-tldr.dev/releases/stew675-llama-cpp-rdna-boosts/

## In short

llama-cpp-rdna-boosts is an MIT-licensed set of 19 patches that add AMD RDNA-specific speed work to llama.cpp. A Hacker News post says it took a 27B Qwen model from about 700 to 1300 tokens/s prefill on an R9700.

## What it is

llama-cpp-rdna-boosts is a collection of patches for llama.cpp, built for AMD RDNA3, RDNA3.5 and RDNA4 graphics, with RDNA2 as best-effort. Release r366 shipped on 26 November 2026, the day a devnull.land post recommending it reached the Hacker News front page.

## How it works

The project ships 19 default patches that you apply in order with git am to a clean llama.cpp checkout at a pinned upstream commit. They add MTP decode, chunked gated-delta-net prefill, BF16 KV and WMMA flash attention, fused MoE and k-quant decode paths, and memory savings in attention. The right path for each GPU is chosen at runtime, and everything is on by default.

## Why it matters

Owners of AMD cards get large speed gains without changing their llama.cpp workflow. In the devnull.land post, a Swift-1.5-Qwen3.8-27B Q6_K_L model with MTP on an AMD R9700 eGPU went from about 700 to 1300 tokens/s prefill and from about 35 to 55 tokens/s generation; the author says results will vary.

## Who it's for

local-LLM users with AMD Radeon GPUs or Ryzen AI APUs

## Try it

bash <path-to-this-repo>/scripts/apply-all.sh . (inside a llama.cpp checkout at the pinned fork point)

## Links

- [Release r366](https://github.com/stew675/llama-cpp-rdna-boosts/releases/tag/v18-919794500-r366)
- [GitHub Repo](https://github.com/stew675/llama-cpp-rdna-boosts)
- [devnull.land Post](https://devnull.land/amd-specific-llama-cpp)
- [HN Discussion](https://news.ycombinator.com/item?id=50657265)
