Repository navigation
Closed
Labels
Description
Note: Please do not remove the questions. Answer beside them.
- Did you update?
pip install --upgrade unsloth unsloth_zooFresh install ColaborKaggleor local / cloud - local- Number GPUs used, use
nvidia-smi2 AMD ROCm (gfx1201) - Which notebook? Please link! - n/a
- Which Unsloth version, TRL version, transformers version, PyTorch version? unsloth 2026.7.5
- Which trainer?
SFTTrainer,GRPOTraineretc
Latest llama.cpp build broke AMD GPU detection.
gt@gt-ai-rig2:~$ rocm-smi
========================================== ROCm System Management Interface ==========================================
==================================================== Concise Info ====================================================
Device Node IDs Temp Power Partitions SCLK MCLK Fan Perf PwrCap VRAM% GPU%
(DID, GUID) (Edge) (Avg) (Mem, Compute, ID)
======================================================================================================================
0 2 0x7551, 33599 N/A N/A N/A, N/A, 0 N/A N/A 0% unknown N/A 0% 0%
1 1 0x7551, 2934 37.0°C 15.0W N/A, N/A, 0 14Mhz 456Mhz 20.0% auto 300.0W 2% 1%
======================================================================================================================
================================================ End of ROCm SMI Log =================================================
Update run:
gt@gt-ai-rig2:~$ unsloth studio update
🦥 Unsloth Studio Setup
────────────────────────────────────────────────────
installing isolated Node (system Node/npm left untouched)...
node v24.18.0 | npm 11.16.0 (isolated)
frontend up to date
python unsloth 2026.7.5 is up to date
python dependencies up to date
gpu AMD ROCm (gfx1201)
ROCm: /opt/rocm
hipconfig: 7.14.60850-0000000
installing prebuilt llama.cpp...
existing install detected -- validating update
llama.cpp prebuilt up to date and validated
installed release: unslothai/llama.cpp@b10107-mix-1911198 (tag b10107)
🦥 You can also ask via our Reddit page: https://reddit.com/r/unsloth/
Activity
[-][Bug] Please fill in your issue title here.[/-][+][Bug] Latest llama.cpp build broke AMD GPU detection[/+]LeoBorcherding commentedon Jul 31, 2026
rocm-smi seeing both cards while studio doesn't is the useful part here: the driver is
clearly fine, so this is the prebuilt llama.cpp not picking up the arch rather than
anything wrong with your system. and "latest build broke it" points right at a specific
tag, so let's pin that down.
the fastest test is just rolling the prebuilt back. set an older tag before you launch and
see if detection comes back:
(or b10068-mix-fb3d4ca). if it detects fine on the older tag and breaks on latest, that's
basically the whole answer, and it gives us the exact window to look at.
alongside that, two things would help:
device enumeration lines. that shows whether it finds zero devices or misreads the arch.
--versionand device list from the buildstudio pulled, so we know if the break is in the binary or in how studio calls it.
do you remember which build you were on before this one? that'd save a step.
aelfwyne commentedon Aug 12, 2026
Downloaded today, was happy to see AMD support listed. Does not detect my R9700. Extremely frustrated.
(No integrated GPU on my system)
Studio: report the GPUs the OS sees, not just the ones PyTorch opened
LeoBorcherding commentedon Aug 28, 2026
Two different problems in this thread, so one ask each.
@guliaka the prebuilt has moved four times since you filed. You were on
b10107-mix-1911198, current isb10639-mix-f6f92fe. Does it still reproduce afterunsloth studio update?@aelfwyne yours is likely a different bug. What OS are you on, and could you post a screenshot of Settings > System in Studio? What that panel reports for GPU and backend should be enough to tell the two apart.
Studio: report the GPUs the OS sees, not just the ones PyTorch opened
Studio: report the GPUs the OS sees, not just the ones PyTorch opened (…
LeoBorcherding commentedon Sep 2, 2026
The detection fix has landed. #9499 makes unsloth studio update notice a CPU or CUDA torch sitting in an AMD venv and reinstall the ROCm wheel instead of printing "dependencies up to date", and #9498 stops the rocminfo probe naming the CPU as the GPU. Both shipped in v0.1.802-beta and were run before/after on a real gfx1151 box. @guliaka an update on the 2x gfx1201 rig should repair it now; if Settings > System still shows no GPU afterwards, paste the update output. @aelfwyne same ask, plus your OS. If both come back clean this closes.
cxwithyxy commentedon Sep 8, 2026
#10468 I was thinking is that Windows BUG
LeoBorcherding commentedon Sep 22, 2026
Closing this: the detection fix shipped in v0.1.802-beta (#9498 and #9499) and neither reporter has come back on a current build. Reopen rather than filing fresh if it still happens.
@guliaka on the 2x gfx1201 rig,
unsloth studio updateshould repair it. If Settings > System still shows no GPU after that, paste the update output here.@aelfwyne your case was probably never this bug. #9499 covers a CPU or CUDA torch wheel left behind in the AMD venv, which is the most common cause of "AMD GPU not detected" and is what the update now repairs, so try that first. If a current build still misses the card, please open a separate issue with your OS and a screenshot of Settings > System: a single R9700 with no integrated GPU is a different shape from this thread and will get lost in it.
@cxwithyxy the 6950 XT is RDNA2, which ROCm has no Windows support for at all, so that is a third thing again. The Vulkan entry in the compute backend dropdown is the path for that card.