█

AI/TLDR

stew675 · 2026-11-26 · notable

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

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.

stew675 · 2026-11-26 · 3 sources checked

GitHub card for the stew675/llama-cpp-rdna-boosts repository

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

What is it?

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 does it work?

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 does it matter?

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 is it 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)

Sources · 3 outlets

Tags

  • llama-cpp-rdna-boosts
  • llama-cpp
  • amd
  • rdna
  • rocm
  • radeon
  • local-llm
  • gguf
  • inference
  • open-source
  • hacker-news
// NEVER MISS A RELEASEGet every AI release the moment it shipsFree Telegram channel · 1-line TLDRs · no emailJoin on Telegram

← All releases · Learn AI