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. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| src-tauri | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_python_stack.py | ||
| LICENSE.AGPL-3.0 | ||
| package-lock.json | ||
| package.json | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||