SIGN IN SIGN UP
unslothai / unsloth UNCLAIMED

Unsloth Studio is a web UI for training and running open models like Qwen, DeepSeek, gpt-oss and Gemma locally.

0 0 98 Python

Studio: forward --has-rocm from setup.sh when gfx resolution fails (#5927)

setup.ps1 already forwards --has-rocm whenever AMD is detected regardless
of whether gfx resolved. setup.sh only forwarded --rocm-gfx, so a Linux
host where AMD was detected but gfx resolution failed would forward nothing,
leaving the installer with has_rocm=False and falling back to a source build.

Add the elif branch to forward --has-rocm when _setup_amd_detected is true
but _setup_gfx is empty, matching setup.ps1 parity. Add a source-level test
to verify both flags are present in setup.sh.
L
Leo Borcherding committed
f1a0581078a0ff908d5084b133fc48de171ee6de
Parent: 52612d6
Committed by GitHub <noreply@github.com> on 6/1/2026, 2:32:48 PM