You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] AMD RX 580 not detected with UNSLOTH_FORCE_VULKAN=1 until clean reinstall #8458
Title: AMD GPU (RX 580) not detected with UNSLOTH_FORCE_VULKAN=1 until a clean reinstall
Hi! I'd like to report an issue with Vulkan backend detection on AMD GPUs in Unsloth Desktop.
Environment
OS: Windows 11 (build 26220)
GPU: AMD Radeon RX 580, 8 GB (Polaris)
Unsloth Desktop: v0.1.62-beta
Problem
Following the release notes, I set the environment variable UNSLOTH_FORCE_VULKAN=1 to enable Vulkan for my AMD GPU. The variable was set correctly (verified with echo %UNSLOTH_FORCE_VULKAN% in a fresh cmd window), and I fully rebooted the PC and restarted the app multiple times — but Unsloth Desktop still didn't detect the GPU and fell back to CPU.
At the same time, LM Studio on the same machine detects the RX 580 without issues and works fine with the Vulkan llama.cpp engine (v2.28.2), so the drivers and Vulkan runtime are OK.
What fixed it
A clean reinstall of Unsloth Desktop with the environment variable already set. After the reinstall the app detected the card immediately (Settings → System shows "Radeon RX 580 Series, GPU 0, VULKAN").
Hypothesis
It looks like the app performs the GPU/backend survey only once, at first install/launch, and caches the result. If UNSLOTH_FORCE_VULKAN is set after the initial install, the cached "no GPU" decision persists, and neither app restarts nor OS reboots trigger a re-survey. A clean reinstall forces a fresh survey, and Vulkan gets picked.
Suggestion
Please make the app honor UNSLOTH_FORCE_VULKAN at runtime (or re-run GPU detection when the variable changes), not only on first launch. A "Re-detect GPUs" button in Settings → System would also solve this.
Thanks for your work!
This is fixed! You can switch the llama.cpp backend from Settings now and re-run the backend probe on demand, so an RX 580 can be moved onto the Vulkan build in place with no clean reinstall. One caveat: if UNSLOTH_FORCE_VULKAN is still set in the environment the switch is refused on purpose and asks you to unset it and restart first. Please reopen if the card still goes undetected after that!
To update: Studio is unsloth studio update, Unsloth Desktop updates from its update banner, and in Docker it's docker exec <container> unsloth-studio-update.
Activity
Lyxot commentedon Aug 12, 2026
#8520 may help you
Let an identified uncovered card outrank the generic ROCm report, and…
Say ROCm does not cover RDNA 1 instead of advising a fix that cannot …
fix(amd): let a pinned torch index carry a package extra, so RDNA1 ca…
danielhanchen commentedon Sep 15, 2026
This is fixed! You can switch the llama.cpp backend from Settings now and re-run the backend probe on demand, so an RX 580 can be moved onto the Vulkan build in place with no clean reinstall. One caveat: if UNSLOTH_FORCE_VULKAN is still set in the environment the switch is refused on purpose and asks you to unset it and restart first. Please reopen if the card still goes undetected after that!
To update: Studio is
unsloth studio update, Unsloth Desktop updates from its update banner, and in Docker it'sdocker exec <container> unsloth-studio-update.fix(amd): let a pinned torch index carry a package extra, so RDNA1 ca…