AMD RDNA llama.cpp patches raise reported prefill and token speeds
Original title: AMD Specific Patches for Llama.cpp
On an AMD R9700, the author measured prefill rising from 700 to 1,300 tokens per second and generation from 35 to 55.
A devnull.land post recommends llama-cpp-rdna-boosts, a small AMD-specific patch set reapplied to pinned llama.cpp commits and shipped as a ROCm container. The author reports faster prefill and token generation on an AMD R9700 eGPU running a Q6KL GGUF of Swift-1.5-Qwen3.8-27B with MTP enabled. The post contrasts that approach with newer engines such as Strata, which the author says raise speed partly by changing which experts the model selects. Prebuilt images are published under ghcr.io/stew675/llama-cpp-rdna-boosts.
Unconfirmed: Speed figures are one author's measurements on an eGPU laptop setup and may not generalize.
- Reported prefill rose from 700 to 1,300 tokens per second.
- Reported generation rose from 35 to 55 tokens per second.
- The container tag cited is server-rocm-10.1.
- The tested file was ukisai/Swift-1.5-Qwen3.8-27B-GGUF at Q6KL.
- Vendors
- AMD
- AI models
- Swift-1.5-Qwen3.8-27B
From the original article
3 min read at devnull.landtl;dr — I recommend using llama-cpp-rdna-boosts if you have an AMD graphics card. It’s lean, and increased my token generation from 35 to 55 tokens/second, and my prefill from 700 to 1300 tokens per second. YMMV.
By julianlam · devnull.land
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.