whisperx
Time-Accurate Automatic Speech Recognition using Whisper.
Decision gist · record as of 2026-08-14
Yes, if you need word-level timestamps and speaker diarization for transcription. The package is actively maintained, permissively licensed, and popular (top 5000 PyPI). Install friction is low but dependency footprint is substantial (torch, transformers, etc.); ensure GPU memory or CPU fallback fits your deployment. No known vulnerabilities as of 2026-08-14.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- CUDA 12.8 required for GPU acceleration; CPU mode available but slower.
- Requires ffmpeg and Rust for some dependencies.
- Hugging Face token needed to enable speaker diarization.
License · maintenance · safety
BSD-2-Clause (permissive) — BSD-2-Clause permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production and research deployments.
last release 2026-05-25 (81 days) · last repo commit 2026-07-13 · 23,572 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,465,012 downloads/mo, #3,877 on PyPI
Alternatives
Verify before relying
pip install whisperx
import whisperx
device = "cuda"
audio_file = "audio.mp3"
model = whisperx.load_model("large-v2", device, compute_type="float16")
audio = whisperx.load_audio(audio_file)
result = model.transcribe(audio, batch_size=16)
print(result["segments"])- Whether the 70x realtime speed claim applies to all model sizes or only large-v2 with specific batch settings.
- Memory requirements for different model sizes and batch configurations beyond the <8GB mention for large-v2.
- Whether all languages listed as supported via Hugging Face have been tested or are community-contributed.
What it is and what it does
WhisperX is a speech-to-text system that wraps OpenAI's Whisper model with improvements for timestamp accuracy and speaker identification. It uses batched inference via faster-whisper for speed, forced phoneme alignment via wav2vec2 for word-level timing precision, and pyannote-audio for speaker diarization—assigning speaker labels to segments of audio. The package includes voice activity detection to reduce hallucinations and supports multiple languages through language-specific alignment models.
It is designed for transcription workflows where accurate timing and speaker identity matter: meeting notes, podcast chapters, video subtitles, or research datasets. The main trade-off is a large dependency tree (torch, transformers, torchaudio, and others) and GPU memory requirements, though CPU-only and reduced-precision modes are available. Setup requires CUDA 12.8 for GPU use and a Hugging Face token for speaker diarization.
Use it for
- Transcribe meeting recordings with speaker labels and accurate word timestamps for searchable meeting notes.
- Generate subtitle files (.srt) with precise timing and speaker identification for video content.
- Process podcast or interview audio to extract speaker segments and create chapter markers.
- Batch-process large audio datasets for research or content indexing with minimal GPU memory.
- Transcribe multilingual audio (supported languages: en, fr, de, es, it, and others via Hugging Face).
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need word-level timestamps and speaker diarization for transcription.
The package is actively maintained, permissively licensed, and popular (top 5000 PyPI). Install friction is low but dependency footprint is substantial (torch, transformers, etc.); ensure GPU memory or CPU fallback fits your deployment. No known vulnerabilities as of 2026-08-14.
Install
whisperx on PyPI
Before you install
Low friction installation via pip; 14 runtime dependencies including torch, torchaudio, and transformers mean a substantial download footprint. Active maintenance with recent releases; last commit 2026-07-13. Requires CUDA 12.8 for GPU acceleration or CPU fallback available.
CUDA 12.8 required for GPU acceleration; CPU mode available but slower. Requires ffmpeg and Rust for some dependencies. Hugging Face token needed to enable speaker diarization.
License in practice
BSD-2-Clause permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production and research deployments.
Quickstart
pip install whisperx
import whisperx
device = "cuda"
audio_file = "audio.mp3"
model = whisperx.load_model("large-v2", device, compute_type="float16")
audio = whisperx.load_audio(audio_file)
result = model.transcribe(audio, batch_size=16)
print(result["segments"])
Verify before relying
- Whether the 70x realtime speed claim applies to all model sizes or only large-v2 with specific batch settings.
- Memory requirements for different model sizes and batch configurations beyond the <8GB mention for large-v2.
- Whether all languages listed as supported via Hugging Face have been tested or are community-contributed.
Package facts
| License | BSD-2-Clause permissive |
| Python support | Supports the current Python release <3.14,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 14 packagesctranslate2faster-whispernltknumpyomegaconfpandaspyannote-audiohuggingface-hubtorchtorchaudiotorchvisiontorchcodectransformerstriton |
| Maintenance | Actively maintained 81 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,465,012 / month, #3,877 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: whisperx-3.8.6-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “fast automatic transcription”
- whisperxWhisperX performs fast automatic speech recognition with word-level…
- faster-whisperTranscribes audio to text using OpenAI's Whisper model, reimplemented…
- basic-pitchBasic Pitch converts audio files to MIDI transcriptions with pitch…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also monotonic-alignment-search · SpeechRecognition · whisper-timestamped · faster-whisper · openai-whisper · mlx-whisper · realtimestt · Resemblyzer · speechmatics-batch · pywhispercpp