Early in 2025 a bunch of folks realized that AMD made a bunch of cards with mediocre compute but incredibly fast HBM2 memory in their circa 2018 gfx906 datacenter series, so you could get 32GB VRAM capable of incredible 1 TB / s bandwidth for $200 (the closest in today’s cards is north of $3000)
There has been a rich little ecosystem of folks optimizing llama.cpp for these odd cards (no tensor cores, no native bf16 etc.) including my little personal repo https://github.com/kinchahoy/llama-of-vega.cpp. Stuff like this focused on more modern RDNA doesn’t help us at all.
It’s been interesting to see how much each new frontier model can figure out in terms of optimizing for these GPUs and what they can’t!
Fable and Astra will regularly run out of ideas until I point them to someone’s actually thoughtful repo and then they’ll diligently incorporate ideas.
The optimization wins are huge (I was initially skeptical that per model kernel optimizations would be worth much). 27B at a pristine Q8 quant goes from base llama.cpp at some 250 pp / 25 tg to 600 pp / 40 tg even before speculative decoding.
Yeah these cards are great, I have one too. There's the Radeon VII Pro 16GB and the Instinct MI50 with 16 or 32GB. For the latter you need to come up with your own cooling though.
Unfortunately they lack the right matrix processor to accelerate prefill so time to first token can be slow. And software support is getting bad. ROCm dropped them already so there's only Vulkan
Ps I don't think this architecture is supported by the port in this link. It seems to be specific to RDNA.
Checkout the repo - you can get surprisingly good prefill with kernel optimization (not the 3K / s that a 5090 will do but competitive with a modern 9700 XTX or Intel Arc etc)
2 MI50 32 GBs in my rig I got for $300 a piece about 6 months ago. There is also a great discord for people tinkering and optimizing with these cards. I get like 70 t/s with my setup right now running QFN using Strata.
Woah 70 t/s on IQ3 on long context?? Need to test again. I find strata tricky because it’s super willing to degrade quality for tps - I really want as close to the OG model as possible for agentic work.
On my benchmarks it performs equally as well quality wise as q8 3.8 27B, tool calls are marginally worse though. It also runs way way cooler on my cards which is important to me because the blowers for the cards are super loud at high speed. Max context is 200k right now for ref.
I saw some blurb a while ago that described llama.cpp as a “model zoo”, which is a great description of its utility and generality.
In the last couple of days I have been playing with Erik Paperniuk’s M1 port of Inco’s Splash, which has completely transformed the speed of Qwen 3.8 27B and Inkling 2 Mini; it has essentially tripled the speed of the former and more than doubled the speed of the latter.
This means the Qwen model is fully viable on an M1 Max, where before I had found it a bit of a waiting game. And it arguably transforms the utility of Inkling 2 Mini; extra speed means it can be left to reason for longer, the downside of needing to do more tool use for search to patch its knowledge is reduced, and it provides a good rough chat model (though this is not its area of greatest strength).
I have not yet found anything that can boost Muse Glimmer to the same extent; I would still prefer that.
But for me I now find that only the rather slow prefill speed really holds the M1 Max back; I suspect these new custom kernels have made the M5 Pro Mac Mini a really cost-effective option if you want to tinker with local AI.
I have a MI100, and I managed to get Claude to double or triple the performance of Qwen3.8 by aggressively optimizing the AMD code and porting some of the Nvidia kernels to ROCm: https://github.com/fwoar-greenhouse/vicuna.cpp
I've been running this for a while and it seems pretty stable, plus I had Claude validate the ported kernels against the originals to make sure they were reasonably close numerically to the validated implementations.
Julian, are you also able to benchmark Strata, HaloPFX and Hipfire please? All of these are optimised for AMD and perform much better than vanilla llama.cpp.
But the point of choosing this is that these other projects don't just make inference go fast but they also change how the results are calculated:
> as these projects have evolved, that relentless chase toward higher token generation speeds has taken an unfortunate turn, in that the optimizations are less about hardware-specific changes, but more about changing how the model thinks so that it goes brrr faster.
> Strata specifically has taken to preferring to poll experts loaded in VRAM even if other experts (pushed to system RAM/disk) would have been normally chosen. This is just one example, but certainly not the last.
Changes like the one in Strata can degrade the model's performance.
And TBH it seems to be so common all these videcoded "make stuff go faster" do changes like that that personally i have a hard time trusting anything other than llama.cpp (and TBHv2, that includes the linked repository - i'd rather wait for all those improvements reach the mainline llama.cpp).
Interesting! I have had Claude improve llama.cpp the last few days to get Inkling 2 Mini to fly on my 7900XTX, the improvement has been dramatic both for decode and prefill!
Oh it's ruben! Thank you for publishing your work. I was randomly running "ruben llama" for a couple days :D And the article does a great job describing my situation lately -- I think I was earlier in your speed curves, and ended up finding a little more speed from Maya https://github.com/mw00/project-maya
I've been wondering what I can reasonably run on a 7800x3d with 6GB and a 7900xtx with I believe 12 or 24GB vram. Looks like AMD stuff might be back in the races?
I know it's not completely trivial to do this given how stochastic they are with normal (non-0-temperature) settings, but is anyone actually checking the output quality of the tokens with some of these optimisations, or just chasing pure speed like some of the projects at least appear to be doing?
The core llama.cpp team joined Hugging Face in February this year. Thus Hugging Face "owns" llama.cpp.
Nvidia will soon own Hugging Face, this is well known and the deal was finalized in August. Thus, Nvidia owns Hugging Face.
It follows to me that one could say Nvidia now owns llama.cpp. They likely do not own the brand or exert any specific control over it, and hopefully whatever deals gregory signed allows him to walk away with the project if he wants.
If I'm not mistaken there was/is an lm studio for strix halo. seems like it quit working but it was able to punch Qwen 3.6 as fast as the 8060s when it worked.
There is also a llama fork for Ryzen AI and Radeon cards but I'm on mobile.
>"Some examples of these new inference engines* are Strata, Basalt, RustingStrata, etc…
These new forks generally all have a few things in common:
o They focus on a specific subset of models and/or hardware
o They use a frontier model to vibe-code the entire thing
o They chase ever-higher token generation speeds
… and the results are stunning! Strata is able to run a heavily-quantized model of Qwen 3.8 Flash Next, a 180B parameter model, on a 16GB VRAM graphics card, and 16GB system RAM, and have it generate tokens at a surprisingly high rate.
Nice!
Hardware specific optimizations are definitely one key to faster local tokens, algorithmic optimizations (i.e., all of the academic papers published about different Matrix/Tensor algorithm optimizations as pertains to LLMs) are another...
Early in 2025 a bunch of folks realized that AMD made a bunch of cards with mediocre compute but incredibly fast HBM2 memory in their circa 2018 gfx906 datacenter series, so you could get 32GB VRAM capable of incredible 1 TB / s bandwidth for $200 (the closest in today’s cards is north of $3000)
There has been a rich little ecosystem of folks optimizing llama.cpp for these odd cards (no tensor cores, no native bf16 etc.) including my little personal repo https://github.com/kinchahoy/llama-of-vega.cpp. Stuff like this focused on more modern RDNA doesn’t help us at all.
It’s been interesting to see how much each new frontier model can figure out in terms of optimizing for these GPUs and what they can’t!
Fable and Astra will regularly run out of ideas until I point them to someone’s actually thoughtful repo and then they’ll diligently incorporate ideas.
The optimization wins are huge (I was initially skeptical that per model kernel optimizations would be worth much). 27B at a pristine Q8 quant goes from base llama.cpp at some 250 pp / 25 tg to 600 pp / 40 tg even before speculative decoding.
Yeah these cards are great, I have one too. There's the Radeon VII Pro 16GB and the Instinct MI50 with 16 or 32GB. For the latter you need to come up with your own cooling though.
Unfortunately they lack the right matrix processor to accelerate prefill so time to first token can be slow. And software support is getting bad. ROCm dropped them already so there's only Vulkan
Ps I don't think this architecture is supported by the port in this link. It seems to be specific to RDNA.
Checkout the repo - you can get surprisingly good prefill with kernel optimization (not the 3K / s that a 5090 will do but competitive with a modern 9700 XTX or Intel Arc etc)
alignment and introspection call for standardization, homogenization. science calls for evolution: iteration, exploration, divergence.
2 MI50 32 GBs in my rig I got for $300 a piece about 6 months ago. There is also a great discord for people tinkering and optimizing with these cards. I get like 70 t/s with my setup right now running QFN using Strata.
Woah 70 t/s on IQ3 on long context?? Need to test again. I find strata tricky because it’s super willing to degrade quality for tps - I really want as close to the OG model as possible for agentic work.
On my benchmarks it performs equally as well quality wise as q8 3.8 27B, tool calls are marginally worse though. It also runs way way cooler on my cards which is important to me because the blowers for the cards are super loud at high speed. Max context is 200k right now for ref.
I saw some blurb a while ago that described llama.cpp as a “model zoo”, which is a great description of its utility and generality.
In the last couple of days I have been playing with Erik Paperniuk’s M1 port of Inco’s Splash, which has completely transformed the speed of Qwen 3.8 27B and Inkling 2 Mini; it has essentially tripled the speed of the former and more than doubled the speed of the latter.
This means the Qwen model is fully viable on an M1 Max, where before I had found it a bit of a waiting game. And it arguably transforms the utility of Inkling 2 Mini; extra speed means it can be left to reason for longer, the downside of needing to do more tool use for search to patch its knowledge is reduced, and it provides a good rough chat model (though this is not its area of greatest strength).
I have not yet found anything that can boost Muse Glimmer to the same extent; I would still prefer that.
But for me I now find that only the rather slow prefill speed really holds the M1 Max back; I suspect these new custom kernels have made the M5 Pro Mac Mini a really cost-effective option if you want to tinker with local AI.
I have a MI100, and I managed to get Claude to double or triple the performance of Qwen3.8 by aggressively optimizing the AMD code and porting some of the Nvidia kernels to ROCm: https://github.com/fwoar-greenhouse/vicuna.cpp
I've been running this for a while and it seems pretty stable, plus I had Claude validate the ported kernels against the originals to make sure they were reasonably close numerically to the validated implementations.
[delayed]
Julian, are you also able to benchmark Strata, HaloPFX and Hipfire please? All of these are optimised for AMD and perform much better than vanilla llama.cpp.
But the point of choosing this is that these other projects don't just make inference go fast but they also change how the results are calculated:
> as these projects have evolved, that relentless chase toward higher token generation speeds has taken an unfortunate turn, in that the optimizations are less about hardware-specific changes, but more about changing how the model thinks so that it goes brrr faster.
> Strata specifically has taken to preferring to poll experts loaded in VRAM even if other experts (pushed to system RAM/disk) would have been normally chosen. This is just one example, but certainly not the last.
Changes like the one in Strata can degrade the model's performance.
And TBH it seems to be so common all these videcoded "make stuff go faster" do changes like that that personally i have a hard time trusting anything other than llama.cpp (and TBHv2, that includes the linked repository - i'd rather wait for all those improvements reach the mainline llama.cpp).
Interesting! I have had Claude improve llama.cpp the last few days to get Inkling 2 Mini to fly on my 7900XTX, the improvement has been dramatic both for decode and prefill!
https://forge.dmz.skyfritt.net/ruben/llama-inkling-2-mini
Oh it's ruben! Thank you for publishing your work. I was randomly running "ruben llama" for a couple days :D And the article does a great job describing my situation lately -- I think I was earlier in your speed curves, and ended up finding a little more speed from Maya https://github.com/mw00/project-maya
I've been wondering what I can reasonably run on a 7800x3d with 6GB and a 7900xtx with I believe 12 or 24GB vram. Looks like AMD stuff might be back in the races?
The 7900xtx is a beast! But 6 GB of system RAM is not enough I think.
I know it's not completely trivial to do this given how stochastic they are with normal (non-0-temperature) settings, but is anyone actually checking the output quality of the tokens with some of these optimisations, or just chasing pure speed like some of the projects at least appear to be doing?
I think you can set the rng seed and that should make the output reproducable.
true
Incidentally, llama.cpp is now owned by NVIDIA (via their Huggingface acquisition).
~False~
Edit: Looks like I missed an announcement. This is actually now true.
The core llama.cpp team joined Hugging Face in February this year. Thus Hugging Face "owns" llama.cpp.
Nvidia will soon own Hugging Face, this is well known and the deal was finalized in August. Thus, Nvidia owns Hugging Face.
It follows to me that one could say Nvidia now owns llama.cpp. They likely do not own the brand or exert any specific control over it, and hopefully whatever deals gregory signed allows him to walk away with the project if he wants.
Completely true. Please read the following links:
https://github.com/ggml-org/llama.cpp/discussions/19759
https://blogs.nvidia.com/blog/nvidia-to-acquire-hugging-face...
Why won’t llama.cpp take these as PRs?
Any number of reasons, but likely they are not cross-compatible with their entire list of supported architectures, which means regressions for some.
That in and of itself could be a dealbreaker.
llama.cpp is now an Nvidia project (as in, they own it)
So? That doesn't mean they're denying AMD optimization contributions and the deal isn't even closed. You only have a public agreement so far.
but the andy hung told us they are all a big family!
If I'm not mistaken there was/is an lm studio for strix halo. seems like it quit working but it was able to punch Qwen 3.6 as fast as the 8060s when it worked.
There is also a llama fork for Ryzen AI and Radeon cards but I'm on mobile.
Strix Halo has Halogen dedicated to Qwen Flash Next, which is substantially better than anything else for that model on Strix.
GUFO for Strix runs Qwen 3.8 27B faster than llama.cpp and also runs Qwen Flash Next.
Lemonade can let you call all of these on Strix Halo.
Has Halogen been open-sourced?
>"Some examples of these new inference engines* are Strata, Basalt, RustingStrata, etc…
These new forks generally all have a few things in common:
o They focus on a specific subset of models and/or hardware
o They use a frontier model to vibe-code the entire thing
o They chase ever-higher token generation speeds
… and the results are stunning! Strata is able to run a heavily-quantized model of Qwen 3.8 Flash Next, a 180B parameter model, on a 16GB VRAM graphics card, and 16GB system RAM, and have it generate tokens at a surprisingly high rate.
Nice!
Hardware specific optimizations are definitely one key to faster local tokens, algorithmic optimizations (i.e., all of the academic papers published about different Matrix/Tensor algorithm optimizations as pertains to LLMs) are another...
Anyway, great article!