Repository navigation
Description
Environment
Where are you using Unsloth?
- Unsloth desktop application
- Unsloth web UI (
unsloth studio) - Unsloth CLI
- Python package or notebook
- Colab or Kaggle
Operating system and version:
Kubuntu 26.04
GPU model(s) and accelerator backend:
NVIDIA CUDA
Versions:
Unsloth: v0.1.909-beta
llama.cpp: b11734-mix-c208e5f
audio.cpp: v0.9.2-drama3-base-small-unsloth.1
What happened?
Loading a TTS model when a chat model is already loaded seems to either unload said chat model or prevent the TTS from loading at all depending on how the "Keep multiple models loaded" setting is configured.
Setting "Keep multiple models loaded" to Always results in an error message (see diagnostics section below), whereas When they fit appears to load TTS while ejecting the chat model. This behavior occurs whether manually loading the models, or via API calls.
I also ensured that my GPU has sufficient VRAM in case there was some sort of collision or OOM happening when loading both models at once. On my end, I am able to load both models at the same time without issue when loading the TTS model first.
Steps to reproduce:
- Set "Keep multiple models loaded" to Always or When they fit.
- Load chat model of choice either manually or with an API call.
- Load TTS model of choice either manually or with an API call.
- View resulting error or other behaviors mentioned above.
Expected behavior:
Now that Chat LLMs and TTS models can remain loaded at the same time, both should stay loaded regardless of which one is run first.
Actual behavior:
Chat model appears to get ejected when TTS model is loaded.
Model and operation involved:
Chat LLM: unsloth/Qwen3.5-2B-GGUF:Q4_K_M
TTS Model: audio-cpp/audio.cpp-gguf:OmniVoice-GGUF/Q8_0
Diagnostics and logs
Error when "Keep multiple models loaded" is set to Always:
POST /v1/audio/speech
Loading this model would unload the chat model unsloth/Qwen3.5-2B-GGUF, and Keep multiple models loaded is set to Always. Unload that model first, or choose When they fit.
Activity
Studio: keep the chat model loaded when an API request loads a speech…