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
Studio: installer reports an AMD GPU while the backend runs CPU-only, with no reconciliation between them #8473
gpu AMD ROCm (gfx1201)
python dependencies up to date
and Studio then runs CPU-only. The Live monitor shows VRAM --, "No visible GPU", and a detail line reading CPU. The user is told twice that their GPU is fine and given no diagnostic at all.
Reported this way in #7485, and the same shape appears as problem 5 in #7307 (install path says gfx1201, update path says AMD Ryzen 9 9950X).
Why
The installer's GPU line and the backend's GPU verdict are computed by two stacks that share no state and never reconcile.
The installer probes rocminfo / amd-smi / hipinfo and a marketing-name table (studio/setup.sh:1798-1861, install.sh:2847-2860, studio/install_llama_prebuilt.py:2552-2585).
The backend's device list comes from get_backend_visible_gpu_info() (studio/backend/utils/hardware/hardware.py:3102). On an AMD host that function skips the SMI branch outright (hardware.py:3108 is device == DeviceType.CUDA and not IS_ROCM), so the only branch that can populate devices is torch.cuda (hardware.py:3123-3147). "No visible GPU" therefore means exactly one thing: torch.cuda.is_available() returned False in the backend process, so _detect_hardware_locked fell through to DEVICE = CPU.
Nothing in the current-layout install or update path ever runs torch.cuda.is_available() to check that the GPU the installer just announced is the GPU torch can actually see. The only such probe is the legacy-layout migration one at install.sh:2477-2483, which passes on device = 'cpu' by construction.
Nor does the installer persist any GPU identity the backend could compare against: unsloth_install_manifest.json (studio/install_manifest.py:124-158) carries no gfx field, and UNSLOTH_PREBUILT_INFO.json's rocm_gfx (install_llama_prebuilt.py:6206-6222) is read only by the updater.
Suggested fix
After the Python stack step, run one bounded subprocess in the venv reporting torch.cuda.is_available(), device_count(), torch.__version__ and torch.version.hip, and fail the step loudly when the installer announced an AMD GPU and torch sees none. Print the mismatch instead of dependencies up to date.
Persist the installer's detected gfx into the install manifest, and when DEVICE == CPU on a host where a ROCm GPU was recorded, have the Live monitor say "PyTorch cannot see the AMD GPU" with the recorded arch rather than "No visible GPU".
This is a small change and it converts an unfalsifiable user report into a self-diagnosing one.
Closing. The update path now runs the AMD torch check and forces a repair when torch isn't a ROCm build, and the backend reports the physical card with a GPU unusable reason instead of a bare no visible GPU.
Activity
CSEliot commentedon Aug 11, 2026
+1, facing similar or same issue. I believe #7275 is related.
Here's my install dump from unsloth desktop (same as unsloth studio):
unslothInstallDump.txt
danielhanchen commentedon Aug 12, 2026
Thanks will check
Run the #8473 torch visibility PowerShell tests in CI
Run the #8473 block harness under set -euo pipefail, as setup.sh does
Pin the arch the #8473 block harness reports, so the suite does not d…
PARLTOR commentedon Aug 14, 2026
Similar issue with RDNA 2 architecture, gfx1030 (AMD 6000 series GPUs)
marifcelik commentedon Aug 17, 2026
similar with RX5700XT (gfx1010)
installation logs
Studio: report the GPUs the OS sees, not just the ones PyTorch opened
Decide the ARM64 excuse on the wheel, not on the host
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 (…
danielhanchen commentedon Sep 9, 2026
Closing. The update path now runs the AMD torch check and forces a repair when torch isn't a ROCm build, and the backend reports the physical card with a GPU unusable reason instead of a bare no visible GPU.