Skip to content

[Feature] Feature request: vLLM support — thinking depth selection and context auto-compression #11664

Closed

Description

@unslothfans

Hi team,

First of all, thank you for Unsloth Desktop — it has been the fastest and highest-quality local deployment frontend I have ever used. I really appreciate the work you put into it.

I would like to kindly request two new features related to connecting Unsloth Desktop to vLLM:

Configurable thinking depth for vLLM connections. Currently, when connected to vLLM, the thinking depth for chats and tasks can only be turned on or off. It would be great if specific thinking depths could be selected (e.g., low / medium / xhigh).
Context auto-compression support for vLLM. The automatic context compression feature currently does not apply to new chats and tasks created while connected to vLLM. I would appreciate it if this feature could work with vLLM connections as well.
I understand these may require significant work, so please feel free to prioritize them at your convenience. Thank you again, and I look forward to seeing the project continue to grow!

Best regards

Activity

  1. added
    feature request
    on Sep 23, 2026
  2. ekusiadadus commented on Sep 24, 2026

    @ekusiadadus

    What you are seeing is consistent with an intentional Unsloth Desktop selection change, although the cause of the new OOM still needs runtime evidence. Unsloth changed Studio to prefer the self-contained MTP file in commit 353aa332. The reason is that --fit cannot measure a borrowing shared- MTP head before the main model is loaded, so it can choose a context that later runs out of memory. Current tests also expect Qwen3.8 Flash Next to select MTP/mtp-Qwen3.8-Flash-Next-Q8_0.gguf rather than the shared file (pinned test commit). That is consistent with Desktop treating a substituted shared file as an incomplete download, though the exact logic bundled in your build still needs checking.

    At the pinned model revision, the shared Q8 MTP is 2,786,568,256 bytes and the self-contained Q8 MTP is 4,137,429,120 bytes: a 1,350,860,864-byte (1.258 GiB) increase. Both files were already present in the repository before the Desktop policy change. The MTP README explains the shared head's smaller size and the --fit limitation.

    That size difference does not by itself prove why your 128 GB unified-memory system now fails. It could affect a tight memory budget, but file size is not peak resident memory and does not include KV cache, compute buffers, mappings, or Desktop overhead.

    Could you share the exact OOM lines, the complete generated llama-server command, and whether it fails during model load or only on the first prompt? The resolved context size, batch size, GPU layers/offload, flash-attention/MTP settings, and peak system/unified GPU memory would narrow it down considerably. The exact Unsloth package build or commit bundled with Desktop 0.1.814-beta would also help determine whether its --fit behavior matches current source.

  3. danielhanchen commented on Oct 13, 2026

    @danielhanchen
    Member

    I'll check this!

  4. danielhanchen commented on Oct 13, 2026

    @danielhanchen
    Member

    Fixed! Studio now offers each model's own thinking levels (for example Low / Medium / Extra High) when you chat through a vLLM connection or Studio's built-in vLLM engine, can keep earlier thinking in the conversation, and auto-compacts long chats on the built-in vLLM engine too (vLLM connections already compacted). That landed in #13571, and #13596 adds the most used vLLM engine options to the engine settings: an FP8 KV cache, a GPU memory limit and a seed.
    To update: Unsloth Desktop will have an update banner. For Studio, use unsloth studio update. For Docker, use docker exec <container> unsloth-studio-update. Reopen if it still happens.

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

Metadata

Metadata

Assignees

Labels

feature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions