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 GPU not loading into VRAM or detected #7776
ensure HIP SDK installed
IGPU is hidden using HIP_SET_VISIBLE
i think you can add it in prerequistes, or else lot of people gonna open the same issue
this solves the issue
Important: Even after installing the HIP SDK, if your system has both an AMD iGPU and a discrete AMD GPU, Unsloth Studio may detect the iGPU (e.g. gfx1036) instead of the discrete GPU (e.g. gfx1200) and download the wrong ROCm PyTorch wheels.
Setting the following environment variable before running the installer fixes the issue by forcing HIP to use the discrete GPU:
setx HIP_VISIBLE_DEVICES 1
After opening a new terminal and rerunning the installer, it correctly detected my RX 9060 XT (gfx1200) and installed the appropriate gfx120X wheels.
It would be helpful to add this as a note in the installation guide or have the installer detect this situation and suggest setting HIP_VISIBLE_DEVICES when multiple AMD GPUs are present.
Activity
fix(studio/rocm): don't install for a shadowing iGPU on mixed AMD hos…
fix(studio/rocm): close two setup.ps1 gaps in the shadowing-iGPU pref…
Stop double-applying the mask to hipinfo, and two selection fixes
fix(studio/rocm): don't install for a shadowing iGPU on mixed AMD hos…
Installer: enumeration order is not a choice of AMD card
Give a mixed NVIDIA plus AMD host a way to ask for the ROCm torch sta…
Studio: keep an AMD dGPU and a Vulkan choice through install and update
Studio: keep an AMD dGPU and a Vulkan choice through install and update
Give a mixed NVIDIA plus AMD host a way to ask for the ROCm torch sta…
Installers (AMD, Linux): a Strix APU defers torch to a discrete card,…
Studio installer (AMD, Linux): CPU torch for a lone gfx90c instead of…