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] RX 5700XT doesn't recognize in Unsloth Desktop #8529
If your target is only inference, we do support it. But according to your screenshots, the installer did not install llama.cpp Vulkan for you. We will fix it
Thanks for the report, and sorry for the confusing message.
The RX 5700 XT is Navi 10, gfx1010, RDNA 1. That generation is not supported by ROCm PyTorch: AMD publishes Windows wheel indexes for gfx103X (RDNA 2), gfx110X (RDNA 3), gfx1150/gfx1151 (RDNA 3.5) and gfx120X (RDNA 4), and there is no gfx101X index. So the card is genuinely usable only on CPU for training and Transformers inference here, and the CPU fallback you got is the correct outcome. Your screenshot confirms that is what happened: Torch 2.10.0+cpu, backend CPU.
Two things on our side are wrong regardless, and I am fixing them:
Studio says "No visible GPU detected" when the GPU is plainly there and simply unsupported. Detected but unsupported is not the same as absent, and it should not read as though the hardware is missing.
The installer tells you to install the HIP SDK or set UNSLOTH_ROCM_GFX_ARCH to enable ROCm. On RDNA 1 neither can work, so that advice sends you on an errand with no ending. It should name the card's arch and say plainly that ROCm does not cover it.
One thing that may still be useful to you: GGUF inference through llama.cpp does not go through ROCm PyTorch, so a Vulkan build can use the 5700 XT for chat even though training stays on CPU. That path is not affected by any of the above.
Update, including a correction to what I said above.
The advice half is fixed in #8577. On an RDNA 1 card the installer now names the arch and says plainly that ROCm does not cover it, instead of telling you to install the HIP SDK or set UNSLOTH_ROCM_GFX_ARCH, neither of which could ever have worked on this GPU. It covers gfx1010 (RX 5700 / 5700 XT, RX 5600 series, Radeon Pro 5600 XT), gfx1011 and gfx1012 (RX 5500 / 5500 XT), taken from LLVM's AMDGPU processor table. CPU fallback itself is unchanged, since that part was correct.
The wording half I promised is not fixed, and I was wrong to say it would be. "No visible GPU" comes from GET /api/system, whose device list is populated only by torch.cuda. The backend does no WMI or lspci enumeration at all, and the install manifest records no GPU identity, so at the point that string is rendered the backend genuinely cannot tell "no GPU present" from "GPU present but unsupported". Making the text vaguer would hide that rather than fix it. The real fix is to reconcile what the installer detected with what the backend can see, which is #8473, and I would rather do it there properly than paper over it here.
Your card will still show as no GPU until that lands. What you see in the installer will at least now be accurate.
Hello unsloths:
Thank you for your response, i intent to use Unsloth Desktop only to chat with the models and use tools - not to train model
You've said that you can bypass PyTorch/ROCm completely and can use a Vulkan build through llama.cpp to run GGUF models directly on your RX 5700 XT hardware...
#8577 is merged, so the RDNA 1 wording is in. One gap I found while merging main into two other AMD branches, which affects the RX 5700 XT specifically.
On Linux the new message is reachable only when no gfx token could be read. The report chain in studio/setup.sh is:
_setup_gfx is taken verbatim from the gfx tokens rocminfo prints, with no filtering against the supported table (setup.sh:1857). An RX 5700 XT with ROCm installed reports gfx1010, so the first arm wins and the new message never fires. Reproduced both ways against the merged chain:
ROCm installed, rocminfo reports gfx1010
STEP: AMD ROCm (gfx1010)
same card, runtime-less host (no gfx token)
STEP: AMD GPU detected (gfx1010) -- no ROCm PyTorch wheels Unsloth installs
So the users who see the fix are the ones who never installed ROCm, and anyone who did install it to try to make the card work still gets a plain "AMD ROCm (gfx1010)" followed by CPU torch, which is the original complaint in this issue.
The Windows side does not have this shape: setup.ps1 sets $script:ROCmUnsupportedGfxArch from a name table and #8577 added -not $script:ROCmUnsupportedGfxArch guards to the arms that would otherwise win, so the unsupported arm outranks them there.
The Linux fix is the same idea: the unsupported lookup should outrank the -n "$_setup_gfx" arm rather than sit below it, or _setup_gfx should be checked against the supported table before that arm is allowed to claim the host. I did not change it inside either merge, since it alters behaviour that main ships today rather than resolving a conflict, so it wants its own change. Leaving this issue open for that.
Hello unsloths: Thank you for your response, i intent to use Unsloth Desktop only to chat with the models and use tools - not to train model You've said that you can bypass PyTorch/ROCm completely and can use a Vulkan build through llama.cpp to run GGUF models directly on your RX 5700 XT hardware...
A second, worse half of this on Linux, found while reviewing #8606. Separate from the messaging gap above, and pre-existing on main rather than introduced by that PR.
_ensure_rocm_torch() in studio/install_python_stack.py will install a generic ROCm torch on this card. The gate that decides an AMD GPU is present is _has_rocm_gpu(), which only looks for a real gfx id:
gfx1010 matches. Nothing between that guard and the install consults _unsupported_gfx_arch_from_gpu_name(), which the same file already defines at line 1095 and uses only to print a warning near line 1003. I checked: between def _ensure_rocm_torch and the install site there are zero references to it. The tag is then chosen purely from the detected ROCm version:
So an RX 5700 XT with ROCm installed can pull a multi-gigabyte ROCm torch from an index that publishes no gfx1010 kernels, and end up with a torch that still cannot use the card. That is the same conclusion as the report at the top of this issue, reached by a more expensive route.
Worth stating clearly that this is main's behaviour, not #8606's. #8606 refactors the logic into _linux_rocm_torch_plan and calls an extracted _generic_pytorch_rocm_tag, and I briefly misread the absence of that call on main as the behaviour being new before finding main has the same lookup inlined. A review item on #8606 raised it at P1; I am leaving it declined there, because it is not that PR's defect and a contributor's branch is the wrong place to change it.
The fix belongs here: consult the unsupported-arch table before selecting any ROCm index, and say what this issue's title asks for instead of installing wheels that cannot work.
hey @AssabTigleG, late follow-up but a hopeful one. i picked up an RX 5700 XT (gfx1010) and put it next to an RX 6500 XT to work through exactly what you hit. short version: the card can now train with unsloth on windows, with a few pieces that are landing one by one. it is not in Unsloth Desktop out of the box yet, and the tracking issue with everything linked is #11614.
everything daniel and lyxot said above was right for the state of things in august, and it still holds for the index Unsloth Desktop installs from: https://repo.amd.com/rocm/whl has gfx103X, gfx110X, gfx1150/1151/1152, gfx120X and the datacenter parts, and no gfx101X. so the installer had no torch it could give this card, and the CPU fallback was the honest outcome.
what changed since
AMD's multi-arch index (https://repo.amd.com/rocm/whl-multi-arch/, stable, torch 2.9.1 through 2.12.0 on ROCm 7.13 to 7.14.1; there is a 10.2 nightly of it too) ships per-card kernel packs, and gfx1010, gfx1011 and gfx1012 are in it. the install shape is a little different from the per-family index: pip install "torch[device-gfx1010]" pulls torch plus an amd-torch-device-gfx1010 pack (several cards can go in the brackets). with that torch the 5700 XT runs, and then four things break in turn, each with a fix:
what breaks
what you see
fix
triton's default AMD buffer ops on gfx1010
every triton kernel launches fine and writes nothing, so a run looks healthy and learns nothing
#11615 (merged): turns them off on gfx101x and keeps the compile caches separate
any fp16 tl.dot
RDNA1 has no dot instructions and LLVM aborts the process. that is every flash-linear-attention kernel, so every gated-delta model (qwen3.5)
its q/k l2norm reduces in float16 and overflows, so the loss goes NaN after step 1. only visible with torch.compile off, which is how Unsloth Desktop runs on windows ROCm
same PR: that l2norm now reduces in float32, like the fla kernel it replaces
offloaded activations coming back in the wrong dtype
with all of those, on windows 11 (torch 2.12.0+rocm10.2 nightly, and the same numbers on the stable 2.11.0+rocm7.14.1, triton-windows 3.8.0, unsloth 2026.9.7 to 2026.9.11, 16-bit lora; qlora works too, more on that in the desktop paragraph):
model
RX 5700 XT
Qwen3-1.7B
trains, losses within noise of the RX 6500 XT
Qwen3.5-0.8B
trains (pure-torch gated delta)
gemma-3-270m
trains, but the compiled path gives a different loss curve on every run in fp16 on ROCm; separate issue coming
what this means for Unsloth Desktop today
still CPU fallback out of the box today, because the shipped installer does not know the new index or its torch[device-gfxNNNN] shape. the fix for that is #11755: the windows installers route gfx1010/1011/1012 to the stable multi-arch index, pinned to 2.11.0+rocm7.14.1. a fresh install from that branch on my box, with only the 5700 XT visible, gave the ROCm 10.2 torch and trained both lora and qlora (yes, qlora: the bitsandbytes wheel Unsloth Studio already installs runs on gfx1010). as a proof of the end state i swapped the torch in my own Unsloth Desktop install by hand and put the fixes in: the app picks up both cards, chooses the 5700 XT on its own (most free VRAM) and trained Qwen3.5-0.8B 16-bit lora on alpaca-cleaned for 30 steps, mean loss 1.41. that run is what caught the eager-mode l2norm bug in the table.
and the same app with only the 5700 XT visible, which is what your machine looks like: it trains the same job to the same numbers (mean loss 1.4119, final 1.5441 both times).
linux: on WSL2 the RDNA1 card is stopped one layer below anything unsloth touches (the WSL GPU driver refuses the address-space reservation ROCm needs, dxgkio_reserve_gpu_va: EOVERFLOW). bare-metal linux with the same nightly index is untested by me. the generic-ROCm-torch problem daniel describes above for linux has the same root cause, a torch with no gfx1010 kernels, and the nightly index is the first one that actually has them.
and for your original question: chatting with GGUF models goes through llama.cpp, not through ROCm torch, so the vulkan build uses the 5700 XT regardless of all of the above. lyxot's pointer to #8520 is the right thread for that.
Fixed! Sorry on the delay. On Windows, the RX 5700 XT (and the rest of the RX 5000 series) now gets a ROCm PyTorch build from AMD's multi-arch index instead of the CPU fallback, so Unsloth Desktop can train on it (#11755, #11846, plus unslothai/unsloth-zoo#1356 and #1316). On Linux with ROCm installed, the installer no longer downloads a generic ROCm PyTorch these cards cannot run, and says plainly that they have no ROCm wheels there, installing CPU PyTorch instead (#13419). GGUF chat can use the card through Vulkan either way.
To update: Unsloth Desktop will have an update banner. For Studio, use unsloth studio update, or re-run the installer (irm https://unsloth.ai/install.ps1 | iex on Windows, curl -fsSL https://unsloth.ai/install.sh | sh on Linux). If the Linux part is not in the current release yet it'll be in the next one. Reopen if it still happens.
Activity
Lyxot commentedon Aug 12, 2026
Sorry but currently we only support AMD Radeon RDNA 3/3.5/4 (RX 6000–9000 series)
AssabTigleG commentedon Aug 12, 2026
Is there any chance that you will support in the FUTURE?
and i think LMStudio supports this GPU too...
Lyxot commentedon Aug 12, 2026
If your target is only inference, we do support it. But according to your screenshots, the installer did not install llama.cpp Vulkan for you. We will fix it
Lyxot commentedon Aug 12, 2026
I didn't see a Driver version in your screenshot. Is your driver properly installed?
danielhanchen commentedon Aug 12, 2026
Thanks for the report, and sorry for the confusing message.
The RX 5700 XT is Navi 10, gfx1010, RDNA 1. That generation is not supported by ROCm PyTorch: AMD publishes Windows wheel indexes for gfx103X (RDNA 2), gfx110X (RDNA 3), gfx1150/gfx1151 (RDNA 3.5) and gfx120X (RDNA 4), and there is no gfx101X index. So the card is genuinely usable only on CPU for training and Transformers inference here, and the CPU fallback you got is the correct outcome. Your screenshot confirms that is what happened:
Torch 2.10.0+cpu, backend CPU.Two things on our side are wrong regardless, and I am fixing them:
UNSLOTH_ROCM_GFX_ARCHto enable ROCm. On RDNA 1 neither can work, so that advice sends you on an errand with no ending. It should name the card's arch and say plainly that ROCm does not cover it.One thing that may still be useful to you: GGUF inference through llama.cpp does not go through ROCm PyTorch, so a Vulkan build can use the 5700 XT for chat even though training stays on CPU. That path is not affected by any of the above.
danielhanchen commentedon Aug 12, 2026
Update, including a correction to what I said above.
The advice half is fixed in #8577. On an RDNA 1 card the installer now names the arch and says plainly that ROCm does not cover it, instead of telling you to install the HIP SDK or set
UNSLOTH_ROCM_GFX_ARCH, neither of which could ever have worked on this GPU. It covers gfx1010 (RX 5700 / 5700 XT, RX 5600 series, Radeon Pro 5600 XT), gfx1011 and gfx1012 (RX 5500 / 5500 XT), taken from LLVM's AMDGPU processor table. CPU fallback itself is unchanged, since that part was correct.The wording half I promised is not fixed, and I was wrong to say it would be. "No visible GPU" comes from
GET /api/system, whose device list is populated only bytorch.cuda. The backend does no WMI or lspci enumeration at all, and the install manifest records no GPU identity, so at the point that string is rendered the backend genuinely cannot tell "no GPU present" from "GPU present but unsupported". Making the text vaguer would hide that rather than fix it. The real fix is to reconcile what the installer detected with what the backend can see, which is #8473, and I would rather do it there properly than paper over it here.Your card will still show as no GPU until that lands. What you see in the installer will at least now be accurate.
AssabTigleG commentedon Aug 13, 2026
Hello unsloths:
Thank you for your response, i intent to use Unsloth Desktop only to chat with the models and use tools - not to train model
You've said that you can bypass PyTorch/ROCm completely and can use a Vulkan build through llama.cpp to run GGUF models directly on your RX 5700 XT hardware...
can you tell me how can i do that?
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 …
danielhanchen commentedon Aug 13, 2026
#8577 is merged, so the RDNA 1 wording is in. One gap I found while merging main into two other AMD branches, which affects the RX 5700 XT specifically.
On Linux the new message is reachable only when no gfx token could be read. The report chain in
studio/setup.shis:_setup_gfxis taken verbatim from the gfx tokensrocminfoprints, with no filtering against the supported table (setup.sh:1857). An RX 5700 XT with ROCm installed reportsgfx1010, so the first arm wins and the new message never fires. Reproduced both ways against the merged chain:So the users who see the fix are the ones who never installed ROCm, and anyone who did install it to try to make the card work still gets a plain "AMD ROCm (gfx1010)" followed by CPU torch, which is the original complaint in this issue.
The Windows side does not have this shape:
setup.ps1sets$script:ROCmUnsupportedGfxArchfrom a name table and #8577 added-not $script:ROCmUnsupportedGfxArchguards to the arms that would otherwise win, so the unsupported arm outranks them there.The Linux fix is the same idea: the unsupported lookup should outrank the
-n "$_setup_gfx"arm rather than sit below it, or_setup_gfxshould be checked against the supported table before that arm is allowed to claim the host. I did not change it inside either merge, since it alters behaviour that main ships today rather than resolving a conflict, so it wants its own change. Leaving this issue open for that.Lyxot commentedon Aug 13, 2026
I think #8520 will help you
danielhanchen commentedon Aug 13, 2026
A second, worse half of this on Linux, found while reviewing #8606. Separate from the messaging gap above, and pre-existing on
mainrather than introduced by that PR._ensure_rocm_torch()instudio/install_python_stack.pywill install a generic ROCm torch on this card. The gate that decides an AMD GPU is present is_has_rocm_gpu(), which only looks for a real gfx id:gfx1010matches. Nothing between that guard and the install consults_unsupported_gfx_arch_from_gpu_name(), which the same file already defines at line 1095 and uses only to print a warning near line 1003. I checked: betweendef _ensure_rocm_torchand the install site there are zero references to it. The tag is then chosen purely from the detected ROCm version:So an RX 5700 XT with ROCm installed can pull a multi-gigabyte ROCm torch from an index that publishes no gfx1010 kernels, and end up with a torch that still cannot use the card. That is the same conclusion as the report at the top of this issue, reached by a more expensive route.
Worth stating clearly that this is
main's behaviour, not #8606's. #8606 refactors the logic into_linux_rocm_torch_planand calls an extracted_generic_pytorch_rocm_tag, and I briefly misread the absence of that call onmainas the behaviour being new before findingmainhas the same lookup inlined. A review item on #8606 raised it at P1; I am leaving it declined there, because it is not that PR's defect and a contributor's branch is the wrong place to change it.The fix belongs here: consult the unsupported-arch table before selecting any ROCm index, and say what this issue's title asks for instead of installing wheels that cannot work.
PARLTOR commentedon Aug 14, 2026
Similar issue with RDNA 2 architecture, gfx1030 (AMD 6000 series GPUs)
fix(amd): let a pinned torch index carry a package extra, so RDNA1 ca…
LeoBorcherding commentedon Sep 24, 2026
hey @AssabTigleG, late follow-up but a hopeful one. i picked up an RX 5700 XT (gfx1010) and put it next to an RX 6500 XT to work through exactly what you hit. short version: the card can now train with unsloth on windows, with a few pieces that are landing one by one. it is not in Unsloth Desktop out of the box yet, and the tracking issue with everything linked is #11614.
everything daniel and lyxot said above was right for the state of things in august, and it still holds for the index Unsloth Desktop installs from: https://repo.amd.com/rocm/whl has gfx103X, gfx110X, gfx1150/1151/1152, gfx120X and the datacenter parts, and no gfx101X. so the installer had no torch it could give this card, and the CPU fallback was the honest outcome.
what changed since
AMD's multi-arch index (https://repo.amd.com/rocm/whl-multi-arch/, stable, torch 2.9.1 through 2.12.0 on ROCm 7.13 to 7.14.1; there is a 10.2 nightly of it too) ships per-card kernel packs, and gfx1010, gfx1011 and gfx1012 are in it. the install shape is a little different from the per-family index:
pip install "torch[device-gfx1010]"pulls torch plus anamd-torch-device-gfx1010pack (several cards can go in the brackets). with that torch the 5700 XT runs, and then four things break in turn, each with a fix:tl.dotl2normreduces in float16 and overflows, so the loss goes NaN after step 1. only visible with torch.compile off, which is how Unsloth Desktop runs on windows ROCml2normnow reduces in float32, like the fla kernel it replaceswith all of those, on windows 11 (torch 2.12.0+rocm10.2 nightly, and the same numbers on the stable 2.11.0+rocm7.14.1, triton-windows 3.8.0, unsloth 2026.9.7 to 2026.9.11, 16-bit lora; qlora works too, more on that in the desktop paragraph):
what this means for Unsloth Desktop today
still CPU fallback out of the box today, because the shipped installer does not know the new index or its
torch[device-gfxNNNN]shape. the fix for that is #11755: the windows installers route gfx1010/1011/1012 to the stable multi-arch index, pinned to 2.11.0+rocm7.14.1. a fresh install from that branch on my box, with only the 5700 XT visible, gave the ROCm 10.2 torch and trained both lora and qlora (yes, qlora: the bitsandbytes wheel Unsloth Studio already installs runs on gfx1010). as a proof of the end state i swapped the torch in my own Unsloth Desktop install by hand and put the fixes in: the app picks up both cards, chooses the 5700 XT on its own (most free VRAM) and trained Qwen3.5-0.8B 16-bit lora on alpaca-cleaned for 30 steps, mean loss 1.41. that run is what caught the eager-model2normbug in the table.and the same app with only the 5700 XT visible, which is what your machine looks like: it trains the same job to the same numbers (mean loss 1.4119, final 1.5441 both times).
two related notes for anyone landing here:
gpu_idsover the API) fails withdevice kernel image is invalid. that is Unsloth Studio (AMD/ROCm): a second AMD GPU the installed PyTorch cannot run is still offered for training, and the installer never warns #11569, fix in Unsloth Studio (AMD/ROCm): warn about, and refuse, a GPU the installed PyTorch has no kernels for #11571 (greys the card out with a plain message).dxgkio_reserve_gpu_va: EOVERFLOW). bare-metal linux with the same nightly index is untested by me. the generic-ROCm-torch problem daniel describes above for linux has the same root cause, a torch with no gfx1010 kernels, and the nightly index is the first one that actually has them.and for your original question: chatting with GGUF models goes through llama.cpp, not through ROCm torch, so the vulkan build uses the 5700 XT regardless of all of the above. lyxot's pointer to #8520 is the right thread for that.
fix(amd): let a pinned torch index carry a package extra, so RDNA1 ca…
Unsloth Studio (AMD RDNA 1, Windows): install ROCm torch for the RX 5…
Unsloth Studio installer (AMD/Windows): install PyTorch for RX 5000 t…
danielhanchen commentedon Oct 13, 2026
Fixed! Sorry on the delay. On Windows, the RX 5700 XT (and the rest of the RX 5000 series) now gets a ROCm PyTorch build from AMD's multi-arch index instead of the CPU fallback, so Unsloth Desktop can train on it (#11755, #11846, plus unslothai/unsloth-zoo#1356 and #1316). On Linux with ROCm installed, the installer no longer downloads a generic ROCm PyTorch these cards cannot run, and says plainly that they have no ROCm wheels there, installing CPU PyTorch instead (#13419). GGUF chat can use the card through Vulkan either way.
To update: Unsloth Desktop will have an update banner. For Studio, use
unsloth studio update, or re-run the installer (irm https://unsloth.ai/install.ps1 | iexon Windows,curl -fsSL https://unsloth.ai/install.sh | shon Linux). If the Linux part is not in the current release yet it'll be in the next one. Reopen if it still happens.AssabTigleG commentedon Oct 13, 2026
Thank you guyz, will check these
Studio installer (AMD, Linux): CPU torch for a lone gfx90c instead of…