Skip to content

[Bug] Failed to load ggml-org/sesame-csm-1b-GGUF #9430

Closed as not planned
Closed as not planned

Description

@behrangsa

name: Unsloth Studio Bug
about: Report a problem with the Unsloth Studio desktop app or web UI
title: "[Studio Bug] Failed to load ggml-org/sesame-csm-1b-GGUF"
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: Fedora Linux 44 (Workstation)

GPU model(s) and accelerator backend:

  • AMD ROCm (gfx90c)
  • AMD Ryzen 5 4500U with Radeon Graphics

Versions:

  • v0.1.801-beta
  • 2026.8.19
  • llama.cpp: not sure (built from source: falling back to source build)

What happened?

Steps to reproduce:

  1. Download the model
  2. Load it in a new chat
  3. It fails with an error message:

    Failed to load model: This model is not supported yet. Try a different model. (Original error: llama.cpp does not support this GGUF's model architecture ('llama-csm'). The file is valid, but this model type cannot be run with llama-server.)

Expected behavior:

The model should load.

Actual behavior:

The model doesn't load.

Model and operation involved: ggml-org/sesame-csm-1b-GGUF

Diagnostics and logs

Useful files include:

  • tauri.log and, if relevant, tauri.log.1
  • logs/install-*.log, logs/update-*.log, logs/repair-*.log, or logs/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

0.00.017.606 W srv  llama_server: -----------------
0.00.018.897 I srv    load_model: loading model '/home/behrangsa/.cache/huggingface/hub/models--ggml-org--sesame-csm-1b-GGUF/snapshots/2106cacbdc1bf45f6453dd5eb61261114092697f/sesame-csm-backbone.gguf'
0.00.105.415 E llama_model_load: error loading model: unknown model architecture: 'llama-csm'
0.00.105.424 E llama_model_load_from_file_impl: failed to load model
0.00.105.467 E common_fit_params: encountered an error while trying to fit params to free device memory: failed to load model
0.00.186.491 E llama_model_load: error loading model: unknown model architecture: 'llama-csm'
0.00.186.497 E llama_model_load_from_file_impl: failed to load model
0.00.186.505 E cmn  common_init_: failed to load model '/home/behrangsa/.cache/huggingface/hub/models--ggml-org--sesame-csm-1b-GGUF/snapshots/2106cacbdc1bf45f6453dd5eb61261114092697f/sesame-csm-backbone.gguf'
0.00.186.511 E srv    load_model: failed to load model, '/home/behrangsa/.cache/huggingface/hub/models--ggml-org--sesame-csm-1b-GGUF/snapshots/2106cacbdc1bf45f6453dd5eb61261114092697f/sesame-csm-backbone.gguf'
0.00.186.514 I srv    operator(): operator(): cleaning up before exit...
0.00.186.927 E srv  llama_server: exiting due to model loading error

Activity

  1. added
    feature request
    on Aug 20, 2026
  2. NilayYadav commented on Aug 20, 2026

    @NilayYadav
    Collaborator

    Thanks for the report. I think this is an upstream limitation rather than a Studio bug the GGUF declares its architecture as llama-csm, which llama.cpp doesn't implement. Those files look like they were built against an experimental branch, so they likely won't load on any regular build, ROCm or otherwise.

    Sesame CSM should still be usable from the Audio page with unsloth/csm-1b instead of the GGUF.

  3. behrangsa commented on Aug 20, 2026

    @behrangsa
    Author

    Thanks for the reply!

    esame CSM should still be usable from the Audio page with unsloth/csm-1b instead of the GGUF.

    I get another error with that model (and some other models):

    Failed to load model: The inference worker stopped unexpectedly while loading the model. Details: pid=68650, signal=SIGSEGV, exitcode=-11.

    {"timestamp": "2026-08-20T22:42:23.031410Z", "level": "error", "event": "Error loading model: The inference worker stopped unexpectedly while loading the model. Details: pid=68650, signal=SIGSEGV, exitcode=-11.", "exception": "Traceback (most recent call last):\n  File \"/home/behrangsa/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/routes/inference.py\", line 9900, in _load_model_impl\n    success = await asyncio.to_thread(\n              ^^^^^^^^^^^^^^^^^^^^^^^^\n    ...<12 lines>...\n    )\n    ^\n  File \"/home/behrangsa/.local/share/uv/python/cpython-3.13.15-linux-x86_64-gnu/lib/python3.13/asyncio/threads.py\", line 26, in to_thread\n    return await loop.run_in_executor(None, func_call)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/behrangsa/.local/share/uv/python/cpython-3.13.15-linux-x86_64-gnu/lib/python3.13/concurrent/futures/thread.py\", line 59, in run\n    result = self.fn(*self.args, **self.kwargs)\n  File \"/home/behrangsa/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/core/inference/orchestrator.py\", line 1404, in load_model\n    resp = self._wait_response(\"loaded\")\n  File \"/home/behrangsa/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/core/inference/orchestrator.py\", line 584, in _wait_response\n    raise RuntimeError(self._subprocess_crash_message(\"wait\"))\nRuntimeError: The inference worker stopped unexpectedly while loading the model. Details: pid=68650, signal=SIGSEGV, exitcode=-11."}
    | Traceback (most recent call last):
    |   File "/home/behrangsa/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/routes/inference.py", line 9900, in _load_model_impl
    |     success = await asyncio.to_thread(
    |               ^^^^^^^^^^^^^^^^^^^^^^^^
    |     ...<12 lines>...
    |     )
    |     ^
    |   File "/home/behrangsa/.local/share/uv/python/cpython-3.13.15-linux-x86_64-gnu/lib/python3.13/asyncio/threads.py", line 26, in to_thread
    |     return await loop.run_in_executor(None, func_call)
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/home/behrangsa/.local/share/uv/python/cpython-3.13.15-linux-x86_64-gnu/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    |     result = self.fn(*self.args, **self.kwargs)
    |   File "/home/behrangsa/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/core/inference/orchestrator.py", line 1404, in load_model
    |     resp = self._wait_response("loaded")
    |   File "/home/behrangsa/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/core/inference/orchestrator.py", line 584, in _wait_response
    |     raise RuntimeError(self._subprocess_crash_message("wait"))
    | RuntimeError: The inference worker stopped unexpectedly while loading the model. Details: pid=68650, signal=SIGSEGV, exitcode=-11.
    {"timestamp": "2026-08-20T22:42:23.035791Z", "level": "info", "event": "Model load failed with 500 after the response committed"}
    

    I may have to hop to another distro and see if things work there. But on Fedora, installing via curl -fsSL https://unsloth.ai/install.sh | sh (which builds some components locally), the app seems to have some issues.

  4. danielhanchen commented on Aug 28, 2026

    @danielhanchen
    Member

    The GGUF is now hidden with an accurate refusal, but the Transformers build that message points you to still crashes the worker with SIGSEGV on your gfx90c iGPU, and that path is unhandled.

  5. danielhanchen commented on Oct 12, 2026

    @danielhanchen
    Member

    Thanks for the detailed report, and sorry for the delay on this one. There are two separate things going on here:

    1. The llama-csm GGUF is a llama.cpp limitation. ggml-org/sesame-csm-1b-GGUF was made for an experimental CSM + Mimi decoder that only exists in an unmerged llama.cpp PR (tts : implement sesame CSM + Mimi decoder ggml-org/llama.cpp#12648), so no regular llama.cpp build can load it, ROCm or otherwise. Since Studio: keep unrunnable speech GGUFs out of the model pickers #9433 Studio no longer offers it as a chat model, and explains why if you load it anyway.

    2. The SIGSEGV with unsloth/csm-1b (and the other Transformers models) comes from the GPU. The Radeon iGPU in the Ryzen 5 4500U is gfx90c (Renoir), which ROCm does not support, and the PyTorch ROCm builds carry no kernels for it, so any model that runs through PyTorch on that GPU crashes the worker. Some people get Renoir working by launching with HSA_OVERRIDE_GFX_VERSION=9.0.0 unsloth studio (it presents the GPU as gfx900, which the PyTorch builds do cover), but that is unofficial and can still crash. GGUF chat models can use the iGPU through Vulkan instead: export UNSLOTH_LLAMA_CPP_BACKEND=vulkan, then re-run curl -fsSL https://unsloth.ai/install.sh | sh.

    I'll close this since neither part is something we can fix on our side, but please reopen if you see the same crash on a supported GPU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugfeature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions