Repository navigation
Description
name: Unsloth Studio Bug
about: Report a problem with Unsloth Studio
title: "[Bug] ROCm backend can't load any models"
labels: bug
assignees: ""
Environment
Where are you using Unsloth?
- Studio desktop application
- Studio web UI (
unsloth studio) - Unsloth CLI
- Python package or notebook
- Colab or Kaggle
Operating system and version:
GPU model(s) and accelerator backend:
AMD Radeon 9070XT 16GB // ROCm & Vulkan
(CPU's iGPU disabled in BIOS so no other GPU available)
What happened?
Steps to reproduce:
- install unsloth (tried both install script & appimage after running uninstall script)
- download various models
- set backend to ROCm if it's not done automatically
- attempt to load a model
- observe result
Expected behavior:
loading a model normally
Actual behavior:
using ROCm backend does not load ANY model
using Vulkan backend works just fine
using llama-server from unsloth folder works just fine (see additional context at the bottom)
Model and operation involved:
various iterations of gemma4, Qwen 3.5, Qwen 3.8, Qwen-AgentWorld, North Mini Code...
Diagnostics and logs
backend-backend-1786709808697-3-s01.log
Desktop application
Click Copy Diagnostics on the error, startup, or update screen and paste the
result below:
Failed to load model: llama-server exited immediately (status 127): either the llama-server executable could not be found or run, or one of the shared libraries it needs could not be loaded. Check the llama-server log, and run "unsloth studio update" to reinstall the llama.cpp runtime.
If Copy Diagnostics is unavailable, attach the newest relevant files from:
- Windows:
%USERPROFILE%\.unsloth\studio\ - Linux/macOS:
~/.unsloth/studio/
Useful files include:
tauri.logand, if relevant,tauri.log.1logs/install-*.log,logs/update-*.log,logs/repair-*.log, orlogs/backend-*.log- The newest
logs/server/server-*.log
Studio web UI
Attach the newest relevant items:
- Linux/macOS/Windows:
~/.unsloth/studio/logs/server/server-*.log
(use%USERPROFILE%\.unsloth\studio\logs\server\on Windows) - Linux/macOS shortcut launches only:
~/.local/share/unsloth/studio.log - Terminal output if Studio was launched from a terminal
- Browser Console errors for browser-only problems
If you configured UNSLOTH_STUDIO_HOME or STUDIO_HOME, look under
<CUSTOM_STUDIO_HOME>/logs/ instead.
Model-specific logs, if applicable
- GGUF/llama.cpp: newest
~/.unsloth/studio/logs/llama-server/*.log
llama-1786885962-retry-port-51533-try0.log
llama-1786885960-port-51533-try0.log
llama-1786885950-port-51669-try0.log
llama-1786885941-retry-port-44647-try0.log
llama-1786885940-port-44647-try0.log
- Diffusion GGUF: newest
~/.unsloth/studio/logs/diffusion-server/*.log - Training resume/checkpoint bug: relevant
trainer_state.json
Python package or notebook, if applicable
Paste the complete traceback and minimal reproduction:
# Remove all tokens and private data.Also include Python, Unsloth, unsloth_zoo, PyTorch, Transformers, and TRL
versions, plus nvidia-smi output when applicable.
Additional context
running llama-server directly from .unsloth loads the model and operates properly



Activity
indrajeetapache commentedon Aug 16, 2026
Studio dies with:
~/.unsloth/llama.cpp/build/bin/libamdhip64.so.7: undefined symbol: hsa_amd_queue_create, version ROCR_1It prepends system ROCm (HIP 7.2) in front of the bundled HIP. Vulkan and a terminal llama-server skip that mix, so they work. Studio then retries with --fit on, which cannot fix a symbol lookup.
Workaround:
UNSLOTH_LLAMA_NO_SYSTEM_ROCM=1indrajeetapache commentedon Aug 16, 2026
The 127 is bundled
libamdhip64.so.7 looking up hsa_amd_queue_create@ROCR_1 against systemROCm. Studio was retrying that as a VRAM miss (--fit on), which cannot fix a symbol lookup.The PR retries once with the bundled HIP only (same as a terminal llama-server). Workaround until it lands:
UNSLOTH_LLAMA_NO_SYSTEM_ROCM=1Studio: tighten the ROCm retry comments
fix(AMD): retry ROCm llama-server with bundled HIP on HIP/ROCR mismat…
danielhanchen commentedon Aug 28, 2026
This should be fixed now - sorry on the delay - please update Unsloth Studio to the latest via
curl -fsSL https://unsloth.ai/install.sh | shfor Linux, Mac, WSL orirm https://unsloth.ai/install.ps1 | iexfor Windows - if it's not fixed yet, it'll be in the next Studio release - if it's still not working after that, please open another issue - appreciate it again!A bundled HIP symbol mismatch is now detected at startup and the server is relaunched against the bundled ROCm libraries, so the load recovers on its own.
TheGeekno72 commentedon Aug 28, 2026
@danielhanchen can confirm, switching to ROCm backend and loading models works as expected now, glad to see this fixed, thanks!
NOTE : I updated via the appimage, launching the latest version took care of the updating process