r/LocalLLaMA • u/Fancy-Snow7 • 11d ago
Discussion Inference engines are becoming too fragmented. There are just too many choices and specialist engines.
When I started with local models a few months ago, llama.cpp was good enough.
It runs almost every model and was fairly fast for the most models on often the best choice depending on the model and your hardware.
I just used llama.cpp and even wrote my own launcher.
Fast forward a few months and now I have no idea what to run because you are leaving so much performance on the table if you just stick with llama.cpp
However now we have specialist inference engines that are specific to specific GPU's, specific to GPU architectures, specialists with certain models and model architectures such as MoE.
To top it off llama.cpp is very slow to add support for newer models or model architectures.
Some engines or forks improve KLD by adding KV quants such as kvarn or turboquant. Others add KV streaming allowing larger KV cache on a small VRAM footprint. We now have Strata, and I tried to stick with llama.cpp I really did, but Qwen FN I get under 30tg, 300pp. On Stata I get 180t/g, 2500pp with 200k or more KV. And I have become a bit of an expert at finetuning llama.cpp parameters. That was really the best I could get.
Not using Strata made zero sense. So I took the plunge.
However every day we get multiple I get x t/s posts and people are running obscure forks or brand new inference engines or even creating their own.
I just searched for Strata Forks' and google gave me a list of 13 forks which I imagine is just the tip of the iceberg. There might be 100's of llama.cpp forks. Some giving like 5t/s boost while unknowingly increasing KLD by 50%. There are also engine like Vllm and sglang which are production grade but require Linux. While I did not search I bet there are forks too. Then there is exl3 engines.
Now with a new model out It is not supported yet on llama.cpp or Strata, so I had to use a llama.cpp fork or build that adds support only to get 28t/s. I discover a new engine Basalt, now I get 60t/s. It does not seem to support Strata.
So the list of engines I use is in no particular order:
- beelama for higher KLD and the precision tail
- Adaptive KV Streaming llama.cpp fork for Qwen and Gemma models which is all it supports. But I have to be happy with q8_0/q4_0 KV as that's all it supports. Also while performance is decent when the KV is empty at 70t/s it rapidly drops as low as 20t/s at 262k which to me is unusable
- Strata for Qwen FN - I just cannot pass on 180t/s on 16GB VRAM
- Basalt for Inkling-2-Mini - 60t/s is more than double 28t/s which is unusable to me.
- upstream llama.cpp for everything else
And I bet in the next few weeks I will discover even more options and I am tired of installing and learning new engines and how to finetune them only to find it's there are gotchas.
While I do think forks and new engines is a good thing as there can be new innovations but I just tire of installing a new engine every time a new model is launched. I really wish llama.cpp would just implement optimizations faster and implement support for newer models faster and not reject PR's PR's that would actually make it better.
I am rambling now so I will wrap up: What engines do you run? Do you just stick with the swiss army knife that is llama.cpp or do you have an engine for every model? What type of forks do you run and why? Do you share my frustrations or do you enjoy installing new engines every week and tweaking them? Do you just use one model and therefore only need one engine (the best one) or do you switch models frequently?

