GPU-accelerated or CPU-only speech-to-text sidecar built from the official whisper.cpp container image.
Requirements:
- Docker with Compose
justuvfor diarization dependency updates- NVIDIA Container Toolkit for CUDA deployments
Create local configuration:
cp .env.local.example .env.localDownload configured model:
just download-model large-v3-turboStart CUDA sidecar with rootful Docker:
just up-cudaFor rootless Docker with NVIDIA CDI:
just up-cuda-cdiUse just up as an alias for just up-cuda. Use just up-cpu for CPU inference. See Run with NVIDIA CUDA for host setup and troubleshooting.
CUDA startup runs a model-loading preflight. Keep enough VRAM free for the configured model before starting the service.
Submit audio:
just inference data/audio/jfk.wavInclude speaker turns with the optional pyannote facade:
just up-speakers-cuda-cdi
just inference-speakers data/audio/conversation.wav auto 2 2Use just up-speakers-cuda with rootful Docker or just up-speakers-cpu without a GPU. See Add speaker turns for token setup and response details.
Call service directly from another Compose service:
curl http://whisper:9199/inference \
--form file=@recording.m4a \
--form language=auto \
--form response_format=jsonStop sidecar:
just down