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. |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| smoke_test_llama_prebuilt.py | ||
| smoke_test_parallel_studio_home.py | ||
| test_install_llama_prebuilt_logic.py | ||
| test_llama_pr_force_and_source.py | ||
| test_macos_version_compat.py | ||
| test_pr4562_bugfixes.py | ||
| test_rocm_support.py | ||
| test_selection_logic.py | ||