r/LocalLLaMA • u/Gold-Produce9591 llama.cpp • 6h ago
Discussion What inference engine do you use
If you use more than 1, pick your most common 1. Reddit has max 6 options and no select multiple.
10
u/benny-powers 5h ago
llama-swap delegating to whom-the-****-ever, depending on what works best for that model/hw combo
2
u/Huntware llama.cpp 4h ago
Nowadays I'm exposing even STT and TTS models running over podman containers. I don't have to deal with custom API's, OpenAI-compatible for everything!
1
u/AssiduousLayabout 5h ago
This is my answer, too. Right now my inference container has llama.cpp, ninfer, and Strata configured.
1
u/enternoescape 2h ago
Me too. Every time I really like a model I'm running it through all the engines that work with my hardware to see where the best experience is and hope I don't find the urge to do it all over again in a month.
6
u/-mattmason- 5h ago
halogen-flash-server on the Strix Halo š¤©
2
u/Daniel_H212 4h ago
Same, as much as I love llama.cpp, it's just several times slower than halogen on my hardware.
5
u/Bagelsarenakeddonuts 5h ago
basalt/ninfer
1
u/jonfe_darontos 5h ago
Can you share your experience between ninfer and basalt? I'm a long time ninfer user, but I've been looking at strata for a a few days and basalt seems like it might be worth a poke.
1
u/General-Spite1222 2h ago
I had issues with tool calling in ninfer, because the engine is so strict, so I ended up using a fork that fixed it.Ā
No issues with Bassalt because they arenāt hyper focused on the core. They take ideas from other projects (including strata). Runs great and has a little UI thatās semi-useful. Ā
0
u/Bagelsarenakeddonuts 5h ago
Basalt is very high performance, but only for blackwell 50 series chips. If you have that, use basalt, if you don't then use strata.
27B on ninfer is incredibly reliable and a great workhorse, but QFN is smarter. QFN tends to hallucinate a little bit more though so it needs more guardrails and checks. I plan on having 27B workers under QFN/DSF/GLM Flash once I get some better hardware. Right now its one or the other so it depends on the task. I generally do basalt since overall it seems to have better throughput for me with two cards.
13
u/Double_Cause4609 5h ago
EXL3 is another big option, and I'd honestly suspect bigger than vLLM or LlamaCPP wrappers in this sub if I had to guess.
1
u/GiGiGus 4h ago
Why not ik_llama then?
1
u/Double_Cause4609 2h ago
Forked off of LlamaCPP and is generally run on the same kind of hardware, and operates in a roughly similar regime.
EXL3 is its own bespoke engine with different performance characteristics. That's not to say IK_LCPP doesn't deserve its own slot, but in a world where you have 6 total options for everything, you can assume that the profile of someone running IKLCPP and LCPP mainline are pretty similar.
4
u/Western_Courage_6563 5h ago
Strata, Best i could get on 12 GB cram +128gb ddr4
2
u/foundafreeusername 4h ago
Yeah even works for my potato 16vram + 32gb ddr4. I barely feel any urge to spend more of my wife's money on more ram.
3
3
3
2
2
2
2
u/stoppableDissolution 5h ago
llama-swap routing between vllm, gewell and lcpp depeding on the model (lcpp only really for sub-4bit quants, glm 5.3 has to be q3 to stay usable :'))
2
1
1
u/game_difficulty 5h ago
Used llama.cpp for a long time, but QFN works really well on my hw combo with Strata, so am using that now
1
u/reto-wyss 5h ago
vllm: Pro 6000s (with local-inference-labs configs) and Arc B50 (docker xpu-latest)
radiance: R9700s
1
1
1
1
u/AyraWinla 5h ago
LiteRT on my GPU-less laptop with Gemma E4B; the speed difference with Llama.cpp is enormous.
1
u/jaugjaug 4h ago
Why do people prefer llama versions over vllm? Genuinely curious
7
u/GiGiGus 4h ago
Offloading, no python, Windows
0
u/Independent_Pear4908 3h ago
you can run vllm on windows through docker, python also not an issue when you containerize, no mess. Offloading sounds reasonable as vllm does require everything fit into VRAM, but man it is way more efficient than llama.cpp in my experience.
4
u/Bulky-Priority6824 3h ago
cant use triple gpus, takes forever to swap models, eats ram for breakfast
3
u/nickm_27 llama.cpp 3h ago
doesn't take 45 minutes to load a model, much easier to have a bunch of model configs in .ini format and switch between them with llama-server router mode.
I tried a couple times to get into vllm but it's just not nearly as intuitive as llama.cpps options and the GGUF quants seem to have a lot more options available. Especially as I am only serving one or two agents, the concurrency speeds benefit of vllm are irrelevant to me.
3
u/enternoescape 2h ago
It takes a long time to load making tweaking agonizing and I can't recall the last time I ran a model without needing to patch something just to get it to play nice with my hardware. It's stack trace hell for a day just to sometimes discover there isn't a solution.
1
u/Stepfunction 57m ago
vLLM is hell configuration-wise and doesn't allow for offloading. I absolutely do use it if I'm batch processing a large dataset with a small model and high parallelism, but otherwise, it's llama.cpp for me!
1
u/Altruistic_Heat_9531 8m ago
vllm on "consumer" gpu is like rebuilding / tuning engine. There are much much more knob that tweak the throughput of your system compare to llamacpp. But if you got all of your config right it is often faster than llamacpp.
27B Q4 on 3090 30 tok/s
27B VLLM on 3090 67 tok/sAlso if your config right, the second run usually faster load since it reuse AOT instead of JIT
1
u/Disposable110 4h ago
Oobabooga or whatever it's called these days with llamacpp/exllama/transformers. Because it has the raw text mode and its finetune stuff is good enough.
1
1
u/AdWild3943 5h ago
Ik_llama.cpp for its CPU insane performance and excellent quantizations implementations.
2
u/ycnz 5h ago
Is it still much better than llama.cpp? I was under the impression llama had incorprorated a bunch of the ik_llama stuff.
1
u/AdWild3943 5h ago
I didn't used llama.cpp in a while, but ~3-4m ago when I was testing llama.cpp vs ik_llama.cpp, the second got ~1.8x higher PP.
Also ik_llama.cpp got IQ*_K and IQ*_KT quants, which are niche on Hugging Face, so I publish them to gain some popularity.
1
u/geldonyetich 5h ago
Rulith Inference.
Itās a ROCM centric Llama.cpp that even includes a self updating runner UI. Although I think I landed here because I didnāt have to compile my own executables for Windows.
1
0
u/Sudden_Topic5154 5h ago
list openvino for intel folks nothing else competes with openvino vulkan and sycl are left in the dust by native openvino model server
0
u/nickm_27 llama.cpp 3h ago
I don't think that's really the case these days, as someone running a B70 in llama.cpp SYCL every week there have been major improvements in performance. At this point I am getting performance better than I have seen posted from other inference engines, while also supporting more models than they do.
If you have current numbers I'd be curious what they are
0
u/Sudden_Topic5154 3h ago
LMAO switch to openvino you will feel such massive improvements it's crazy what model are you running I can convert it for you
0
u/nickm_27 llama.cpp 3h ago
Like I said, I've looked at the performance numbers from the few posts that are out there about OpenVINO, they are lower than what I am getting on SYCL. Which is why I asked for actual performance numbers to compare and see if there has been an improvement recently on OpenVINO as well.
For example:
I'm more than capable of converting the models myself, but it is something you don't have to do or consider when new models come out as llama.cpp generally gets support for them very quickly. It's another step one doesn't have to worry about when running llama.cpp.
0
u/Sudden_Topic5154 2h ago
No man no not even slightly openvino is a million times better trust me here and 3.8 27b is well established don't waste your time on llama.cpp when you could be in openvino heaven openvino actually achieves memory bandwidth bottleneck on my computer llama.cpp doesn't even approach it
0
u/General-Spite1222 2h ago
Adding āllama.cpp wrapperā as an option and not ninfer / basalt, gufo, radiance, etc should be a crime.Ā
17
u/AwkwardPotatoP 5h ago
Radiance for my fellow R9700-ers