insanely-fast-whisper
insanely-fast-whisper: GPU-accelerated Whisper transcription via CLI
Working when we checked on .
What is insanely-fast-whisper?
insanely-fast-whisper is an opinionated open-source CLI for transcribing audio files on-device using OpenAI's Whisper models, powered by Hugging Face Transformers, Optimum and flash-attn. It targets developers who want fast local speech-to-text on NVIDIA GPUs or Apple Silicon Macs. It can transcribe 150 minutes of audio in under 98 seconds using Whisper Large v3 with fp16, batching and Flash Attention 2 on an Nvidia A100. The CLI supports transcribe and translate tasks, chunk or word-level timestamps, distil-whisper models, and audio input from local paths or URLs.
insanely-fast-whisper pricing
Pricing model: Free
Free (open-source)
insanely-fast-whisper pros
- Transcribes 150 minutes of audio in under 98 seconds with large-v3 and Flash Attention 2
- Runs on-device on NVIDIA GPUs and Apple Silicon Macs (CUDA and mps)
- Supports transcribe and translate tasks with language auto-detection
- Offers chunk-level and word-level timestamps
- Works with distil-whisper models like distil-large-v2 for faster results
- Installable via pipx, including one-off use with pipx run
insanely-fast-whisper cons
- Only works on NVIDIA GPUs and Macs; no CPU support documented
- Installing with python 3.11.XX via pipx can silently install an outdated broken version without --ignore-requires-python
- Flash Attention 2 requires separate correct installation
- Batch size may need manual reduction if out-of-memory errors occur
Frequently asked questions about insanely-fast-whisper
What does insanely-fast-whisper do?
It is an opinionated CLI to transcribe audio files on-device using OpenAI's Whisper models, powered by Hugging Face Transformers, Optimum and flash-attn. It can transcribe 150 minutes of audio in less than 98 seconds.
How do I install insanely-fast-whisper?
Install it with pipx by running 'pipx install insanely-fast-whisper'. Alternatively, use 'pipx run insanely-fast-whisper' to run it without installing it permanently.
Which platforms does it support?
It works on NVIDIA GPUs (CUDA) and Macs with Apple Silicon (mps). On macOS, users need to add the --device-id mps flag.
Can it translate as well as transcribe?
Yes, the --task option supports both transcribe and translate modes, with transcribe as the default.
Does it support word-level timestamps?
Yes, the --timestamp option supports both chunk (default) and word-level timestamps.
Can it use faster, smaller models?
Yes, distil-whisper models like distil-large-v2 can be run directly by passing --model-name distil-whisper/large-v2, transcribing 150 minutes in about 1 minute 18 seconds with Flash Attention 2.
How do I enable Flash Attention 2?
Pass --flash True to the CLI. Correct installation of FA2 is covered in the project's FAQs.
Can I transcribe audio from a URL?
Yes, the --file-name argument accepts either a local file path or a URL to an audio file.
Does it auto-detect the audio language?
Yes, language defaults to None and Whisper auto-dectects the language; users can also set it explicitly with --language.
Is insanely-fast-whisper free?
Yes, it is an open-source community-driven project released on GitHub under a license included in the repository.