faster-whisper runs Whisper through CTranslate2 and works well on a plain CPU. With compute_type int8 the weights use 8-bit integer math, which cuts memory and speeds up CPU inference, and no GPU, CUDA install, or cloud account is needed.
What you need
- Python 3.9 or newer with pip
- A CPU-only machine; no GPU required
- An audio file, such as a WAV or MP3 recording
Step 1: Install a pinned CPU environment
Create a virtual environment and install faster-whisper 1.2.1 with its matching libraries, for example faster-whisper==1.2.1, ctranslate2==4.9.0, av==18.1.0, and huggingface-hub==2.4.0. The PyAV pin matters: version 19 removed an argument faster-whisper 1.2.1 still passes, so decoding fails without the pin.
Step 2: Load the model on CPU with int8
Create the model with WhisperModel(‘base’, device=’cpu’, compute_type=’int8′, cpu_threads=4). The int8 compute type quantizes the weights to 8 bits, and cpu_threads controls how many cores the model uses. A tiny.en model also works for a first small test.
Step 3: Transcribe and measure
Call model.transcribe with beam_size=5, language=’en’, and vad_filter=True, then iterate over the segments to do the actual work and time that loop. On a single cloud CPU core with int8, the base model at beam size 1 runs about 11 times faster than real time, so an hour of audio takes 5 to 6 minutes.
Worked example: transcribe on a laptop CPU
The table below is a synthetic example. The pinned versions, the int8 setting, and the speed figure come from the cited faster-whisper guides; the audio length is illustrative.
| Setting | Value | Expected result |
|---|---|---|
| Device | cpu, compute_type int8 | No GPU needed |
| Model | base | About 11x real time at beam 1 |
| Audio | 60 minutes | About 5 to 6 minutes to transcribe |
Expected result (UNTESTED). the script transcribes the file on CPU alone, with a real-time factor well below one, and the transcript text is readable. This check was not run live; the versions and speed figure come from the cited faster-whisper guides.
Limits
- CPU transcription is slower than GPU; larger models climb in cost quickly.
- The PyAV version pin matters for faster-whisper 1.2.1; revalidate it when upgrading.
- int8 is the requested compute type, not a promise that every operation uses 8-bit math.
- A clean synthetic clip does not stand in for noisy real recordings; test your own audio.
