Skip to content

First transcription of a session spins for minutes with no explanation #334

Closed

Description

@EtienneLescot

What happens

On the first transcription after launching the app, the spinner runs for several minutes with no indication that anything is happening. The audio length is irrelevant: two sentences take as long as a long recording. Every subsequent transcription in that session is fast.

Measured on Windows 11, Ryzen 5 7520U / Radeon integrated, from a build of main:

whisper-stt-server CPU, first transcription ~396 s
same server, once warm 6.5 s total
cores busy during the wait 0.5 of 8
resident memory ~1 GB

The server is not hung — GET / answers 200 ok instantly throughout. It is doing one-time work: loading ggml-small-q8_0.bin (252 MB) and bringing up the Vulkan backend (ggml-vulkan.dll + vulkan-1.dll) on the integrated GPU. Nothing is downloaded — the models were already on disk, and nothing is written during the wait.

Part of the cost is specific to a cold AMD Vulkan pipeline cache, which is keyed per executable path, so it lands hardest on a freshly installed app. That is precisely a new user's first impression.

Why this needs one global message, not a fix per spinner

Transcription is surfaced as "loading" in at least three places, each with its own spinner and its own label:

They all read the same boolean. Adding "warming up the model, this takes a minute the first time" to one of them fixes one screen and leaves the others silently wrong, and it would drift the moment a fourth surface appears.

So the state itself should carry the phase, not just pending. Something the engine already knows — initialising vs actually transcribing — surfaced once and consumed by every spinner, so a new surface gets the right message by construction.

Not a fix for this

Making the model faster, or switching backend. The wait is a fixed startup cost, and on this hardware it is not obviously wrong — it is only invisible. Telling the user what is happening is the whole fix; if it also became faster, that would be a separate piece of work.

Notes

  • Not a regression: the shipped STT binaries are byte-for-byte the same size across releases, with only build metadata differing, and the backend selection is identical.
  • Found while testing v1.9.4-rc.1, but present on the installed release too — it is only masked there by a warm cache.

Activity

  1. added
    bug
    on Aug 10, 2026
  2. EtienneLescot commented on Aug 20, 2026

    @EtienneLescot
    MemberAuthor

    Refs #409 (unreleased, ships after 1.9.6), which lands part of this: the running label becomes Transcribing 45% - CPU - 0.9x, there is one CPU warning per run, and the spinner gains a tooltip explaining the cost.

    It does not cover the cold start you measured. Those all arrive per chunk, so they only appear once inference is running — the model load and Vulkan bring-up ahead of them are still silent.

  3. added
    status: fixed in main
    status: pending release
    on Sep 3, 2026
  4. added this to the Next Release milestone on Sep 3, 2026
  5. github-actions commented on Sep 3, 2026

    @github-actions
    Contributor

    Fixed by #522 and merged into main.

    This change is assigned to the Next Release release milestone and is not necessarily available in the latest downloadable desktop release yet. It is currently marked as status: pending release until a packaged release containing it is published.

  6. EtienneLescot commented on Sep 8, 2026

    @EtienneLescot
    MemberAuthor

    Moved into v1.11.0 as part of the pre-release cut.

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

    bugstatus: fixed in mainstatus: pending release

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions