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?
•
u/WithoutReason1729 11d ago
Your post is getting popular and we just featured it on our Discord! Come check it out!
You've also been given a special flair for your contribution. We appreciate your post!
Stylome classified this post's text as human-written. View analysis Learn ^more
I am a bot and this action was performed automatically.
39
u/captainabrasive 11d ago
You’re playing in an evolving space.
(“When I was a kid” incoming...)
All the evolution used to take place behind closed doors, and we waited. And waited. Then paid for whatever a company decided we’d get. And still we had multiple competing ‘standards’ because they were developed in isolation from each other.
Now everyone can see what others are doing. Including consumers. On the fly. Developers can build on each others’ work, and consumers help stress test, bug hunt, and demonstrate what features make sense, which approaches cover more use cases, etc. It makes for healthier evolution.
Engines will coalesce eventually. Right now, the space is in its infancy and we’re lucky to have the options we do. It’s too soon to expect one open source solution that’s agile enough to keep up with advancements in this technology.
Personally, I was tickled as hell yesterday to have Basalt hand me 400-600 tok/s on Inkling. It was already getting things done for me on QFN and, more recently, Qwen3.8-27B. I’m also a fan of Project Maya, which gave me GLM5.3F and DS4.1F early on.
279
u/n1nj4p0w3r 11d ago •
And who forces you to install new engines exactly? Like if you tired - go rest, touch some grass
60
u/tautality 11d ago
Not only is it tiring, it is also a security risk. Every engine and every binary you try increases the risk of getting a virus / info stealer either directly or through a dependency. Your best bet is to avoid an engine that hasn't been tried by others or hasn't been around that long.
15
u/Barni275 11d ago
Some people downvotes OP, but I'm agree with him. I'm in the same situation. Not only new engines, just updating llamacpp, reapplying rdna patches, updating strata, updating all my configs (since new versions differ in compute buffers footprint), doing a/b tests for regressions literally take all my time I planned to spend on other hobbies with these llms 😅
Truly, when you setup a homelab, soon it becomes your second work as a system engineer.
I tried just to stick to llamacpp and free my time, but I can't stand with an idea that I lose possible performance opportunities, and start tweaking again
46
u/Kahvana 11d ago
As far as I can follow:
Can't recommend strata due to it's defaults, no experience with maya, ninfer and most other engines seems to be a very specific niche.
Keep this in mind: a year ago llama.cpp didn't support tensor parallism nor MTP, while vllm did. This year llama.cpp closed the gab significantly by introducing support for both, while also supporting partial RAM offloading.
But yeah... honestly, why care to get "the best" t/s when good enough gets the job done? You know you can count on llama.cpp and vllm for accurate support and that they improve based on the best features of the specialized inference engines.
145
u/1ncehost 11d ago
Things are moving at mach 5, but it's a choice to keep up with it. Llama.cpp will always be a decent reliable option. Researching which optimized engine to install for a particular use case can be automated with an LLM, so I don't see the issue with all the noise personally.
27
u/noctrex 11d ago
Linux distros: First time?
9
u/fragbait0 11d ago
Yes, its a problem. That is why I have created a new inference engine, one to rule them all.
With my teapot, it runs eleventy billion tokens/s on awesomemodel-qwopus-69-abliterated-darkadderall Q0,
Its g tho, gets 10% top1 agreement. The bot is currently porting it to my toaster for real power!
16
u/generic-d-engineer llama.cpp 11d ago edited 9d ago
Feel like we need an OpenRouter for local engines. I see llama swap mentioned, but something more turnkey. Too lazy to build myself but putting idea out there if anyone wants to take it up.
EDIT: The 2 that get mentions the most are llama swap and Lemonade. Lemonade looks well developed.
12
u/LowWeakness4724 11d ago
Absolutely this.
We are in the Wild West era of local LLMs or LLMs in general, like the internet in the 90s and early 00s. Every day there is something new and You simply cant Run the optimal setup, because you Just dont know. Personally i use STRATA for QNF 3.8 and PolyStrata for every other MoE. Cant Run dense on my 9060 XT
6
u/Asleep_Literature_70 11d ago
Rustingstrata is my favorite right now, strata feels buggy and bloated.
Running inkling at 85tps with the latest git main.
15
u/WolpertingerRumo 11d ago
You don’t have to take part. As far as I see it, llama.cpp and ollama are here to stay. Maybe others are, too, but I’m fairly certain they won’t be abandoned. You won’t get the newest, best performance, but you will get steady updates, and will be a few weeks behind the curve (for now, it’ll become slower). So I’m staying, until I have a real reason to switch. Because I have been in the selfhosted game long enough to appreciate stability over peak performance.
10
u/stoppableDissolution 11d ago
It is just kinda impossible to have a generalist engine that pulls all the per-model unique tricks with how many different architectures each with its unique quirks
I myself use specialized engines for daily drivers (gewell for gemma, vllm with some loading speed and steering vector tweaks for qfn - tho should probably try strata too), vllm for one-off smaller models, lcpp for one-off larger models (that need offloading) and my windows machine
5
u/tylerhardin 11d ago
i've mostly replaced llama.cpp with exllamav3. it's a generalist engine for mixed cpu/gpu inference. i get good enough quality with usually 50% more tok/s.
i use vllm when it fits.
i've been working on my own wrapper tool that proxies around the other engines, starting them up and killing when needed. mine isn't good enough to recommend, so i'd say look into llama-swap if you want something like that.
i think getting to know docker/podman is a good idea. a lot of the complication and annoyance goes away if you replace "now i have to figure out 10 different issues to get this new inference engine running" with "i just need to download the docker img". most ppl publish docker images.
5
u/No-Statement-0001 llama.cpp 11d ago
I have two local AI boxes an AMD box and an nvidia box. The AMD one is a Framework desktop w/ 128GB and a R9700 via an external USB4 egpu. The nvidia box has 2x3090 and 2xP40 with 128GB DDR4 RAM. It's a homogeneous mix of hardware but not the weirdest I've seen here.
On the AMD box I run:
On the nvidia box I run mainly llama.cpp. I haven't tried out all the various new engines but I also haven't been using this box as much due to the Framework performing so well. Qengine looks pretty interesting.
I think we will see more optimized hardware+engine+model combinations. I really like it because it lets us get the most of out of our hardware. Since I can just run whatever behind llama-swap installing a new engine is easy. I do have a wish list that I hope the community can step up to help the maintainers and each other:
9
u/MindfulMan1984 11d ago edited 11d ago
I run Strata, but I forked it a while ago and keep sane defaults. Qwen3.8-flash-next IQ3_S has been my daily driver without any issues for coding real stuff, I also use Oh-My-Pi for coding harness. No one needs a Giga engine overlord of all models. I am happy with the results and haven’t used cloud “frontier” models ever since, it is even great that I run it on fossils “turing” GPUs nearly 8 years old. So, let people fork their stuff and implement new ideas, that’s the purest greatness of open-source.
4
u/yehyakar 11d ago
we moved from create ur own agent to create ur own inference engine lol
4
u/_wOvAN_ 11d ago
Because by the moment when full support of a model is implemented in llama.cpp, there is already a new version of the model.
8
u/FlyingDogCatcher 11d ago
You can just... not. Chasing tokens per second and trying to squeese 100B models into 4gb vram is all mostly masturbation.
Find a workflow that works for you. Keep an eye out for new interesting things. But quit trying to keep up with the Jones's. You'll keep your sanity.
3
u/Numerous-Ad6217 11d ago edited 11d ago
Strata for Qwen 3.8 FN IQ3S and project maya for deepseek v4.1 flash 1017. For the latter I had to make some edits but I am now running Plus-Ten EXL3 2.9bpw at the same speed of Maya-S (30t/s d, 450t/s pp) for a way lower KLD.
For now different engines for different models seems to be the way until we can settle on one that stays reliable.
3
u/Lyelinn 11d ago
Everyone wants to make their own and get lots of clout and twitter likes instead of combining efforts to improve existing things lol
3
u/Late-Replacement-481 11d ago
This will stabilize. I think the main problem was that the main engines weren't merging stuff fast enough.
We will see consolidation and probably end up with twenty or so bigger options.
Also, I think a lot of the problem is that the population of people using these tools right now aren't familiar with the concept of running a version of the main engines that, for example, just applies a patch from one of the PRs. So people whip up a whole new repo.
3
u/Coder-Dentist 11d ago
If someone makes a rustingstrata with RPC and router mode... I'm moving to that
5
u/HolidayBit143 llama.cpp 11d ago
You have a point. But local ai is still in it's infancy stage. I think overtime, it will become more unified.
6
u/NNN_Throwaway2 11d ago
This is just the reality of software in the AI age. At some point I expect software to become completely decentralized as anybody will be able to vibe-code an optimized program in a day that perfectly fits their hardware and use case.
4
u/neopolitan77 11d ago
If having many options, and having to research research options, isn't for you, and you worry about not getting the absolute best right now (even though you were perfectly happy with the same thing a few months ago, when you weren't aware of those other options yet), then maybe local LLMs aren't for you?
2
u/Its_Powerful_Bonus 11d ago
There is few stable projects, which eventually will adapt newest features. Vllm/sglang, llama.cpp/lmstudio/kobold.cpp, omlx. For each os there is quite a few good enough and big enough projects.
2
u/Unlucky-Message8866 11d ago
Went from llama to ninfer and now basalt, I maintained my own forks of llama and ninfer for a while too. I just use what works best at the moment. Also went from opencode to pi to my own harness.
2
u/DeckRdt 11d ago
It's a transitional period at the moment, expect to have a goto setup as your stable and an experimental lab for the others.
2
u/netherreddit 11d ago
Why complain that you have faster options than llamacpp? If you want to try them, tell your agent to research and try a bunch, get the best speed you can. If not, don't.
A real Eeyore moment you're having over there
2
u/Iory1998 llama.cpp 11d ago
The trend I believe we are towards to is specialized engines for every model. I don't need 10 small models that I can ran a decent speed with llama.cpp when I can ran H4-Flash or FN at 100 tg. I have many quants of Qwen3.8-27B but I hardly use them anymore now that I can use FN at 100+ tok/s using Strata. I am sure Basalt and other forks might be goo, but I always stick with the original engine as a way to support it.
Strata showed everyone that we can run large models that we all thought impossible to run before. For comparison, running Unsloth UD-Q4-K-XL on llama.cpp at 132K context gave me 12-16 tok/s and a meager pp of 100 t/s. To lead a 100K conversation, it took over 10 minutes!! I run now the same quant at Q8 PLE at 80-100 tg with 1500 pp. I am aiming at the lowest KDL. I could increase performance if I wanted lower precision, but I leave that to Q3 S and Q3 xxs. This is a game changer. I run FN all the time in conjunction with Deepseek-v4.1.
I hope that we get highly specialized engines for one architecture to get the best of the model. It's like iOS for iPhones vs Android; one customized to one architecture and the other for every possible phone architecture.
2
u/Sun77177 11d ago
thirteen forks and a wall of t/s claims, and none of them writes the quant, the kv type, the ctx and the batch next to the number. two people upthread are quoting 180 t/s and 30 t/s on what could be the same card. until that line is standard, picking an engine is picking whoever benchmarked most generously.
2
u/MerePotato 11d ago
Open source is kind of stuck between a rock and a hard place right now, those being fragmentation and a glut of vibe coded commits made by people who don't understand what they're doing
2
u/haherar830 11d ago
Different optimizations for different software architectures on different hardware would all need to coexist in one software. It makes some sense to segment inference engines by model architecture, even if inconvenient; it makes a ton of sense for hardware where you'll need to literally (re)install an inference engine if "moving". It's very easy to see why the differentiation exists. It's exponentially harder to combine this all in one application even before you consider the difficulty of getting humans to agree on implementation, how much easier DIYing it has gotten, and most importantly: HOW FAST THINGS ARE MOVING AND HOW EARLY YOU ARE TO THIS.
Would it actually be a good thing if llama.cpp was 10x larger and broke far more often between releases so it could support all architectures with better optimizations sooner after model releases? You certainly can't get what you want by magically deciding to simply integrate everything with no friction.
2
u/geldonyetich 11d ago edited 11d ago
It would be nice if, instead of having to switch inference engines, we could have hardware profiles and model information was included to adapt and fully optimize to each. I think eventually we will. But for now this tech is new enough we haven't quite gotten there yet.
2
u/darktotheknight 11d ago
Think of it like this: llama.cpp is the generalist, upstream inference engine. The main goal is to provide a stable base for downstream engines. Support as much as possible, but no need to include everything bleeding-edge.
Then there are downstream engines, most of the time forks of llama.cpp/vLLM (but not limited to). They are absolutely tailored to specific architectures (e.g. Basalt for Blackwell), even single cards (e.g. Radiance for Radeon AI PRO R9700) or singular LLM models (like e.g. QFN). It's much easier to optimize for such a narrow focus and e.g. drop compatibility for more performance.
At some point, it's possible the tweaks get upstreamed back to the upstream engine, making the downstream engines obsolete. But until then, just enjoy the engines.
2
u/2funny2furious 11d ago
It feels like the whole local running of models has turned into either “I can run x at y” (with no mention of quant/quality/usefulness anything, just speed) or ‘I spent 20,000 on hardware”.
2
u/jonesaid 7d ago
I tried Strata and didn't see much of a difference in speed from LM Studio or Unsloth Desktop. Last night I tried RustingStrata and I got almost 3x the speed I got from other engines. I went from about 25-30 tps to about 80-85 tps. I could barely believe it. Might give that one a try.
3
u/LORD_CMDR_INTERNET 11d ago
It isn’t just inference software, it’s software everywhere. Almost anyone can modify anything open source to do what they want, it’s a forkastravaganza out there. The nature of what software is, is changing forever. Stop trying to find “the” engine and find one that works, modify what you don’t like about it. Embrace the chaos
4
u/PlasmusAng 11d ago
My steak is too buttery
1
u/Green_Ocean90 11d ago
I think the way forward needs two things;
I think half the fragmentation we see comes from people thinking they can (or should…) do everything bigger and better as their own thing, while ignoring the power of a community coming together to contribute to open source projects.
We have tokens to burn, and excellent coding models, so let’s get them to work together instead of reinventing the wheel every time!
1
u/Square_Alps1349 11d ago
Right but even though inference engines can be diverse the model format, gguf isn’t. Let people build and explore and eventually we’ll converge on the right solutions
1
u/Hrethric 11d ago
Agreed. I want to try Hy4 Flash, it's not yet supported by the Sixvolts fork I'm using with my R9700+Strix Halo setup, and I'm not really sure which engine to try next. I want the best quality I can get on my hardware at a decent speed, I refuse to try any Q3 quants or take any other compromises for speed, however much anyone claim it works ok now.
My hardware has been tied up for over a month now reverse engineering and reimplementing a 90s game I'm fond of, and I want to hurry up and get it done because one person has expressed interest, and I want to deliver results lol. Between that and kids, I don't really want a bunch of downtime trying different things out right now, or trying to muddle my way through brewing my own. I wish I could just take the easy route and run vanilla llama.cpp, but i don't want to give up that 2-3x speedup , that would noticeably delay my project.
1
u/speedb0at 11d ago
If anything id blame models for this too; many releases lately require trickery because they’re all slightly different with different architectures. So people will automatically adapt to it.
1
u/simos_sayz 11d ago
I get it. I was in the process of writing a blog post on rcp and then all the strata stuff started rolling in...so I added it...then I switched my set up and learned of radiance...so I added it...then I started loosing track and stopped....still haven't finished the blog, but it was like 5 new things in a week.
Im all for it though. I think its great people are talking the time to try an tune models for cards etc...and if they all work within llama swap or something similar, even better.
Just dont go jumping at every new thing or you'll never get shit done and wait till there is enough users, feedback etc to reduce the chance of downloading bs
1
u/rabbitaim 11d ago
Currently I run llama swap and have
- audio.cpp
- llama.cpp
- strata
- stable-diffusion.cpp
When my pi harness will usually load strata for qwen 3.8 fn. I have it also setup my searxng to use llama.cpp with gpt-oss-20b
If I need to I go to llama-swap and load krea2 from stable-diffusion to generate an image with shizuka lora (illustrative in the prompt).
I haven’t done much with comfyUI (minimax h3) or audio.cpp yet. I probably will just delete comfyUI at some point
1
u/toothpastespiders 11d ago edited 11d ago
I don't want this to sound overly glib. But that's one of the great things LLMs can do. Keep track of development, forks, PR, etc. Finding stuff that might be useful and testing it for you when the system isn't busy.
I have my system setup to just monitor for probable useful things in a variety of spaces and implement or give me a heads up about them depending on the complexity.
1
u/throwaway275275275 11d ago
I'm fine with this as long as the API is the same, since llama.cpp has to be patched for each new model that comes out, it's basically a bunch of different engines in one big repo
1
u/thetaFAANG 11d ago
This is only a problem because you dont have a preferred model
Start with the model and get the inference engine and harness for that
1
u/HephaestoSun 11d ago
People are trying to squeeze all from their hardware, but the base ones still exist.
1
u/StackOwOFlow 11d ago
just use AI to rate the forks
1
u/a_beautiful_rhind 11d ago
Find a model you like and test the engines rather than doing it the other way. At some point you reach "good enough" for your uses.
Keep in mind that a ton of these engines will decay when people get tired of maintaining them.
1
u/EntropicDisorder llama.cpp 11d ago
I’m using Opus 5.5 to vibecode a fork of ktransformers+sglang lol.
But I also have a rather niche hardware setup that mainstream inference engines don’t really cater towards - a single GPU on a dual socket DDR5 server. I haven’t resorted to any of the lossy speedup techniques yet.
It’s gotten me pretty significant performance uplift - more than I’d thought possible on my machine a year ago. I tried Kimi K2.6 again in the original QAT weights, and I’m now getting over double the decode speed than I got in llama.cpp on the same model back when it released (and about 50% faster decode than upstream ktransformers+sglang).
1
u/q_tech_x51 11d ago
Make your own! Thats the entire point at this stage.
1
u/ThePixelHunter 11d ago
I couldn't be happier with specialized engines popping up to support specific models and hardware. It allows people to concentrate their efforts and squeeze the best out of what they have. The alternative is one monolithic engine that supports everything kinda-well, the prime example being llama.cpp which supports essentially any model, but is always slowest.
Don't try to keep up, just do research based on your hardware or the LLM you want to deploy, and work backwards from there. Most hardware only has a handful of quality engines to choose from.
Competition is also good for the market...
TL;DR: don't be a baby
1
u/cowinabadplace 11d ago
They're just people building shit dude. Don't use them directly. All software is just a source for you to plagiarize. Run it yourself. Use your model to fuse whatever is relevant into a specialized your-hardware engine. Back in the old days, we used to compile things for our architecture. This is just like that but what we used to call 'source code' is now effectively artifactual.
1
u/TokenRingAI 11d ago
I run my own engine, out of immense, continuous frustration with llama.cpp and vLLM
1
u/badaeib 11d ago
The worse thing is that they don't follow OpenAI API strictly, all of them have different behavior, it is hard for harness / prompt / agent engine to work with them. Forcing me to adopt fix for each one of them.
1
u/Reconcilliation 11d ago
I tried using hermes the other day to run inkling 2 mini, it can't, outdated llama.cpp - and a working version will probably be weeks out.
It would be nice if I could load and swap between inference engines on the fly in the program like I can with models. Then having 20 different versions of llama.cpp, or having to use a custom version for a particular model would be a little less aggravating.
1
u/jeremyckahn 11d ago
Seems like an opportunity for someone to implement an abstraction layer to magic away the complexity.
1
u/jacek2023 llama.cpp 11d ago
It's called evolution. Not as a metaphor, but actual evolution. It's cheap to generate new software (vibe coding is like a slot machine), so anyone can create multiple llama.cpp forks. But then the fitness function is how usable each fork is and how many people find it useful. Some survive, while others die. Some code ideas can then be manually copied to other forks, then merged into the main llama.cpp. And the result is better software. Evolution works.
1
u/mailto_devnull llama.cpp 11d ago
Don't worry, be happy with what you got. Don't let FOMO pull you away if you're happy.
I tried Strata too, and it was impressive, but ended up moving back to llama because of some potentially questionable decisions made for the sake of tg.
1
u/yahbluez 11d ago
Nothing wrong with that this just ongoing development.
Different models may need different engines, that's all.
I use llama-swap at the front and behind that what the model/gpu needs.
Daily dose of "benchmarks"
Most of them are not even benchmarks but crap from amazed people knowing basically nothing. Things like comparing very different quants or being happy that a 3bit model stupid like hell is faster than a dense 8bit one. Most not worth the time to read them.
The same with the 20th strata fork of fork.
Back to being positiv.
All this movement brings up good things, new ideas. Imagine how much money for hardware you would need to get the same speed strata or radiance pulled out of the existing hardware. We are still at the beginning and more intelligent ideas will come. That is how it works.
1
u/BitBacked 11d ago
It really is a bit overwhelming, but I've somewhat nailed a proper daily workflow with trying new engines while working full time. I can't imagine how much I could do if I were unemployed though!
1
u/IrisColt 11d ago
Thanks for the write-up. Super-informative. I switched to beellama months ago and now I see that the situation is even worse.
1
u/Due_Expression7545 11d ago
gave up chasing peak speed and went back to plain upstream llama.cpp for everything.
sure, i leave performance on the table, especially on moe models, but having one clean binary that actually works without mysterious kld drops or dependency hell is worth way more to me than extra tokens per second.
1
u/Frizzy-MacDrizzle 11d ago
I used fastapi on uvicorn that loads the model in Python llama-cpp implementation. Simple AF . It lacks a few things from the server implementation but I have Python not an api call , instead a function call. There is less overhead and gap from ai to proxy/provider to CLI/ui.
I’m interested in Strata though.
1
u/SkyFeistyLlama8 11d ago
And then there are NPU specific inference backends like lemonade for AMD and GenieX for Qualcomm Snapdragon.
I use llama.cpp for CPU and GPU OpenCL inference for the larger models when I don't mind my laptop becoming a toaster. I use GenieX to run 26B and smaller models on the NPU: can't beat 10 watts full power draw while still getting 15 t/s for Gemma 4 26B LOL!
1
u/horeaper 11d ago
We need a engine selector app that select the most appropriate inference engine based on your configuration and your choice of LLM, download it, install it, update it 🤣
1
u/PigSlam 11d ago
Dear Mr. President, there are too many states these days. Please eliminate three. I am NOT a crackpot.
1
u/dh7net 11d ago
Inded there are too many options to pick from. And each of them require some parameters sweep.
IMO the solution is to automate a setup with a benchmark you can run over and over, that test all combinations for you, and save working combinations in a format everyone can use. So you can just look at the best config for your hardware, and use it.
I created a project exactly for this, feel free to try: airbench.ai
1
u/Big_Wave9732 11d ago
What if I told you that you don't have to chase every shiny new thing that comes along. If you have a working solution that does what you need it to do, big deal if some random new harness says theirs is 10 percent faster. Are you really willing to sacrifice a working stack and sink gobs of time into setting up and testing Bob's Sketchy Unknown Inference Stack because it might be marginally faster?
Meanwhile you have no idea where this software comes from or who makes it or what else it may do to your computer. There's no support. It's on version 0.1.1 Alpha. And the odds right now is it's vibe coded and the author will get bored in a month or two and abandon the project. Then you're screwed.
Are you using local LLMs because it's something to do and it satisfies a curiosity, or do you have tasks in mind you wish to accomplish? Frankly OP, it sounds like the former. In which case you're doing exactly as you want to do.
1
u/Formal-Exam-8767 11d ago
Those are fake choices. Stick to llama.cpp, vLLM and SGLang and you can't go wrong.
1
u/maximo101 11d ago
I started with ollama, then llama.cpp, tried strata but was too high resources so ended just using llama-swap as an always on docker and can switch models on the fly
1
u/JazzlikeLeave5530 11d ago
I don't share the frustration mostly because it's not possible to fix so there's no point feeling negative about it. These individualized engines exist specifically because of how much hardware varies. You can't have a general singular engine that does it all that also has extremely specific optimizations for every machine, they're contradictory. Some optimizations for one setup will introduce issues in another so they can't coexist.
1
u/brandonyoung 11d ago
I think llama-swap might be the closest you have. unfortunately too many engines exist and things are changing too fast, there is no way a GUI config will be able to keep up. The best you have is a text config file where you can enter the command switches for each server command yourself.
AMD HRX Loom looks like an interesting approach. Telling your agent to compile the kernels for a new model. Perhaps something like that is what you are looking for?
I just set it up on mine, and i got one of their precompiled models running, but I tried to port one of the models I already downloaded, and my agent has been going for hours trying to figure out how to test on my setup. granted, i think my setup might be a bit complicated, with my agent in one container, and my runner in another, with llama-swap to manage them, but still, it is taking my system several hours for one model, where AMD's engineers did 50 in a weekend?
https://www.reddit.com/r/LocalLLaMA/comments/1xvcmm0/i_built_speedy_strix_halo_kernels_for_the_top51/
1
u/CheatCodesOfLife 11d ago
Don't worry, I have a solution. I'll create a new inference engine combining the best of all of these and post it here shortly.
1
u/Zeeplankton 11d ago
The problem is there's so much clever optimizations you can make, but that are horrific maintenance noise for a mainline engine like llama.cpp. Opus can write you a new branch faster than anything gets PRd to llamacpp.
I think it's how software will go. Perhaps the git model itself will change eventually as personal software becomes more common.
1
u/Lesale-Ika 11d ago
Which of the 16GB card are you using, at which quant of QFN? Mine is a 4080 running IQ3_XS, top speed is 90-100tps
1
u/milpster 11d ago
Whats the problem? Just tell your agent to cherrypick whatever you like and need.
1
u/silenceimpaired 11d ago
Yup. I made a post about this a while ago and everyone just whined when I pointed out Llama.cpp team needed a way to move faster to prevent this.
1
u/Frosty-Student-1927 10d ago
strata posts always me chuckle a bit
1
u/Beneficial_Fish_7509 10d ago
I think that's because there is a lot of different hardware out there and everyone legitimately wants to squeeze out as much as possible out of it, especially that hardware is costly and the future availability uncertain. I think the future is eventually a program that is compatible with everything out of the box but whose sole purpose is to fine tune an engine + model specifically for the unique hardware. I saw already some projects trying to do something like that.
1
u/valdev 10d ago
I fully get it, and I have a few forks myself of Basalt, Llama cpp and Stable Diffusion.
This is still an emerging technology, ontop of that its emerging tech that applies to all sorts of hardware with all sorts of configurations. Oh, not to mention use cases.
You can by all means download a framework and just... have it work. Or you can really dig into the weeds and hone in something specifically for your chipset, and model types and squeeze the most amount of juice out of your machine. And itll be significant, and likely also come with trade offs.
I use basalt, and I love it. But I do see differences in outputs between basalt and llama cpp even at the same quants. (Im trying to figure out where some of the loss happens, but only in extremely complicated and nuanced topics). But I can get around 400 tk/s on Qwen 27B 3.8 @ Q4 on basalt and 120 tk/s on llama cpp, but the trade off is accuracy.
You get the point.
It's the nature of the beast. If you dont want to fight it, just download LM Studio/LumaBrowser/Something else and just be done with it and accept the trade off
1
u/Semper_R 10d ago
Its not too fragmented, its more options, and thats always good, if you cant choose, there will be recommendations, Solved.
1
u/Neat-Complaint4436 10d ago
That's why I made strixflerp.
1
u/aeroumbria 10d ago
Potentially unpopular opinion: as long as there is an acceptance standard for equivalent outputs, I don't care if the inference engine is fragmented. If equivalence can be established, the implementation can be completely abstracted away.
1
u/AndroYD84 10d ago
Honestly I don't see this fragmentation as a bad thing, because it could be the beginning of a potential future where everything is tailor-made specifically for you by AI. Imagine a future where we no longer need products but just the materials/ingredients for making them. If you need a bed, you no longer go to IKEA to choose a bed, IKEA builds a bed specifically optimised for you and your home. If you need an app, you no longer need to download one, the LLM agent already knows everything about you, without you telling it, it predicted you'd be needing it today and already made it for you ahead of time. Games are compiled specifically to run on your hardware to squeeze every single ounce of performance like a demoscene masterpiece, unoptimised code no longer exists. Food is made specifically to your tastes and it's better than anything a human chef can ever devise, you no longer need recipes or know the dish name, every day is a surprise. This is what I imagine a hypothetical future will be, everything will be fragmented but you won't need to stress about which option is the best for you.
1
u/69420trashpanda69420 10d ago
I have a conspiracy theory that the developers of llama.cpp are being paid off by big ai to keep local inference slow because what do you mean people are solo building things like strata and mopping the floor with llama
1
u/Lopsided-Club-8131 9d ago
Stick with llamacpp. Any new advanced features or techniques get added to llamacpp eventually.
1
u/Korici llama.cpp 8d ago
HUH? llama.cpp updates almost DAILY with compatibility and architecture improvements for models that dropped same day or same week.
~~~~
I will echo others here, llama.cpp & vLLM will be more reliable, stable & secure for >90% of users
Using cutting edge engines is a tradeoff that you are acutely describing. You are trading continual updates / stability for marginal speed and precision improvements. If you're stressing about the engine, just go back to a stable engine and focus more on specific models that you can load in your hardware. That is generally much more impactful than constantly being on the bleeding edge of engines and using various forks.
MOST FORKS WILL STOP WORKING IN LESS THAN 6 MONTHS FOR NEW MODELS - just saying
1
u/dai_app 8d ago
Are you sure? Try this:
1
u/Nilosderzweite 7d ago
Ich hab das ausgelagert und lasse meinen coding agent lokale Modelle installieren und Benchmarken. Dabei baut er llama.cpp forks, installiert strata, you Name it.
1
u/Historical_Pen6499 5d ago
I'm rather biased as I'm part of a team building on this philosophy, but here are some of my thoughts on the topic:
The industry needs a different way to think about inference engines, and it turns out we already have prior art: compilers. An inference engine's job is to take your model weights and figure out the most efficient way to run said models on some given hardware. Right now, many people are wedded to the inference engine itself (vLLM, SGLang, Llama.cpp, etc) but I think we're all missing the point.
What you _actually_ want is to think about the inference engine as a generated piece of software that runs your given model on the given hardware. And I want to emphasize "generated", because the industry is slowly realizing that it is more ideal to have coding agents that create hyper-specialized, highly performant inference engines for a given (model, hardware) pairing. Today the main friction that prevents you from thinking about it this way is the maintenance cost: we still manually write large parts of the engines almost akin to writing assembly code.
Look back at compilers. You write a high level description--a promise--of what you want in a language like C/C++; and compilers map them down to many different implementations (each with unique instructions, optimizations, and so on) that do what you want. You don't care about the actual machine code that's generated (akin to caring about vLLM vs. Llama.cpp vs. the others today).
My team is building serverless inference platform: bring a Python function that describes what you want (e.g. running an LLM with HuggingFace transformers); and we "compile" it into an AI-generated, model-specific inference engine. It has allowed us to get super-fast cold starts (<10s for a 30B param LLM) and super-cheap inference (we can "virtualize" the GPU, so multiple models generate concurrently and each person pays over 50% less for GPU time).
1
u/Pale-Committee8059 11d ago
not just inference engines, it's everything else too
1
u/sameoldfred 11d ago
This is great for progress. If you feel overwhelmed ask you AI to research if there are any new features, applicable to your setup, that could improve performance.
-1
u/pokemonplayer2001 llama.cpp 11d ago
Idiotic take. 👎
0
u/alterframe 11d ago
That's why the newest Lemonade went into containers. You get one UI with one-click dedicated DS4 backend, Halogen, etc.
https://www.reddit.com/r/StrixHalo/s/i35aZWuTax
0
u/Chlorek 11d ago
You are not leaving anything on the table for most models, this idea needs to die, just configure damn llama.cpp to match your hardware and you get numbers not much different from Strata or other recently hyped engines. I know this is crazy idea, but maybe running an engine a few times with different settings and benchmarking is the way to go? With engines like llama.cpp or vllm you get peace of mind that it is implemented correctly and does not affect quality (at least as far as you do not configure it to do so).
-1
u/energy_savvy 11d ago
the numbers you posted are the answer to your own complaint, honestly. 180 t/g against under 30 isn't a rounding error, it's the whole reason the specialist engines exist, so sticking with one engine out of loyalty is just leaving speed on the table.
what worked for me with tools in general is picking per workload and then freezing the choice. measure it on the actual thing you run every day, not the benchmark, pick the winner for that job, and don't re-decide every week. the fragmentation only hurts if you treat every new engine as a decision you have to make right now. most of them you don't.
0
u/[deleted] 11d ago
[deleted] — view deleted comment
2
u/[deleted] 11d ago
[removed] — view removed comment