Public repository for ragedunicorn docker whisper images
286

Whisper speech recognition with whisper-ctranslate2 (faster-whisper/CTranslate2) - transcribe and translate audio and video, on CPU or NVIDIA GPU.
# Pull latest version (cpu variant)
docker pull ragedunicorn/whisper:latest
# Or the CUDA variant / a specific version
docker pull ragedunicorn/whisper:latest-cuda
docker pull ragedunicorn/whisper:0.5.7-cpu-1
# Transcribe a file (model is cached in a named volume)
docker run --rm -v $(pwd):/tmp/workdir -v whisper-models:/home/whisper/.cache/huggingface \
ragedunicorn/whisper:latest video.mp4 --model medium --compute_type int8 --output_dir .
latest) and GPU-accelerated CUDA 12 image (latest-cuda)~/.cache/huggingface volumewhisper user by defaultdocker run --rm -v $(pwd):/tmp/workdir -v whisper-models:/home/whisper/.cache/huggingface \
ragedunicorn/whisper:latest video.mp4 --model medium --compute_type int8 --output_dir .
docker run --rm -v $(pwd):/tmp/workdir -v whisper-models:/home/whisper/.cache/huggingface \
ragedunicorn/whisper:latest video.mp4 --model small --output_format srt --output_dir .
docker run --rm -v $(pwd):/tmp/workdir -v whisper-models:/home/whisper/.cache/huggingface \
ragedunicorn/whisper:latest interview.wav --task translate --model small --output_dir .
docker run --rm --gpus all -v $(pwd):/tmp/workdir -v whisper-models:/home/whisper/.cache/huggingface \
ragedunicorn/whisper:latest-cuda video.mp4 --model large-v3 --device cuda --output_dir .
Not included: live microphone transcription (needs an audio device) and speaker diarization (needs PyTorch).
This image uses semantic versioning with a variant infix:
Format: {whisper_ctranslate2_version}-{cpu|cuda}-{build_number}
latest - Most recent stable release (cpu variant)latest-cuda - Most recent stable release (cuda variant)0.5.7-cpu-1 - whisper-ctranslate2 0.5.7, CPU variant, build 10.5.7-cuda-1 - whisper-ctranslate2 0.5.7, CUDA variant, build 10.5.7-cpu-2 - Rebuild of the same version (base image bump, fixes)When updates are available through automated dependency management, new releases are created with appropriate version tags.
MIT License - See GitHub repository for details.
Content type
Image
Digest
sha256:7d8bad514…
Size
178.9 MB
Last updated
about 1 month ago
docker pull ragedunicorn/whisper