Skip to content

[Bug] AMD: Unsloth Studio drops MTP to fit context, and turning MTP back on doesn't re-fit (W7900 + W7500) #9550

Closed

Description

@jimster480

About
Docs, release notes, feedback, and build info.

Unsloth
Unsloth Version
v0.1.801-beta
Package Version
2026.8.19
llama.cpp Version
b10472-mix-4b653db
Windows 10

Hardware
GPU 0
AMD Radeon PRO W7900 · 45 GiB
GPU 1
AMD Radeon PRO W7500 · 8 GiB
ROCm
7.13.99004

Now I will say that Unsloth Studio has always been much slower than LM Studio at loading models (maybe due to the linked Ram Bug: #9549)
However in this provided text it is obvious that not only is the model loading slowly; but MTP is being dropped because Unsloth Studio is trying to fit in the most context possible.

{"timestamp": "2026-08-23T05:58:08.965460Z", "level": "warning", "event": "Speculative decoding disabled for this load: the model fits in VRAM at context 112896 but its drafter does not (needs 46.7 GB of a 44.3 GB budget, on any GPU subset). Auto keeps the context rather than shrink it for a speed option. Select the drafter in Settings to force it."}
{"timestamp": "2026-08-23T05:58:08.968003Z", "level": "info", "event": "Context auto-reduced: 262144 -> 112896 (model: 31.0 GB, est. KV cache: 11.2 GB)"}
{"timestamp": "2026-08-23T05:58:08.968263Z", "level": "info", "event": "GGUF size: 31.0 GB, est. KV cache: 11.2 GB, context: 112896, GPUs free: [(0, 45914), (1, 8032)], selected: [0], --fit: off"}
{"timestamp": "2026-08-23T05:58:08.970362Z", "level": "info", "event": "Auto: the drafter does not fit in VRAM alongside the model at this context, so it is dropped and ngram-mod (zero-VRAM) takes its place. Choose the drafter in the Speculative Decoding dropdown to force it at a smaller context."}
{"timestamp": "2026-08-23T05:58:08.971518Z", "level": "info", "event": "Spec decoding: ngram-mod"}
{"timestamp": "2026-08-23T05:58:08.971815Z", "level": "info", "event": "Reasoning model: {'enable_thinking': True, 'preserve_thinking': False} by default"}
{"timestamp": "2026-08-23T05:58:08.977309Z", "level": "info", "event": "Starting llama-server: C:\\Users\\jimst\\.unsloth\\llama.cpp\\build\\bin\\Release\\llama-server.exe -m N:\\AI Models\\Qwen\\Qwen3.6-40B-Deck-Opus-NEO-MTP-Q6_K\\Qwen3.6-40B-Deck-Opus-NEO-CODE-Q6_K-PT-MTP.gguf --port 64857 --parallel 4 --flash-attn on --no-context-shift -c 112896 --alias Qwen3.6-40B-Deck-Opus-NEO-MTP-Q6_K -ngl -1 --fit off --metrics --slot-save-path C:\\Users\\jimst\\.unsloth\\studio\\cache\\llama-slots --kv-unified --threads 2 --jinja --spec-type ngram-mod --spec-ngram-mod-n-match 24 --spec-ngram-mod-n-min 48 --spec-ngram-mod-n-max 64 --chat-template-kwargs {\"enable_thinking\": true, \"preserve_thinking\": false} --cache-ram 0 --ctx-checkpoints 0"}
{"timestamp": "2026-08-23T05:58:08.992771Z", "level": "info", "event": "llama-server stdout/stderr -> C:\\Users\\jimst\\.unsloth\\studio\\logs\\llama-server\\llama-1787464688-port-64857-try0.log"}
{"timestamp": "2026-08-23T05:58:14.662342Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/monitor", "status_code": 200, "process_time_ms": 6.57}
{"timestamp": "2026-08-23T05:58:23.002541Z", "level": "info", "event": "Model load exceeded 15s; padding the response so a proxy cannot time it out"}

This apparently is the default behavior for "Auto" on MTP.
However switching to MTP Specifically:

Image
{"timestamp": "2026-08-23T06:03:24.483888Z", "level": "info", "event": "GGUF size: 31.0 GB, est. KV cache: 11.2 GB, MTP reserve: 2.18 GB (draft KV @ 112896 + verify n_max=2), context: 112896, GPUs free: [(0, 45914), (1, 8032)], selected: [0, 1], --fit: off"}
{"timestamp": "2026-08-23T06:03:24.485608Z", "level": "info", "event": "Spec decoding: draft-mtp (MTP-only)"}
{"timestamp": "2026-08-23T06:03:24.485853Z", "level": "info", "event": "Reasoning model: {'enable_thinking': True, 'preserve_thinking': False} by default"}
{"timestamp": "2026-08-23T06:03:24.490795Z", "level": "info", "event": "Starting llama-server: C:\\Users\\jimst\\.unsloth\\llama.cpp\\build\\bin\\Release\\llama-server.exe -m N:\\AI Models\\Qwen\\Qwen3.6-40B-Deck-Opus-NEO-MTP-Q6_K\\Qwen3.6-40B-Deck-Opus-NEO-CODE-Q6_K-PT-MTP.gguf --port 65227 --parallel 4 --flash-attn on --no-context-shift -c 112896 --alias Qwen3.6-40B-Deck-Opus-NEO-MTP-Q6_K -ngl -1 --fit off --metrics --slot-save-path C:\\Users\\jimst\\.unsloth\\studio\\cache\\llama-slots --kv-unified --threads 2 --jinja --spec-type draft-mtp --spec-draft-n-max 2 --chat-template-kwargs {\"enable_thinking\": true, \"preserve_thinking\": false} --cache-ram 0 --ctx-checkpoints 0"}
{"timestamp": "2026-08-23T06:03:24.506548Z", "level": "info", "event": "llama-server stdout/stderr -> C:\\Users\\jimst\\.unsloth\\studio\\logs\\llama-server\\llama-1787465004-port-65227-try0.log"}
{"timestamp": "2026-08-23T06:03:26.544238Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/monitor", "status_code": 200, "process_time_ms": 7.91}
{"timestamp": "2026-08-23T06:03:36.580170Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/monitor", "status_code": 200, "process_time_ms": 7.16}
{"timestamp": "2026-08-23T06:03:38.528276Z", "level": "info", "event": "Model load exceeded 15s; padding the response so a proxy cannot time it out"}
{"timestamp": "2026-08-23T06:03:46.616714Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/monitor", "status_code": 200, "process_time_ms": 8.6}

You can see it is loading the model with the same exact context level; despite the previous message saying to adjust MTP and have a lower context.
Ideally Unsloth Studio should be fitting the largest context that is possible either with or without MTP. If MTP is chosen then it should recalculate what the largest Context is after the MTP overhead. Instead it is just going with whatever was in the UI for the model when it was reloaded, which was based on a number chosen by Unsloth when it omitted MTP.

Activity

  1. added
    feature request
    on Aug 23, 2026
  2. changed the title [-][Bug] Unsloth Studio Dropping MTP to Fit more Context Window, Loads taking extremely long, Choosing MTP Keeps same Context[/-] [+][Bug] AMD: Unsloth Studio drops MTP to fit context, and turning MTP back on doesn't re-fit (W7900 + W7500)[/+] on Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugfeature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions