Repository navigation
Closed
Labels
Description
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:
macOS 26.6.2 (25G83)
GPU model(s) and accelerator backend:
MBP M3 36GB, gguf
Versions:
Unsloth Version
v0.1.801-beta
Package Version
2026.8.19
llama.cpp Version
b10472-mix-4b653db
What happened?
I select 256k context window in model settings:
But when I load the model it only has 4k context and the slider complains that nothing else will fit.
models endpoint also yields:
{
"context_length": 4096,
"created": 1787607044,
"id": "unsloth/Qwen3.6-35B-A3B-MTP-GGUF",
"loaded": true,
"max_context_length": 4096,
"native_context_length": 262144,
"object": "model",
"owned_by": "unsloth-studio",
"quant": "UD-Q4_K_XL"
}Steps to reproduce:
see above
Expected behavior:
Should either recommend applicable settings before loading the models or not load it with wrong settings.
I can load it with decen context with llama.cpp directly - I don't see why US thinks it can only handle 4k context.
Actual behavior:
see above
Model and operation involved:
see above
Diagnostics and logs
0.10.233.804 I srv load_model: loaded multimodal model, '/Users/flake/.cache/huggingface/hub/models--unsloth--Qwen3.6-35B-A3B-MTP-GGUF/snapshots/5bc3e238d916f48a861bac2f8a1990a0e9b7e98d/mmproj-F16.gguf'
0.10.304.679 I srv load_model: initializing, n_slots = 4, n_ctx_slot = 4096, kv_unified = 'true'
{"timestamp": "2026-08-24T21:30:27.104346Z", "level": "info", "event": "Starting llama-server: /Users/flake/.unsloth/llama.cpp/build/bin/llama-server -m /Users/flake/.cache/huggingface/hub/models--unsloth--Qwen3.6-35B-A3B-MTP-GGUF/snapshots/5bc3e238d
916f48a861bac2f8a1990a0e9b7e98d/Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf --port 49868 --parallel 4 --flash-attn on --no-context-shift -c 4096 --alias unsloth/Qwen3.6-35B-A3B-MTP-GGUF --fit on --metrics --slot-save-path /Users/flake/.unsloth/studio/cache/llama
-slots --kv-unified --jinja --cache-type-k q8_0 --cache-type-v q8_0 --spec-type ngram-mod,draft-mtp --spec-draft-n-max 3 --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} --mmproj /Users/flake/.cache/huggingface/hub/models--unsloth--Qwen3.6-35B-A3B-MTP-GGUF/snapshots/5bc3e238d916f48a861bac2f8a1990a0e9b7e98d/mmproj-F16.gguf"}
Activity
waltcf commentedon Aug 25, 2026
I have observed this several times as well (macOS 15.7.9). I have also seen it go progressively lower on multiple unload-load cycles of the same model (with nothing else changed on the system) as well as instances of the slider bars for both Context Length and Max Tokens not allowing user adjustment up or down.
shimmyshimmer commentedon Aug 25, 2026
This is due to the model not loading on RAM, we will be issuing a 'fix' for this today. The entire backend of unsloth was reworked
danielhanchen commentedon Aug 28, 2026
Your case is the branch where the KV size cannot be measured, so the context is silently floored and published rather than refused; the guard that does refuse covers a different case.