Skip to content

[Bug] "Load into" setting ignored when STT model is loaded from API #15280

Closed

Description

@Lemon-Doctor10

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.910-beta
llama.cpp: b11798-mix-f8a7950
whisper.cpp: v1.9.5-unsloth.12
audio.cpp: v0.9.2-drama3-base-small-unsloth.1

What happened?

Making an API call to load a preselected speech recognition model (tested with Qwen3 0.6B and 1.7B models) under the desktop app's voice settings appears to ignore the "Load into" option even if CPU RAM is selected.

In my case, the models load about 5 or so gigabytes into my GPU's memory. This behavior can cause unexpected issues, such as OOM errors from the STT model hogging VRAM. However, using the direct "Load" button within settings loads the ASR correctly into system RAM.

Steps to reproduce:

  1. Ensure "Load into" is set to CPU RAM under voice settings.
  2. Make API call to load speech recognition (do not use "Load" button to run the model).
  3. Use monitor app like nvtop to observe the ASR model loading into VRAM instead of system RAM.

Expected behavior:

Making API calls to run ASR models should load them into the correct location (GPU/CPU).

Actual behavior:

ASR models get loaded into VRAM regardless of setting.

Model and operation involved:

STT Model: qwen3-asr-0.6b (unslothai/Qwen3-ASR-0.6B-GGUF)

Activity

  1. added
    feature request
    on Oct 25, 2026
  2. indrajeetapache commented on Oct 25, 2026

    @indrajeetapache
    Contributor

    Confirmed: Voice Settings Load into is browser-local (sttDevice), while cold /v1/audio/transcriptions loads omit device and fall through to auto → GPU. Settings Load works because it POSTs device explicitly.

    Opened a narrow fix: #15281

    • Persist the preference server-side and honour it from audio_device_default when UNSLOTH_AUDIO_DEVICE is unset
    • Sync from the Voice Settings UI; optional device form field on the OpenAI STT routes

    @danielhanchen — please take a look when you have a moment.

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

Metadata

Metadata

Assignees

Labels

bugfeature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions