unsloth/studio
Daniel Han 39ee347a39 studio: prefer system ROCm over the bundled runtime on bare-metal Strix Halo
The gfx1151 llama.cpp prebuilt bundles a regressed TheRock ROCm runtime whose
libhsa-runtime64 segfaults at HIP init on bare-metal Strix Halo (unslothai#6276),
so every model / embedder load crashes (code -11) while a Vulkan build works.

Extend the existing WSL-only _wsl_system_rocm_lib_dirs (which already shadows a
bad bundled HIP with the system one) to also return the system ROCm lib dirs on
bare-metal Strix Halo (detected via /proc/cpuinfo) when a system HIP runtime is
present. The bundle still supplies libggml-hip / librocblas gfx1151 kernels; the
driver-matched system libamdhip64 / libhsa-runtime64 drive the GPU. Applied
identically to the serve-time and install-validation mirrors so a prebuilt that
validates runs the same. No-op without system ROCm or on any non-Strix arch;
UNSLOTH_LLAMA_NO_SYSTEM_ROCM=1 opts out. The complete fix is repinning the
bundled runtime to a good TheRock nightly in the llama.cpp prebuilt CI; this is
the in-repo mitigation.
2026-07-21 04:52:39 -07:00
..
backend studio: prefer system ROCm over the bundled runtime on bare-metal Strix Halo 2026-07-21 04:52:39 -07:00
frontend Fix resume training crash recovery and MLX checkpoints (#6796) 2026-07-21 02:34:58 -07:00
src-tauri Fix Studio desktop reliability (#7255) 2026-07-21 09:51:18 +02:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
install_llama_prebuilt.py studio: prefer system ROCm over the bundled runtime on bare-metal Strix Halo 2026-07-21 04:52:39 -07:00
install_node_prebuilt.py Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00
install_python_stack.py install: let UNSLOTH_TORCH_INDEX_FAMILY / _URL override CUDA wheel detection (#6692) 2026-07-20 00:58:52 -07:00
LICENSE.AGPL-3.0 Add AGPL-3.0 license to studio folder 2026-03-09 19:36:25 +00:00
MCP.md Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00
node_prebuilt_pins.json Pin isolated Node.js installer to committed sha256 digests (#6625) 2026-06-24 05:47:58 -07:00
package-lock.json ci: advisory lockfile supply-chain audit (no install-script changes) (#5604) 2026-05-19 05:56:56 -07:00
package.json ci: advisory lockfile supply-chain audit (no install-script changes) (#5604) 2026-05-19 05:56:56 -07:00
setup.bat Final cleanup 2026-03-12 18:28:04 +00:00
setup.ps1 install: let UNSLOTH_TORCH_INDEX_FAMILY / _URL override CUDA wheel detection (#6692) 2026-07-20 00:58:52 -07:00
setup.sh feat(studio): add UNSLOTH_LLAMA_CPP_BACKEND env var to force CPU fallback #7213 (#7228) 2026-07-20 00:33:56 -07:00
Unsloth_Studio_Colab.ipynb Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00