Skip to content

Say how the speech model's download is going - #3

Merged
BlueJayLouche merged 1 commit into
mainfrom
download-progress
Oct 11, 2026
Merged

BlueJayLouche merged 1 commit into
mainfrom
download-progress

Conversation

@BlueJayLouche

Copy link
Copy Markdown
Owner

The app's status line is the last line the transcriber printed. During the model's download that was whatever the download library happened to print, which made a working download look like a hang:

Situation Status before Status now
Too little room warnings.warn( for the whole download, then a Rust I/O error Stops within seconds, before filling the disk: "Not enough free disk space to download the file. The expected file size is: 3083.52 MB. … only has 512.00 MB free disk space."
Disk fills part-way "…File reconstruction error: IO Error: No space left on device (os error 28)" "The disk filled up while the speech model was downloading. Make some room and transcribe again."
Second try, room available "Loading the speech model…", unchanged for the whole download "Downloading the speech model: 1,240 of 3,084 MB", counting up

How: on the Mac the transcriber fetches the model itself with a progress bar that speaks to the app instead of drawing, then hands mlx_whisper the folder. Python warnings are ignored, except the library's disk-space warning, which is turned into a stop.

Tested through the app against a small disk image with a 74 MB stand-in model for each row above, plus a cached start and both end-to-end tests. transcribe.py --check covers the wording of the count.

Not done: the faster-whisper path (Windows, Linux) still downloads without a count, and a transcriber waiting behind another copy's download still only says it is loading.

🤖 Generated with Claude Code

The app's status is the last line the transcriber printed. During the
model's download that was whatever the download library happened to say:
"warnings.warn(" when the disk was short of room, nothing at all on a
second try, so the status sat on "Loading the speech model" for as long
as a few GB take and could not be told from a hang.

On the Mac the transcriber now fetches the model itself and reports
"Downloading the speech model: 1,240 of 3,084 MB" as it goes. When there
is no room it stops before filling the disk and says so with both sizes;
when the disk fills part-way it says that. Python's warnings are no
longer printed, since nothing reads them and their last line is not a
status.

Not done: the faster-whisper path (Windows, Linux) still downloads
without a count, and a transcriber waiting behind another copy's
download still only says it is loading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BlueJayLouche
BlueJayLouche merged commit e9d75f7 into main Oct 11, 2026
3 checks passed
@BlueJayLouche
BlueJayLouche deleted the download-progress branch October 11, 2026 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant