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

Is llama.cpp really that optimized? Seems like a lot of projects are using it as a metric and claiming to have beat it.
 help



There's a few reasons why everyone is "beating" llama.cpp at the moment:

- llama.cpp is a general purpose inference engine designed to have acceptable performance on any hardware. You can now prompt an LLM to "write an inference engine from scratch for qwen3-0.6b that gets 90% of the theoretical performance of the GPU in this computer" and get a faster inference engine in less than an hour.

- A lot of the people who prompt their way to a faster engine cheat without realizing it. The two main ways are

    1) Delete some of the model (there was a recent spate of people on reddit claiming ever faster performance with qwen3.8-flash-next using a technique called expert pruning that is basically deleting part of the model and hoping that you still get usable results)

    2) Quantize the model more. For token generation, quantizing a model results in a speedup directly proportional to how much you quantized it.
Both expert pruning and overquantization lobomotize a model and neither technique survives contact with reality.



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

Search: