Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

llama.cpp is one of the slowest these days
 help



What alternatives do people use instead? I hadn't heard of any others (except I guess ollama, which I thought no one used anymore)

Depends on your hardware, but this build of [ninfer][1] runs inkling-2-mini for me at 77 tok/s versus llama.cpp at 30 tok/s. So far it has been pretty good. Solved some things that qwen3.8-27b could not.

[1]: https://github.com/iamwavecut/ninfer-all


Ah, I have an AMD card, so doesn't look like that's viable for me

You’ll want Radiance with an AMD card: https://codeberg.org/StillDeadcode/radiance

(Though, it hasn’t been updated for Inkling-2-Mini yet, there is an open merge request)


I'd definitely try it for Qwen if I could but my card is a generation too old (6900 XT, so RDNA2). It's honestly kind of wild that a five year old card can even be useable at all for this sort of thing but I've gotten a quantized Qwen 2.8 27B fitting in the 16 GB with okayish results (40 tokens per second with 64K context isn't completely terrible given that it's only the cost of electricity and not playing games at the same time). I'm still hoping that Qwen 4 might be the model to finally make it good enough that it would be comparable to what I can get from the extremely small free daily limit of opencode zen, but we'll see when the weights come out.

As an aside, for the gaming side of things, this card will potentially get even more usable next year since AMD has said they're going to add support for FSR4 to that generation, which is also pretty crazy.


>As an aside, for the gaming side of things, this card will potentially get even more usable next year since AMD has said they're going to add support for FSR4 to that generation, which is also pretty crazy.

Merry Christmas then, because it arrived earlier than expected:

>Last Updated: October 20th, 2026.

>Highlights

>New Features

>AMD FSR Upscaling 4.1 support for:

>AMD Radeon™ RX 6000 Series Graphics products

https://www.amd.com/en/resources/support-articles/release-no...


Ollama is just worse (well, depends on your use cases) pre-configured llama.cpp, I believe. I barely know anything about local hosting, but you might wanna look into vLLM (cross-architecture) or MLX (for Apple Silicon).

Also, although not necessarily for this case, there are some inference engines made for just one model/model family, like antirez’ DS4.


Hardware/model specific inference engines tend to be fastest. Fortunately Opus/Sol/Neon are all pretty good at that, so I've just been making my own engines when I find something I want to play around with.

Strata, but it doesn't support Inkling's architecture yet:

https://github.com/niko1221/strata


And now, it does. 70 tok/s on the 7900 XTX. It seems to be the fastest engine for AMD GPUs.

Wow, that was fast.

Strata recognises my 7700S as a 7600XT, but nevertheless it's easily 50% faster than any llama.cpp configuration I could come up with.

That being said I'm getting just 8.4tok/s, so I guess I'll stick to Qwen, which gets twice of that.


I've been getting 30-40 tok/s with Qwen 3.8 27B locally with the unsloth UD-IQ3_XXS quantization and 64K context (degrading a bit down to maybe 20-30 when context fills up) via llama.cpp configured with 8-bit kv cache. I tried strata on the same quantization but performance was basically the same or worse for my GPU (6900 XT), so I'm not sure if my card is just too old for it to work better or if I had just tuned llama.cpp enough with some of the other parameters that strata didn't have much low-hanging fruit left.

I've had a long-running thread with Claude in the browser (using sonnet, since I don't pay for a sub) where I occasionally have it check for any new models that would work better with GPU and have it iterate with me to figure out the best parameters. I guess maybe this in practice ends up working well enough to make llama.cpp serviceable for me.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: