AMD llama.cpp Fork Benchmark: Is +57% tok/s Real?

A viral AMD-specific llama.cpp fork claims +57% token gen and +86% prefill. I dig into the numbers, the quality question, and whether you should actually switch.

Part of theLocal LLM Hardware series
AMD graphics card GPU closeup — illustration for article on AMD llama.cpp Fork Benchmark: Is +57%
Listen to this article
--:--

The AMD-specific llama.cpp fork is a small, patch-based set of GPU kernel changes layered on top of mainline llama.cpp, the MIT-licensed inference engine Georgi Gerganov shipped in March 2023, to squeeze more inference speed out of AMD Radeon hardware. Most people assume "fork" means a hard split with its own codebase. This one doesn't. It's a rebased patch set that tracks upstream, and that single architectural choice is the whole reason it's worth a look.

The post that lit the fuse hit Hacker News on November 26, 2026 with 374 points. The headline amd llama.cpp fork benchmark everyone quoted: token generation jumping from 35 to 55 tok/s and prefill from 700 to 1300 tok/s. Big numbers. The problem is that the source post discloses no model, no quant, no GPU, and no methodology. So before anyone reaches for git clone, the real question is whether that gain is honest kernel work or the kind of accuracy-for-speed trade that a new wave of "vibe-coded" inference engines has started shipping.

That distinction is the entire point of this piece.

Based on the reproducible runs behind the local LLM benchmark database I maintain at kunalganglani.com/llm-benchmarks, a tok/s figure means nothing without the workload shape behind it. I've also watched quantization quality cliffs behave differently from one model family to the next, which is exactly why a "+57%" headline on an undisclosed quant tells you almost nothing.

One caveat up front, because it changes how you read everything below: both the fork and upstream are moving targets. Upstream shipped release v1.1.0 on November 26, 2026, the same day the HN thread blew up, so any patch-based fork can silently break on the next rebase. Pin your commits or you're benchmarking a moving floor.

What is llama-cpp-rdna-boosts and how it works

The fork at the center of this is llama-cpp-rdna-boosts, and the author of the original devnull.land writeup describes it accurately: "a minimal set of changes that you apply against a pinned commit of llama.cpp." It's a fork in spirit, but the changeset gets continually re-applied to newer upstream versions instead of diverging into its own long-lived branch.

A 3D render of the Nvidia logo on a dark grey panel

That matters more than the speed numbers. Upstream ggml-org/llama.cpp carries 136,000-plus GitHub stars and over 26,000 forks, and it gets pushed to daily. A hard fork of a project moving that fast rots in weeks. A patch set that rebases keeps you current with upstream's model support, bug fixes, and quant formats while layering AMD-specific kernel tweaks on top. Fewer moving parts. Fewer things to maintain. Easier to audit.

A fork that makes your tokens faster but your answers worse isn't an optimization. It's a downgrade wearing a benchmark costume.

The tradeoff is fragility at the seam. When upstream refactors a file the patches touch, the patches can fail to apply cleanly. Depending on how the fork handles that, you either get a merge conflict you resolve by hand or, worse, a partially-applied patch that builds but behaves oddly. Every reader needs to understand that structural risk before adopting it.

The setup: hardware, model, quant, and backend

Here's where the HN-trending source post falls down, and where a credible benchmark methodology earns its keep. The devnull.land numbers come with no disclosed model, no quant level, no specific Radeon SKU, and no backend. That's not a benchmark. That's an anecdote with units attached.

Nvidia logo on a green background with abstract spheres

When I set up controlled runs for the site's hardware guides, the minimum disclosure is: exact model and parameter count, quant format (Q4_K_M vs Q8_0 vs an IQ variant changes everything), GPU and its architecture, the backend (ROCm/HIP vs Vulkan), context length, batch size, and the upstream commit hash plus the fork's patch version. Strip those out and a "+57%" headline is unfalsifiable.

The two AMD lineages in play target very different cards. llama-cpp-rdna-boosts aims at modern RDNA consumer GPUs, think the RX 7000 series, which I've written about in the RX 7900 XTX vs RTX 4090 comparison. The other major effort, llama-of-vega.cpp, targets older gfx906 datacenter cards. Different silicon, different kernels, different results. If you don't know which bucket your card falls into, no benchmark number transfers.

AMD llama.cpp Fork Benchmark: tok/s and Prefill vs Upstream

So how much faster is the AMD-specific fork than upstream? Here are the actual reported figures, with attribution, so you can judge them yourself rather than trust a single headline.

Nvidia logo on a green background with abstract 3D elements
ForkGPU / archModel & quantPrefill (tok/s)Token gen (tok/s)Gain vs upstream
llama-cpp-rdna-boostsRDNA (undisclosed)undisclosed130055+86% PP / +57% TG
upstream baseline (same author)RDNA (undisclosed)undisclosed70035—
llama-of-vega.cpp2x gfx906 (MI50/MI60)Qwen3 27B Q8_061437.96+53% PP / +14% TG
llama-of-vega.cpp2x gfx906Qwen3 Flash Next UD-IQ3_XXS65150.46>+100% PP / ~+29% TG

The short version: the RDNA fork's author reports a 57% token-generation uplift and an 86% prefill uplift on their own machine. The gfx906 fork, llama-of-vega.cpp, documents 614 prefill and 37.96 token-gen tok/s on a 27-billion-parameter model at Q8_0, a 53% and 14% gain respectively, measured against a disclosed upstream baseline using the community TheRock ROCm 10.3.0 build.

Notice the pattern. Prefill (time-to-first-token) sees the bigger relative jump; token generation sees the smaller one. That tracks with how these cards are built, and it leads straight into the first real caveat.

ROCm vs Vulkan, and why prefill is the weak spot

Is llama.cpp good on AMD GPUs? Yes, considerably better than it was a year ago, but with asterisks that depend entirely on your card and backend. As HN commenter wolvoleo pointed out in the thread, older AMD cards like the Radeon VII Pro and Instinct MI50 lack dedicated matrix/tensor units, so prefill is structurally the weak point regardless of fork. These forks claw back ground there precisely because there's so much ground to claw back.

Backend choice is its own variable. Does llama.cpp work with AMD ROCm? Yes, via the HIP backend, and that's usually the fastest path on supported cards. But once AMD's official ROCm drops an architecture, as it did for gfx906, Vulkan becomes the fallback, and performance differs sharply between the two. I walked through the broader tradeoffs in the site's ROCm vs CUDA guide and the 2026 consumer GPU compatibility matrix. Rule of thumb: try HIP/ROCm first, benchmark Vulkan as a fallback, and never assume a fork's numbers hold across backends.

The gfx906 revival is a story in itself. AMD officially dropped ROCm support for those Vega 20 cards, but as HN commenter boomskats noted, the community-run TheRock project unofficially restored buildability. That's the only reason benchmarks on those cards exist at all in late 2026.

Donato Capitella's walkthrough of building an inference server on a refurbished Instinct MI50 32GB is a good visual on what running a local LLM on a budget datacenter card actually looks like:

The economics explain the whole cottage industry. As HN maintainer rao-v laid out, circa-2018 gfx906 cards deliver roughly 1 TB/s of HBM2 memory bandwidth, comparable to cards costing $3,000-plus today, for as little as $200 on the used market. When the hardware is that cheap and that bandwidth-rich, a weekend of kernel optimization pays off enormously.

Compatibility gaps and caveats vs mainline llama.cpp

What breaks when you run the patch-based fork instead of mainline? Nobody in the viral thread fully answered that, so here's the honest framework.

  • Model architecture support tracks whatever upstream commit the patches are pinned to. New model families that landed after that commit may not work until the fork rebases.
  • Quant formats are inherited from the pinned base. If upstream adds a new IQ variant post-pin, you won't have it.
  • Server/API mode (llama-server) should work since it's upstream code, but the AMD-specific kernel path only fires on the supported architecture. Run it on an unsupported card and you fall back to generic behavior or an outright build failure.
  • Flash-attention and KV-cache behavior are exactly where the quality question lives. The responsible forks keep an F16 KV cache and avoid lossy shortcuts.
  • Upstream rebase lag is the recurring tax. When llama.cpp refactors, the patches may fail to apply, and you're stuck on an older base until the maintainer catches up.

For a sense of how much flag and quant tuning a fringe setup already demands on stock llama.cpp, the Qwen 35B on 16GB VRAM guide is a decent baseline. Add a patch-based fork on top and you've got another layer of version coordination to manage.

How this compares to llama-of-vega.cpp and the 'vibe-coded' speed-chasers

Can you trust forks claiming huge AMD gains, or are they trading quality for speed? This is the referendum the HN thread actually turned into, and the answer depends entirely on how the speed was obtained.

The devnull.land author named the suspect pattern directly. A class of 2026 forks (Strata, Basalt, RustingStrata) chase tok/s not through hardware-specific kernels but by changing how the model thinks. Strata, per that writeup, prefers to route to mixture-of-experts experts already resident in VRAM even when a different expert would normally be selected. That's how it runs a heavily-quantized 180B-parameter Qwen3 Flash Next on a 16GB card at a surprising clip. It goes fast because it's quietly answering a slightly different question than the model was trained to answer.

Contrast that with the legitimate hardware forks. llama-of-vega.cpp explicitly keeps an F16 KV cache only, does no expert-ablation, and, the part that earns trust, verifies correctness via logit-level KL-divergence testing against upstream. Not a smoke test that checks whether output looks vaguely coherent. That's the difference between a kernel optimization and a behavioral hack. The first makes the same computation faster. The second makes a cheaper, different computation and hopes you don't notice.

So the trust test for any inference-speed fork going forward is one question: did the authors measure output divergence from the reference implementation, or only tok/s? If the README brags about speed and says nothing about perplexity or KL-divergence, treat the speed as suspect until proven otherwise. Simon Willison has made a version of this argument for years in his writing on running models locally. The output is the product, not the throughput. The same skepticism I apply when comparing runtimes like Ollama vs llama.cpp for a local LLM stack applies double here.

Should you switch? Who this fork is and isn't for

Here's my take after weighing the numbers against the risk.

Switch if: you own a supported AMD card (modern RDNA for rdna-boosts, gfx906 MI50/MI60 for llama-of-vega), you're comfortable pinning commits and resolving the occasional failed patch, and you've run your own before/after on your actual model and quant. A 57% token-gen uplift on cheap, high-bandwidth silicon is genuinely worth the setup friction for a home inference box.

Stay on mainline if: you need bleeding-edge model support the day it lands, you run production AI workloads where a silent post-rebase regression is unacceptable, or you're on an AMD card neither fork targets. Upstream's conservatism is a feature when uptime matters more than peak tok/s.

Whichever you pick, run a quality check, not just a speed check. Pull a dozen representative prompts, compare the fork's outputs against upstream on the same seed and sampler settings, and eyeball the divergence. If you want the rigorous version, KL-divergence on logits is the gold standard the serious maintainers already use. Run an AMD card for local AI and measure only tok/s, and you're flying blind on the one metric that decides whether the answers are correct.

My prediction: by mid-2027 the "vibe-coded for speed" forks hit a reckoning when someone publishes a public KL-divergence leaderboard and half of them quietly disappear. The patch-based, rebased-on-upstream model, minimal changes, honest about what they touch, is the pattern that survives.

Speed you can't verify isn't speed. It's marketing with a progress bar.

Photo by Timothy Dykes on Unsplash.

Continue reading

amd-rocm, cuda, local-ai, local-llm, gpu, open-source-ai, ollama, llama-cpp, ai-hardware, rx-7900-xtx, hip

ROCm vs CUDA for Local AI: AMD's CUDA Equivalent Compared

After months of running LLMs on AMD hardware, here's the brutally honest comparison of ROCm vs CUDA that no marketing page will give you — covering real performance, setup friction, and which GPUs actually work.

A laptop displaying lines of code on a screen on a warm orange wooden table

Inkling-2-Mini Local AI Model Benchmark: 5.4GB vs 27B

A 5.4GB open-weight model claiming to beat Qwen 3.8 27B on coding and reasoning. Here's what the Inkling-2-Mini benchmark claims actually hold up to, the architecture that could explain it, and how to run it locally.

Computer screen displaying code with a context menu

Qwen 4 27B Benchmark: Why There's No Qwen 4 Yet

You searched for a Qwen 4 27B local LLM benchmark — but there's no Qwen 4. Here's the real Alibaba release, how the Apache-licensed 27B stacks up against Llama 4 and Mistral, and whether it's worth switching.

smartphone connected to laptop computing cables — illustration for article on Phone as GPU for Local

Phone as GPU for Local LLM: Tested vs Buying RAM

Can a Galaxy S23 act as an extra GPU node for local LLM inference? I break down the real llama.cpp RPC mechanism, the setup, and whether it beats just buying RAM.

Cite this article
Kunal Ganglani (2026, November 27). AMD llama.cpp Fork Benchmark: Is +57% tok/s Real?. Kunal Ganglani. Retrieved November 27, 2026, from https://www.kunalganglani.com/blog/amd-llama-cpp-fork-benchmark

Frequently Asked Questions

Is llama.cpp good on AMD GPUs?

Yes, and it's improved a lot. On supported cards llama.cpp runs well through the ROCm/HIP backend, with Vulkan as a fallback. The main weakness on older AMD cards is prefill speed, because cards like the Instinct MI50 lack dedicated matrix units. AMD-specific forks exist mostly to close that prefill gap.

How much faster is the AMD-specific llama.cpp fork than upstream?

The viral llama-cpp-rdna-boosts post reported token generation rising from 35 to 55 tok/s (+57%) and prefill from 700 to 1300 tok/s (+86%), though without disclosing the model or GPU. The gfx906-focused llama-of-vega.cpp fork documents +53% prefill and +14% token gen on a 27B Q8_0 model with full methodology.

What is llama-cpp-rdna-boosts and how do you install it?

It's a minimal patch set for AMD RDNA GPUs applied on top of a pinned commit of upstream llama.cpp, rather than a divergent hard fork. You install it by checking out the specified upstream commit and applying the patches, then building as normal. Because it's rebased against upstream, patches can occasionally fail to apply after an upstream refactor.

Can you trust forks that claim huge AMD performance gains over llama.cpp?

Only if they prove output quality is unchanged. Legitimate forks like llama-of-vega.cpp verify correctness with logit-level KL-divergence testing and avoid lossy tricks. Speed-chasing forks like Strata reportedly hit high tok/s by changing model routing, sacrificing accuracy. If a fork brags about speed but says nothing about perplexity or KL-divergence, be skeptical.

Which AMD GPUs benefit most from these forks?

Two separate lineages target different cards. llama-cpp-rdna-boosts is for modern RDNA consumer GPUs like the RX 7000 series, while llama-of-vega.cpp is tuned for older gfx906 datacenter cards such as the MI50 and MI60. A benchmark on one architecture does not transfer to the other, so match the fork to your exact card.

Does the AMD fork reduce model output quality?

The responsible hardware-specific forks do not. They keep an F16 KV cache, avoid expert-dropping, and verify output against the reference implementation. Quality degradation comes from a different class of forks that alter model behavior for speed. Always run your own before/after quality comparison on representative prompts rather than trusting the tok/s number alone.