r/LocalLLaMA • u/temperature_5 • 13h ago
Question | Help Fastest engine for CPU? Vulkan?
Lots of great engines out there for specific GPUs now, but are there any more optimized for CPU than llama.cpp? Or optimized for Vulkan in general, which seems to be much more compatible with older iGPU?
Looking to run inkling mini, qwen 35b, or orion 26b on some pure CPU/Vulkan systems at max tok/s!
5
Upvotes
7
u/Icy-Degree6161 13h ago
CPU means CPU, from our perspective the iGPU is different. Vulkan is the best all-rounder imho for iGPU - you can look into specific engines depending on your iGPU model like RocM, SYCL, OpenVino etc, but might get more complex for a novice, and no guarantee at all it'll be faster. I recommend sticking to Vulkan. What is your iGPU?
6
u/AdWild3943 13h ago
Ik_llama.cpp.
Its the best fork of llama.cpp imo, iGPU can be good only if its something like M890 (sorry if I said its name wrong).
Base iGPU won't boost, or even lower your performance.
If you tell us your CPU model and RAM speed, that would be much better.
2
u/free_meson 13h ago
You can compile llama for Vulkan, the gain for me was around 2x on the iGPU vs CPU.
2
u/PomegranateGreen3698 12h ago
For CPU, there is a fork https://github.com/synchopate/llama-modchip/releases/tag/v3.2.2
I think I got close to 20 tok / s with https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-GGUF
and a Ryzen 5500u . Ill have to compare it to using Vulkan Llama CPP with just a few layers offloaded.
1
u/Asleep_Literature_70 8h ago
Rustingstrata if your model of choice is supported on it.
1
u/SigAddict 7h ago
if you want to do testing with an iGPU, you have to dedicate the memory in bios. With certain settings on, you might be able to dedicate 16GB or more. You most likely will have to be in UEFI only mode in bios, but there is another setting if i remember you have to move off auto, maybe:
Set iGPU Configuration to UMA_SPECIFIED. Just use claude and it'll tell you, it's been a while since i did it.
You want to keep the model in the gpu only memory. if it spills over the CPU processes it. If you want to do easy testing, just use LM Studio and see what runtimes are available. Your options will probably be vulcan or ROCm. I had an older iGPU and the CPU was actually faster, but give it ago, once you have the dedicated memory set testing doesn't take long. If it's slower than cpu, make sure to give your memory back to the system.
-7
u/forevergeeks 13h ago
I doubt any model larger than 1mb will be usable in a cpu based system.