← All news

AMD-specific patches for llama.cpp published

devnull.land (blog author)

A set of patches targeting AMD hardware for llama.cpp, the open source library for running language models locally, was shared on Hacker News and drew moderate discussion.

Source: devnull.land ↗ · By CapyLaunch

Hardware testedAMD R9700 connected via eGPU interface
Model testedukisai/Swift-1.5-Qwen3.8-27B-GGUF (Q6_K_L) with MTP enabled
PrefillAbout 700 t/s before, about 1300 t/s after
Token generationAbout 35 t/s before, about 55 t/s after
DistributionPre-built container image on ghcr.io

llama-cpp-rdna-boosts is a set of AMD-specific patches for llama.cpp, the open source library for running language models locally. The patches are applied against a pinned commit of llama.cpp and are reapplied to newer versions, so it works like a fork with a small, maintained changeset.

The repository holds a minimal set of changes applied on top of llama.cpp. A prebuilt container image is published, which avoids building the ROCm libraries locally. The image runs the inference server with access to the AMD GPU devices. The author notes that upgrading would mean pulling a new image, though they had not tried this yet.

The author reports much faster prefill and token generation on an AMD GPU compared with the same model before the patches. The project is smaller than full forks, with fewer moving parts to maintain, and its changes are documented. Builders running local inference on AMD hardware may get better speed without moving away from a stable base.

For builders: If you run local inference on AMD GPUs, these patches may improve support for your hardware, but check the source before adopting them.

For: Developers and indie makers who run local language model inference on AMD graphics cards.

Try:

https://devnull.land/amd-specific-llama-cpp

Do I need to build it myself?

Not necessarily. The author used a pre-built image, which avoids installing the ROCm libraries locally. Building the image yourself is also possible if ROCm is already installed.

How is it different from llama.cpp?

It is a small set of AMD-specific patches applied on top of a pinned llama.cpp commit. The changeset is reapplied to newer llama.cpp versions.

Are the results guaranteed?

No. The author notes that results may vary (YMMV) and reports numbers from their own setup only.

All 3 Open source stories →

Spotted a mistake? Email hello@capylaunch.com and we will correct it. How we make CapyLaunch TLDR News.

Get CapyLaunch Weekly

New indie launches and the week in AI tools and models, every Monday. Free, and you can unsubscribe anytime.

We send a confirm link first. Privacy