jim60105/docker-whisperX
Dockerfile for WhisperX: Automatic Speech Recognition with Word-Level Timestamps and Speaker Diarization (Dockerfile, CI image build and test)
What it solves
This project provides a set of optimized Docker images for WhisperX, an automatic speech recognition (ASR) system that provides word-level timestamps and speaker diarization. It simplifies the deployment of WhisperX by bundling pre-downloaded models, reducing the need for users to manually manage dependencies and model downloads during runtime.
How it works
The project uses a Dockerfile and a CI workflow to build and maintain a large matrix of pre-built images. Each image is tagged by the model size (e.g., large-v3) and the target language (e.g., en for English, zh for Chinese). Users can either pull a pre-built image from the GitHub Container Registry (GHCR) or build their own using build arguments for specific language and model combinations.
Who it’s for
It is designed for users who want to run WhisperX for speech-to-text transcription with GPU support on Windows (via WSL2), Linux, or OSX, without having to manually configure the environment or install the underlying ASR models.
Highlights
- Pre-built Model Bundles: Offers a wide variety of images with models already baked in to speed up deployment.
- GPU Support: Detailed configuration guides for NVIDIA GPUs across different operating systems.
- Optimized Build Pipeline: Uses efficient Docker layer caching to manage the build of over 170 images weekly.
- Specialized Models: Includes support for distilled variants (like
distil-large-v3-en) and specialized regional models (likebreeze-asr-26-zhfor Taiwanese Hokkien). - Flexible Caching: Allows mounting a local volume to share alignment models across different containers.
Related
- Project
- Project
- Project
- Project
- Project