322 points julianlam 12 hours ago 77 comments
pixelesque 12 hours ago | parent
throwa356262 12 hours ago | parent
exyi 6 hours ago | parent
This guy benchmarked this for vLLM attention backends with its-not-great results: https://forum.level1techs.com/t/why-your-local-llm-feels-dum.... It is not necessarily easy to measure the quality loss. It often matters way more at larger context size - on agentic runs, not Q/A; and agentic benchmarks are more difficult to run than the Q/A ones.
rsolva 12 hours ago | parent
skullone 11 hours ago | parent
ljosifov 10 hours ago | parent
jakswa 10 hours ago | parent
Sha1rholder 10 hours ago | parent
woadwarrior01 12 hours ago | parent
Phemist 11 hours ago | parent
Edit: Looks like I missed an announcement. This is actually now true.
tredre3 11 hours ago | parent
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.
woadwarrior01 11 hours ago | parent
https://github.com/ggml-org/llama.cpp/discussions/19759
https://blogs.nvidia.com/blog/nvidia-to-acquire-hugging-face...
girvo 9 hours ago | parent
jdewerd 7 hours ago | parent
Back in the day, Nvidia won my business when their OpenCL reliably ran my code so much better than AMD's OpenCL (more speed on a "worse" card, fewer bugs, better error messages, no crashes) that I eventually gave in, sold my red cards, and payed the green tax so that I could have that experience all of the time.
The fact that 3rd parties can now work around AMD's best efforts to duck up the software makes me genuinely bullish on the prospect of using an AMD card for the first time in a long time.
nikwen 4 hours ago | parent
There's lots of work being done to support non-NVIDIA hardware in llama.cpp, including AMD hardware, and a lot of that work is being done by Hugging Face / NVIDIA employees. I haven't noticed any changes since the NVIDIA acquisition.
pyrolistical 12 hours ago | parent
julianlam 11 hours ago | parent
That in and of itself could be a dealbreaker.
ortekk 11 hours ago | parent
jasonvorhe 11 hours ago | parent
InsidiousWombat 11 hours ago | parent
nikwen 4 hours ago | parent
PaulKeeble 9 hours ago | parent
nikwen 4 hours ago | parent
We're happy to take high-quality patches. :)
WhyNotHugo 52 minutes ago | parent
dofm 12 hours ago | parent
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.
SparkyMcUnicorn 10 hours ago | parent
Youssof's goal is squeezing the most performance out of apple hardware, but not at the expense of model quality. I was testing all of the different projects, all different configs, and I could get some impressive tps numbers, but wasn't actually usable over longer sessions. MTPLX has been the most stable results for me, with acceptable speed/performance and not feeling like the model's capability was chopped.
Definitely worth checking out for anyone that has apple hardware, and might be using llama.cpp, oMLX, lmstudio, mlx-serve, etc.
dofm 9 hours ago | parent
It does seem to have good general advantages over llama.cpp for more modern Apple Silicon (M3 and up, when they tweaked the neural engine architecture I think?)
For my own situation, I think MLX-plus-MTP does't generally do better on the M1 Max than llama.cpp does with GGUFs. In fact it is usually worse (same on the M2 Max AFAIR) because the bandwidth overhead outweighs the draft prediction advantage.
The bespoke kernels are worth it once you have toured the zoo a few times and know which animal you are really interested in.
nl 3 hours ago | parent
Do you just mean that it can serve any model?
That's true, but the model-specific serving frameworks are constantly being overtaken by generalist frameworks because the generalists aggregate improvements from across all models.
Yes, at an specific point in time you can probably find a specific framework that outperforms for your chosen model. It's very rare that lasts.
rahimnathwani 8 hours ago | parent
hypercube33 11 hours ago | parent
There is also a llama fork for Ryzen AI and Radeon cards but I'm on mobile.
9x39 11 hours ago | parent
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.
stymaar 10 hours ago | parent
Lanedo 10 hours ago | parent
science4sail 3 hours ago | parent
From the open-source perspective, it's probably better to stick with Gufo or one of the various Llama forks mentioned in this discussion.
[0] https://github.com/peonist-ai/halogen-flash-server/blob/main...
rao-v 11 hours ago | parent
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.
wolvoleo 11 hours ago | parent
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.
tosapple 11 hours ago | parent
andai 4 hours ago | parent
(both mutation and standardization, oddly enough)
rao-v 11 hours ago | parent
rlpb 10 hours ago | parent
I think this kind of thing matters less nowadays. The codebase contains enough information that if you throw these things at AI they can do the backporting. It works well because there's a straightforward feedback loop ("does it work?" and "measure performance of <X> and <Y>").
fotcorn 8 hours ago | parent
They even support the older gfx900 (MI25/WX9100).
llama.cpp compiled against ROCm 10.x works well on my 2 MI25s.
wolvoleo 6 hours ago | parent
Personally I don't really want to mess around with builds, I'm not a software dev. I'd just like to deploy a docker and run the AI for other stuff.
boomskats 7 hours ago | parent
I gave up on my mi60 a year or two ago too (got a strix halo now), so I missed most of this. Was a pleasant surprise to find out they'd decided to do the work to at least kinda bring them back to life.
jhonof 11 hours ago | parent
rao-v 10 hours ago | parent
jhonof 10 hours ago | parent
yieldcrv 9 hours ago | parent
Turns out they are 80gb A100s but were advertised as 8gb with only 8gb addressable until a mod
They were a couple hundred just 6 months ago, now $5000 and getting closer in parity to normal A100s
julianlam 6 hours ago | parent
yieldcrv 5 hours ago | parent
I think the timeline is rational
They’re just getting nv link reenabled
ion_trapper 3 hours ago | parent
peter_d_sherman 11 hours ago | parent
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!
d3Xt3r 10 hours ago | parent
badsectoracula 10 hours ago | parent
> 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).
julianlam 6 hours ago | parent
It did well with the GSQ-RCO IQ3 quant of Qwen Flash Next (80tps decode), but the concerns re: sacrificing quality for speed were a yellow flag for me.
fiddlerwoaroof 10 hours ago | parent
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.
0xbadcafebee 10 hours ago | parent
mszcz 9 hours ago | parent
I know it's apples to oranges but the difference I'm talking about is in the attitude and approach.
newusertoday 9 hours ago | parent
oldlurkerelsewh 8 hours ago | parent
I have ~enough of the dev experience to guide some clankers through the process but I don't really have the bandwidth right now. And I refuse to get a subscription. I'm sure one of us will get around to it sooner or later but of course the big gains will likely be model-specific.
(and apologies for piggybacking your handle, it was the only way I could lower my activation energy for replying)
readyblue 9 hours ago | parent
jsrcout 8 hours ago | parent
malicz 8 hours ago | parent
julianlam 6 hours ago | parent
I did end up getting it running, but vLLM takes a long time to start, which makes it better for long running servers. I was also (and still am) very green at tuning vLLM, though I can stumble my way around llama.cpp's flags.
Of course, neither are reasons to discount vLLM, so as the article suggests, YMMV! Perhaps one day I will try again.
End of the day I didn't end up seeing much difference, but it could very well be that I compiled it wrong.
theoli 1 hour ago | parent
julianlam 29 minutes ago | parent
noir_lord 8 hours ago | parent
kittikitti 6 hours ago | parent
andai 4 hours ago | parent
>They focus on a specific subset of models and/or hardware
Do one thing and do it well!
Reminded me of antirez's ds4, which supports precisely one model.
basilgohar 4 hours ago | parent
tuananh 1 hour ago | parent