Repository navigation
Replies: 2 comments 5 replies
|
The "offloading to GPU" part is the RPC servers, not your iGPU. llama.cpp registers every For the speed difference between the two setups, compare the per-device To offer the iGPU over RPC, build the rpc-server on .102/.103 with |
|
Which model and operating system are you using? And how many CPU cores do you have? I tried to benchmark Ternary-Bonsai-2-9B-gguf on my Linux laptop with a quad-core CPU + UHD 620 integrated GPU and the results are here. Basically UHD 620 wins on prefill, but loses to the CPU on tokens generation. I wonder if it's possible to somehow run prefill on the GPU, but then switch to the CPU for tokens generation? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Ive got a laptop with Intel UHD Graphics 620 and when I run llama-server on it it says it is offloading to GPU but no GPU is ever mentioned otherwise. llama-server --list-devices shows nothing.
llama-server was compiled without CUDA, vulkan and opencl since I wasnt expecting it to be able to use the GPU at all.
The llama.cpp version is: 0.4.1-dev (build 11094, commit ff0dbb9)
The setups that are confusing me a little bit is this:
.101 AMD Ryzen 5 5500U CPU 16GB RAM, GeForce GTX 1650 Mobile GPU 4GB vram, CPU and GPU offered over RPC
.102 Intel Core i5-8265U CPU 8GB RAM, UHD Graphics 620, CPU offered over RPC
.103 Intel Core i5-7200U CPU 16GB RAM, HD Graphics 620, CPU offered over RPC
.102 running llama-server with whatever GPU offloading it seems to do and using its own CPU via RPC.
This is about 80% faster in prompt processing. It has approximately the same sharing of the model (memory wise) as the next setup.
As opposed to:
.101 AMD Ryzen 5 5500U CPU 16GB RAM, GeForce GTX 1650 Mobile GPU 4GB vram, CPU offered over RPC
.102 Intel Core i5-8265U CPU 8GB RAM, UHD Graphics 620, CPU offered over RPC
.103 Intel Core i5-7200U CPU 16GB RAM, HD Graphics 620, CPU offered over RPC
.101 running llama-server with GPU offloading to local CUDA and using its CPU via RPC.
It seems something extra is used for processing in the first setup but llama-server --list-devices shows nothing and ggml-rpc-server only shows CPU on .102.
What is happening?!?
And also, I would like to be able to offer the GPU on .102 over RPC, if thats what it really is using.
Meaning .103 also might have a GPU to offer.
I have tried both vulkan and opencl with varying degrees of misfortune.
All reactions