Repository navigation
Say how the speech model's download is going - #3
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
warnings.warn(for the whole download, then a Rust I/O errorHow: 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 --checkcovers 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