[regression, 5.0.0] Vulkan - LocalAI no longer utilizes GPU
Unless somehow intentional, this is a regression.
docker.io/localai/localai:latest-gpu-vulkan (image ID: f6fc6fbdf468)
Environment, CPU architecture, OS, and Version:
- Linux Yumi 7.3.3-pikaos #101pika4 SMP PREEMPT_DYNAMIC Tue Nov 10 22:06:27 UTC 2026 x86_64 unknown unknown linux
- AMD Ryzen 9 6900HX with Radeon Graphics
- AMD Radeon 680M (integrated)
- AMD Radeon RX 6800S (discrete)
Describe the bug Prior to 5.0.0:
- Individual card names were recognized.
- Cards were utilized well, respected configuration settings, etc
In 5.0.0:
- Individual card names are not recognized, it just says "AMD GPU" once for each card.
- All models load to CPU.
- This applies whether I'm using "llama-cpp" or "turboquant" (or specifying their 'vulkan-' prefixes)
LocalAI version: 5.0.0
To Reproduce Start the image. Load the website. Load a model. It loads to CPU, and gfx card names aren't recognized.
Expected behavior GPUs are recognized and utilized.
Logs What logs do you want -- container logs?
Additional context
I don't know if it's relevant, but I'm getting a lot of:
No system backends found caller={caller.file="/build/core/gallery/backends.go" caller.L=795 }
Thanks for the report. Part of this is a real regression in 5.0.0. GPU memory is now read from sysfs when rocm-smi is not in the image, and that path labels every AMD card as "AMD GPU" instead of using the names from vulkaninfo. That is cosmetic, and we are fixing it. The No system backends found line is a debug message and is harmless.
The CPU loading is not explained by that change, so we need more information to find the cause. Could you share:
- Container logs from startup through loading one model, with debug logging enabled (
--debug), so we can see which Vulkan devices llama.cpp found and how many layers it offloaded. - The
docker runor compose command you use, including the/dev/driand group options. - The output of
vulkaninfo --summaryrun inside the container.
If you can, also tell us whether the same setup used the GPU on 4.12.1. Thanks!
Reopening: the AMD GPU naming part of this issue is fixed on master (#13350, the device is now named from its product name, vulkaninfo or the PCI IDs instead of the generic "AMD GPU"). The other part, the model that loads on the CPU instead of the GPU, is not confirmed fixed. It needs the logs from the reporter's host (the startup log with the GPU detection lines and the log of the model load). Could you attach them? Once we see them, we can say whether it is a detection problem or a backend one.
The CPU loading has Fixed Itself (transient error?), and I have not had any issue with it since. Glad to hear the naming fix is done.
@eode thanks for the feedback, glad its solved!