Skip to content

[Bug] Model loading stuck at "Starting model..." in Unsloth Studio #5740

Closed

Description

@hyzx86

Description:

Unsloth Studio fails to load models and gets stuck at the message Starting model....

The progress bar completes its first pass (model successfully loads into VRAM), but then restarts and gets stuck around 8% on the second pass.
Console logs only show repetitive progress messages without any specific error information.

Image
{"timestamp": "2026-05-23T11:16:13.129220Z", "level": "info", "event": "Detected remote GGUF repo 'unsloth/Qwen3.6-27B-MTP-GGUF', variant=Q4_K_M, vision=True"}
{"timestamp": "2026-05-23T11:16:13.757128Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.69}
{"timestamp": "2026-05-23T11:16:13.766448Z", "level": "info", "event": "Resolving GGUF: unsloth/Qwen3.6-27B-MTP-GGUF/Qwen3.6-27B-Q4_K_M.gguf"}
{"timestamp": "2026-05-23T11:16:14.083118Z", "level": "info", "event": "GGUF resolved from cache: /home/hyzx86/.cache/huggingface/hub/models--unsloth--Qwen3.6-27B-MTP-GGUF/snapshots/b3a58239d8d40b953e34936c9afeb28baa518230/Qwen3.6-27B-Q4_K_M.gguf"}
{"timestamp": "2026-05-23T11:16:14.405175Z", "level": "info", "event": "Downloading mmproj: unsloth/Qwen3.6-27B-MTP-GGUF/mmproj-F16.gguf"}
{"timestamp": "2026-05-23T11:16:14.803935Z", "level": "info", "event": "GGUF metadata: context_length=262144"}
{"timestamp": "2026-05-23T11:16:14.803990Z", "level": "info", "event": "GGUF metadata: chat_template=8057 chars"}
{"timestamp": "2026-05-23T11:16:14.804019Z", "level": "info", "event": "GGUF metadata: model supports reasoning (enable_thinking)"}
{"timestamp": "2026-05-23T11:16:14.804072Z", "level": "info", "event": "GGUF metadata: model supports preserve_thinking"}
{"timestamp": "2026-05-23T11:16:14.804146Z", "level": "info", "event": "GGUF metadata: model supports tool calling"}
{"timestamp": "2026-05-23T11:16:14.821413Z", "level": "info", "event": "Context auto-reduced: 262144 -> 61440 (model: 15.9 GB, est. KV cache: 4.0 GB)"}
{"timestamp": "2026-05-23T11:16:14.821479Z", "level": "info", "event": "GGUF size: 15.9 GB, est. KV cache: 4.0 GB, context: 61440, GPUs free: [(0, 24001)], selected: [0], fit: False"}
{"timestamp": "2026-05-23T11:16:14.823254Z", "level": "warning", "event": "Requested MTP speculative decoding but llama-server lacks --spec-type mtp/draft-mtp; run `unsloth studio update`. Loading without speculative decoding."}
{"timestamp": "2026-05-23T11:16:14.823308Z", "level": "info", "event": "Reasoning model: {'enable_thinking': True} by default"}
{"timestamp": "2026-05-23T11:16:14.823351Z", "level": "info", "event": "Using mmproj for vision: /home/hyzx86/.cache/huggingface/hub/models--unsloth--Qwen3.6-27B-MTP-GGUF/snapshots/b3a58239d8d40b953e34936c9afeb28baa518230/mmproj-F16.gguf"}
{"timestamp": "2026-05-23T11:16:14.823411Z", "level": "info", "event": "Starting llama-server: /home/hyzx86/.unsloth/llama.cpp/build/bin/llama-server -m /home/hyzx86/.cache/huggingface/hub/models--unsloth--Qwen3.6-27B-MTP-GGUF/snapshots/b3a58239d8d40b953e34936c9afeb28baa518230/Qwen3.6-27B-Q4_K_M.gguf --port 59029 -c 61440 --parallel 1 --flash-attn on --no-context-shift -ngl -1 --threads -1 --jinja --chat-template-kwargs {\"enable_thinking\": true} --mmproj /home/hyzx86/.cache/huggingface/hub/models--unsloth--Qwen3.6-27B-MTP-GGUF/snapshots/b3a58239d8d40b953e34936c9afeb28baa518230/mmproj-F16.gguf"}
{"timestamp": "2026-05-23T11:16:14.823991Z", "level": "info", "event": "llama-server stdout/stderr -> /home/hyzx86/.unsloth/studio/logs/llama-server/llama-1779534974-port-59029.log"}
{"timestamp": "2026-05-23T11:16:16.161567Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.73}
{"timestamp": "2026-05-23T11:16:18.163468Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": **1.0**}
{"timestamp": "2026-05-23T11:16:20.208713Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.76}
{"timestamp": "2026-05-23T11:16:22.162589Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.76}
{"timestamp": "2026-05-23T11:16:24.190553Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.75}
{"timestamp": "2026-05-23T11:16:26.159887Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.77}
{"timestamp": "2026-05-23T11:16:28.184056Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.79}
{"timestamp": "2026-05-23T11:16:30.162653Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.76}
{"timestamp": "2026-05-23T11:16:32.178238Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.78}
{"timestamp": "2026-05-23T11:16:34.147342Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.81}
{"timestamp": "2026-05-23T11:16:36.182991Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.82}
{"timestamp": "2026-05-23T11:16:38.160639Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.76}
{"timestamp": "2026-05-23T11:16:40.176885Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.77}
{"timestamp": "2026-05-23T11:16:42.158958Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.77}
{"timestamp": "2026-05-23T11:16:44.178442Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": **9.82**}
{"timestamp": "2026-05-23T11:16:46.156366Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.75}
{"timestamp": "2026-05-23T11:16:48.163479Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.71}
{"timestamp": "2026-05-23T11:16:50.158773Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": **0.77**}
{"timestamp": "2026-05-23T11:16:52.158993Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 0.78}
..... more

Environment:

  • GPU: NVIDIA RTX 3090 (24GB)
  • Unsloth version: unsloth 2026.5.6
  • Platform: Local environment (not Colab or Kaggle)

Steps to Reproduce:

  1. Open Unsloth Studio
  2. Attempt to load a model using either:
    • Selecting an existing model from the local directory (e.g., downloaded via LM Studio), OR
    • Downloading a new model directly within Unsloth Studio
  3. Observe that both methods produce identical behavior

Expected Behavior:
Model should complete loading and become available for use.

Actual Behavior:

  • The progress bar completes its first pass, confirming the model is loaded into VRAM (GPU memory usage matches expected size)
  • The progress bar then restarts and gets stuck at approximately 8% on the second pass
  • No specific error messages appear in the logs; only repetitive progress updates are shown

Additional Context:

I have already attempted:

  1. Updating packages: unsloth studio update
  2. Complete reinstallation by removing ~/.unsloth and running: curl -fsSL https://unsloth.ai/install.sh | sh

Both approaches yield the same result. The issue appears to be related to Unsloth Studio's model loading process rather than the underlying model files themselves.

Activity

  1. hyzx86 commented on May 23, 2026

    @hyzx86
    Author

    I'm not sure if this is a model loading issue or a network problem.
    If it's a network issue, could you please provide the server domain name or address that needs to be accessed? I'll add it to my VPN proxy .
    Thank you very much!

  2. Datta0 commented on May 25, 2026

    @Datta0
    Contributor

    This pretty much looks like a network thing. You're trying to download a 27B model which is approximately 17-18GB. Depending on your network it can take quite a lot of time... Do you observe it progressing more if you wait longer?

  3. added
    unsure bug?
    and removed on May 25, 2026
  4. hyzx86 commented on May 25, 2026

    @hyzx86
    Author

    I've been waiting for a long time, and there's no progress at all. As you can see in the screenshot, this model has already been downloaded.

    Image

    I also tried selecting the downloaded model from the LM Studio model directory, but after the model is loaded into memory, the progress bar just gets stuck like this all the time.

  5. hyzx86 commented on May 25, 2026

    @hyzx86
    Author

    This is my model directory.

    Image
  6. Datta0 commented on May 26, 2026

    @Datta0
    Contributor

    Is your GPU completely free when trying to load the model?
    What context length etc did you set? can you try reducing it?

  7. hyzx86 commented on May 26, 2026

    @hyzx86
    Author

    Is your GPU completely free when trying to load the model? What context length etc did you set? can you try reducing it?

    Yes, I can confirm that my GPU memory is empty before loading any model via Unsloth Studio. I am using an Ubuntu server with an RTX 3090 .

    What context length etc did you set? can you try reducing it?

    There is no option on the interface to specify the context length, at least not before loading the model.

  8. hyzx86 commented on May 26, 2026

    @hyzx86
    Author

    Here you can see my server log below. The context length is set to -c 61440

    {"timestamp": "2026-05-23T11:16:14.823411Z", "level": "info", "event": "Starting llama-server: /home/hyzx86/.unsloth/llama.cpp/build/bin/llama-server -m /home/hyzx86/.cache/huggingface/hub/models--unsloth--Qwen3.6-27B-MTP-GGUF/snapshots/b3a58239d8d40b953e34936c9afeb28baa518230/Qwen3.6-27B-Q4_K_M.gguf --port 59029 -c 61440 --parallel 1 --flash-attn on --no-context-shift -ngl -1 --threads -1 --jinja --chat-template-kwargs {\"enable_thinking\": true} --mmproj /home/hyzx86/.cache/huggingface/hub/models--unsloth--Qwen3.6-27B-MTP-GGUF/snapshots/b3a58239d8d40b953e34936c9afeb28baa518230/mmproj-F16.gguf"}
    
  9. vbozhinovski commented on Jun 12, 2026

    @vbozhinovski

    I'm having the same issue. Any model loading has been stuck for a while.

    Image
  10. added a commit that references this issue on Jul 3, 2026
    abdc968
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    unsure bug?

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions