Skip to content

[Bug] AMD RX 580 not detected with UNSLOTH_FORCE_VULKAN=1 until clean reinstall #8458

Closed

Description

@olodva-maker

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!

Activity

  1. Lyxot commented on Aug 12, 2026

    @Lyxot
    Collaborator

    #8520 may help you

  2. danielhanchen commented on Sep 15, 2026

    @danielhanchen
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions