Whisper on a CPU-only laptop: the five settings that decide whether it keeps up
Every "run Whisper locally" tutorial ends at pip install and a sample clip. The interesting part starts when the clip is a 60-minute meeting and the machine is a laptop with no GPU. There is no single number for "how sl
Every "run Whisper locally" tutorial ends at pip install and a sample clip. The
interesting part starts when the clip is a 60-minute meeting and the machine is a
laptop with no GPU.
There is no single number for "how slow". What you can do is know which knobs matter
and in what order to touch them.
1. Model size dominates everything else
The published checkpoints differ by an order of magnitude in parameters:
| Model | Parameters |
|---|---|
| tiny | 39M |
| base | 74M |
| small | 244M |
| medium | 769M |
| large | 1550M |
Compute per audio second scales roughly with parameter count, so moving from small
to large is not a 20% regression β expect several times the time for the same audio.
Most CPU-only setups should start at small, and only step up if the transcript is
actually being read by a human who cares about punctuation.
Accuracy matters in a different way than you expect: on clean meeting audio, the jump
from small to large is often smaller than the jump you get from a domain hotword
list. Fix vocabulary before you buy compute.
2. Quantisation is the cheapest win
Float32 weights are the default and the least efficient option on CPU. Int8 quantised
runtimes reduce memory traffic, and memory bandwidth β not FLOPs β is usually the
bottleneck on a laptop. In practice, quantisation is the first thing to try after
picking a model size, with a small accuracy cost that is invisible in meeting notes.
The caveat is implementation-dependent: not every binding exposes the quantised path,
and some fall back to float silently. Verify by measuring, not by reading the README.
3. Decoding strategy can cost you 5x
Whisper encodes the audio once, then decodes tokens autoregressively. Beam search with
beam width 5 runs five hypotheses through that decoder. The encoder is unaffected, but
for long audio the decoder is where the time goes.
beam_size=1 (greedy) is the single biggest speedup available after quantisation, and
it is the first thing I turn off when a machine cannot keep up. Quality drops most on
noisy audio and ambiguous names β which is exactly where the hotword list helps.
4. Preprocessing: skip the silence
Meetings are not speech. Silence, hold music, "can everyone mute", the five minutes
where nobody talks while a screen is shared: in a typical recording that is a large
fraction of the file.
A voice-activity detector that splits audio into speech segments and drops the rest
reduces the audio the model ever sees. It also improves quality, because Whisper
hallucinates text during long silences β the famous "thanks for watching" appears
because the model was trained on video subtitles and has nothing else to predict.
Two rules when adding VAD:
- Keep 200β300ms of padding on each side of a segment, or you clip word onsets.
- Merge segments shorter than ~0.3s; isolated clicks produce phantom words.
5. Thread count: physical cores, not logical
Set thread count to physical cores. Hyperthreaded siblings share the execution units
that matter here, and oversubscribing makes it slower, not faster β plus it makes the
whole laptop unusable while it runs.
If you are running several files, process them sequentially with the full core count
rather than in parallel with half each. The model is memory-bandwidth bound; parallel
workers just fight over the same bandwidth.
How to measure instead of guess
Fix the audio, fix the parameters, and report RTF (real-time factor): processing
time divided by audio duration. RTF 0.3 means a 60-minute recording takes 18 minutes.
# same file, same model, one variable at a time
time whisper meeting.wav --model small --beam_size 1 --threads 4
Anything else is anecdote. "It took 20 minutes" means nothing without the file length,
model and thread count.
The order I would change things
- VAD β free accuracy and free speed, no model change.
- Greedy decoding β large win, small quality cost on clean audio.
- Quantise β large win, negligible quality cost in practice.
- Smaller model β last resort, because it is the one change that makes the transcript visibly worse.
- New hardware β only after the four above.
The counterintuitive part: the biggest perceived improvement for users usually comes
from step 1, not from a bigger model. People judge a transcript by whether it misses
sentences, and silence-skipping is what stops it from inventing them.
I build an offline meeting-minutes tool on this stack (no upload, no account). If you
are doing the same and hit a wall on diarisation or hotwords, I would like to hear
which trade-off you picked.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.