AMD-specific fork of llama.cpp (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
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.
Replies (6)
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.
Replies (6)
Replies (1)
(both mutation and standardization, oddly enough)
Replies (1)
Replies (1)
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>").
They even support the older gfx900 (MI25/WX9100).
llama.cpp compiled against ROCm 10.x works well on my 2 MI25s.
Replies (1)
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.
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.
[0]:https://github.com/ROCm/TheRock/blob/main/RELEASES.md
I just ran it for 5 days straight computing embeddings for all of English Wikipedia. But what I really want is to get it running a nice LLM. The card is overclockable thanks to being a gaming card, so the memory bandwidth is now 1.1 TB/s. But the PCIe gen 3x1 interface to the Pi 5 means MoE offloading/streaming is not viable.
Replies (1)
You can also run qwen 9b of course and keep it in memory. Then the PCIe speed hardly matters.
Replies (1)
Replies (1)
Replies (1)
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
Replies (2)
Replies (2)
I think the timeline is rational
They’re just getting nv link reenabled
Replies (1)
Replies (1)