Skip to content

Feedback & Bug Report: Unsloth Studio on Windows – KV Cache, UI & Performance issues #4821

Closed

Description

@Amiee7

[From Reddit:]

Hey Unsloth Team,

I’ve been testing Unsloth Studio on my Windows PC (installed via PowerShell) and I’m really excited about the project! I'm planning to use it for fine-tuning soon, but I’ve encountered a few bugs and limitations in the current Web UI that I wanted to share:

  1. KV Cache: (Possibly a bug????)
    The Q8 cache doesn't persist when I switch between my phone and computer or reload the page. It suddenly reverts to F16, even though I previously set it to Q8; only the context length is retained.
    I've even experienced crashes with larger contexts.

  2. Context full, chat broken?:
    After reaching the set context, no further messages can be written in the chat. Is this normal? I'm used to the context being full, with the upper part simply being ignored.

  3. Editing chats:
    Deleting and/or editing text doesn't work. This would be a huge help when I'm experimenting.
    (In Kobold, you can even edit the generated text.)

  4. Accessing chats from anywhere: (Model selection bug?)
    Currently, I believe the chats are only accessible in the browser, meaning I can't access guided chats, for example, those on my PC, while I'm out and about. At least, I don't know how.

  5. Cross-platform functionality:
    I would like something like a dedicated chat window that I (and my friends) can access while on the go, where my model and settings are already selected.

  6. Reloading the page after generating text:
    After generating a reply twice, for example, "2/2" appears in the chat. If I then reload the page, the "2/2" is suddenly gone, and the text appears completely jumbled together in the chat. Reading the chat is now impossible.

  7. AMD Support:
    Currently, a 4B model is running faster on my mini-PC (Radeon 780M) than on my new RX 9060 XT 16GB desktop graphics card.
    This is very unusual, because, for example, a 12B model runs at 18 tokens/s in Kobold, while the 4B model runs (in Unsloth) at 17 tokens/s on the mini-PC and at 12 tokens/s on my RX 9060 XT.

  8. Desktop App:
    I sometimes find it very inconvenient that I have to run everything through the browser on my mini-pc. This consumes more RAM, and the browser has to be open constantly.

I'm still quite new to this, so please don't be mad at me if I don't know or haven't noticed some things yet.

And please keep up the great work!

(For example)
Image

Activity

  1. Imagineer99 commented on Apr 3, 2026

    @Imagineer99
    Member

    The KV cache reset and chat reload issues sound like bugs, I’ll try to reproduce those on Windows.
    The other points (cross-device chats, etc.) are noted but not currently supported

    Desktop app support is being worked on, hopefully released soon.

  2. ainoob2025 commented on Jun 2, 2026

    @ainoob2025

    I got something similar with the kv cache/ctx. I wanted to use Unsloth Studio API as inference for my hermes agent with a qwen3.6-35B-A3B finetuned model. Context window full native 262144 at q8_0 all model layers and kv cache fit in vram of my two rtx3060. MUCH better outputs and ZERO failed toolcalls against Tool call errors and what feels like "dumb behaviour" of the SAME Model with the EXACT same settings in LM Studio. The reason unsloth studio does much much better seems to be rooted in the chattemplate which is followed on point while LM Studios Jinja integration got problem with the arrays in it, mixing reasoning, messages and tool calls which result in a qwen3.6-35B-A3B "dumb edition". Unsloth works like a charm, fast, "intelligent", reliable but the main problem i got with using unsloth api now is that my contextwindows seem to "shrink" dynamically with every compression Hermes Agent makes until hermes tries to compress again and gets a response that the prompt it send to Unsloth studio is greater than x (about a tenth of the acutal kontextwindow) an exceeds the limit. Hermes "thinks" there are still around 150k left. My guess: Unsloth doesn´t recognise the Compression and the context STAYS at the OLD pre compress state ADDING the compression summary AND the following tasks. For example: used context is 100k and hermes agent triggers compression and ends up at 40k used context after ADDING the summary. Hermes thinks it has a full 220 context left but onsloth studio HOLDS ON to the 100k, ADDS the generated 10k summary. So while hermes thinks he got a whopping 220k free in fact in Unsloth there are just 150k left. Repeated a few times and Unsloth studio has no room left becauese it STILL holds every single token, every toolcall and so on PLUS the compression summaries.

  3. danielhanchen commented on Sep 6, 2026

    @danielhanchen
    Member

    Thanks! KV cache dtype is saved server side now and rehydrated from the running server, chats live in the database with proper edit / delete, retry branches survive a reload, and context overflow evicts old turns instead of blocking. ROCm throughput is on the llama.cpp side.

    To update: the desktop app updates itself (Settings > General), otherwise unsloth studio update, or in Docker docker exec <container> unsloth-studio-update.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions