Batched Whisper large-v3 on NVIDIA GPUs - OpenAI-compatible API, VRAM capping, fused LayerNorm
1.2K
High-throughput batched serving for Whisper large-v3 on NVIDIA Hopper GPUs, with an OpenAI-compatible API and VRAM capping for shared GPUs.
docker run --gpus all -p 8000:8000 -v hf-cache:/data/hf \
techbysaurabh/whisper-blaze:latest
curl -F [email protected] -F language=en localhost:8000/v1/audio/transcriptions
Existing OpenAI audio clients work by changing the base URL. Health: GET /health.
-e VRAM_LIMIT_GB=24 runs in 24 GB of an 80 GB card and
sizes each batch to fit, so the GPU can be shared with other workloads.fast (default) or accurate, which
stitches chunks on Whisper's own segment timestamps for materially lower word
error rate at roughly half the throughput.| Variable | Default | Purpose |
|---|---|---|
MODEL_ID | openai/whisper-large-v3 | Any HF Whisper checkpoint, incl. fine-tunes |
MODE | fast | fast or accurate (override per request with -F mode=) |
VRAM_LIMIT_GB | all | Cap GPU memory, e.g. 24 on a shared 80 GB card |
BATCH_WAIT_MS | 200 | Dynamic batching window |
PORT | 8000 | Listen port |
HF_TOKEN | — | For private/gated HF models |
sm_90a)MIT License
Content type
Image
Digest
sha256:ba170f58e…
Size
4.5 GB
Last updated
about 1 month ago
docker pull techbysaurabh/whisper-blaze