How to get llama to use 100% GPU utilization #22749
Replies: 13 comments 2 replies
|
See if any other Windows users report this issue. I am not doing anything different. Basic 1 line setup, download models, run. The same PCs run hundreds of other AI systems without this under utilized GPU symptom. They all max out at 100%. |
|
None of the other Task Manager dropdown options show any activity. If this was Task Manager then it would be the same for the hundreds of other AI systems I run on this PC. Only llama.cpp shows this lower activity issue. OK, starting from scratch. Installed with winget then run The backend stats at startup show this. So it is not using CUDA at all, but Vulkan? Can I force it to use CUDA? Full stats of install and run... |
|
OK, I made some progress... I downloaded https://github.com/ggml-org/llama.cpp/releases/download/b9084/llama-b9084-bin-win-cuda-12.4-x64.zip and extracted it. Can I get this same behavior using the install? If not, then maybe the install readme instructions should specify that Windows users should not use the winget install for best performance? |
|
If I do use the zip is there any way to easily determine the latest zip name? This is so the download can be automated in a batch file and make sure the latest version is being downloaded. |
|
Having a different name each release just means I need to update my install batch file from time to time rather than just having a fixed name zip file to download that is always the latest. If there could be a llama-latest-win.zip that would be easier, but I will check and update my installer every so often for a new release Anyway, it works now with 100% GPU using the zip install. If any other Windows user has the same issue, do not use winget for the install, use the zip file download/extract method. I have had some good vibe coding results with llama.cpp |
|
The key is |










Uh oh!
There was an error while loading. Please reload this page.
No matter what model I use the GPU utilization seems to fluctuate around 50%.
Example command
llama-server -m models\gemma4-26b.gguf -ngl 99 --mmproj models\mmproj-BF16.gguf --no-mmproj-offload --port 8080What am I missing to get 100% GPU utilization?
Thanks.
All reactions