You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Loading gemma-4-12b-it-GGUF UD-Q4_K_XL throws "Failed to load model: llama-server failed to start. Check that the GGUF file is valid and you have enough memory. #6022
changed the title [-][Bug] Loading gemma-4-12B yields "Failed to load model: llama-server failed to start. Check that the GGUF file is valid and you have enough memory."[/-][+][Bug] Loading gemma-4-12b-it-GGUF UD-Q4_K_XL throws "Failed to load model: llama-server failed to start. Check that the GGUF file is valid and you have enough memory.[/+]on Jun 5, 2026
Also what is the output you get when running. ~/.unsloth/llama.cpp/build/bin/Release/llama-server.exe --version
PS C:\Windows\system32> ~/.unsloth/llama.cpp/build/bin/Release/llama-server.exe --version
version: 9360 (6b4e4bd58)
built with Clang 19.1.5 for Windows x86_64
[WARN] gfx1150 (Strix) detected -- routing to the AMD arch-specific index
[WARN] torch 2.11+rocm7.13 has AMD's real gfx1150/gfx1151 fixes (the ROCm 7.1
[WARN] _grouped_mm segfault, moe_utils.py:167, and later Strix kernel bugs),
[WARN] and is more reliable than the rocm7.2 index or an offline Radeon repo.
existing install has torch 2.11.0+cu130 -- keeping it (set UNSLOTH_TORCH_UPGRADE=1 to get the newest release)
gpu AMD ROCm (gfx1150)
ROCm: /opt/rocm
hipconfig: 7.1.52801-9999
GPU: AMD Ryzen AI 9 HX 470 w/ Radeon 890M
wheels: https://repo.amd.com/rocm/whl/gfx1150/
installing PyTorch (https://repo.amd.com/rocm/whl/gfx1150/)...
installing bitsandbytes for AMD ROCm (pre-release, PR #1887)...
installing unsloth (this may take a few minutes)...
unsloth 2026.7.4 installed
setup running unsloth studio update...
Work arounds:
install unsloth with an NVIDIA card plugged in ( and don't update ? )
Fixed! If the projector fails we retry it on CPU, then fall back to text only, instead of failing the load. Getting vision back needs a newer llama.cpp: unsloth studio update, or in Docker docker exec <container> unsloth-llama-update.
To update: the desktop app updates itself (Settings > General), otherwise unsloth studio update, or in Docker docker exec <container> unsloth-studio-update.
Activity
[-][Bug] Loading gemma-4-12B yields "Failed to load model: llama-server failed to start. Check that the GGUF file is valid and you have enough memory."[/-][+][Bug] Loading gemma-4-12b-it-GGUF UD-Q4_K_XL throws "Failed to load model: llama-server failed to start. Check that the GGUF file is valid and you have enough memory.[/+]TheSleepySlee commentedon Jun 8, 2026
I have the same issue, with 5060TI 16GB. Using docker version, running on WSL/Windows.
Is this a dup of #5981 ?
lothus commentedon Jun 9, 2026
I can replicate on docker/podman on Arch Linux A4000 Gen 1 with 16GB of RAM .
Imagineer99 commentedon Jun 9, 2026
Having a difficult time trying to repro this one.
Is it possible if you guys can share console logs via pastebin for before/after this error occurs? Would greatly appreciate it.
Imagineer99 commentedon Jun 9, 2026
Also what is the output you get when running.
~/.unsloth/llama.cpp/build/bin/Release/llama-server.exe --versionazerberakanat commentedon Jun 9, 2026
PS C:\Windows\system32> ~/.unsloth/llama.cpp/build/bin/Release/llama-server.exe --version
version: 9360 (6b4e4bd58)
built with Clang 19.1.5 for Windows x86_64
azerberakanat commentedon Jun 9, 2026
Copy pasted all the logs, main error is at the bottom.
https://pastebin.com/7WxEEpT1
If it helps I can run 12b qat model on my PC via following these steps
Downloaded latest llama.cpp with cuda 12.4
https://github.com/ggml-org/llama.cpp/releases/latest/download/llama-b9574-bin-win-cuda-12.4-x64.zip"
then downloaded BF16 version of the mmproj
(because unsloth was pulling standart F16 and it wasn't working with the QAT version)
https://huggingface.co/unsloth/gemma-4-12B-it-qat-GGUF/blob/main/mmproj-BF16.gguf
and I launch llama-server using these arguments
Windows/WSL installer: fix winget msstore cert failure, amd-smi DiskP…
VGerris commentedon Jul 22, 2026
I believe this is caused by ( installer output ):
Work arounds:
Also mentioned here : https://www.reddit.com/r/unsloth/comments/1v1mqgq/comment/oyp0x6c/
where someone suggest using the lemonade vulkan build, although it seems to me we want the proper rocm 7.2 supported one?
I get about 23 tokens per second on the build of the binary that is enabled with a cuda card plugged on Qwen3.6 equivalent quant, which seems ok.
( a side issue seems to be that the 890M card does not show up as AMD card for training ).
I hope this helps, looking forward to a fix, I love Unsloth Studio, thank you !
danielhanchen commentedon Sep 6, 2026
Fixed! If the projector fails we retry it on CPU, then fall back to text only, instead of failing the load. Getting vision back needs a newer llama.cpp:
unsloth studio update, or in Dockerdocker exec <container> unsloth-llama-update.To update: the desktop app updates itself (Settings > General), otherwise
unsloth studio update, or in Dockerdocker exec <container> unsloth-studio-update.