This release upgrades the engines to PyTorch 2.8 and WhisperX 3.8.6, fixes long-standing bugs in the WhisperX engine and in model unloading, adds API key authentication, health checks, logging and request limits, and makes the Docker images smaller and considerably safer.
Before you upgrade
- WhisperX speaker diarization now uses
pyannote/speaker-diarization-community-1. Accept its user conditions on Hugging Face with the account that ownsHF_TOKEN, otherwise diarization fails to load. - GPU image: PyTorch now targets CUDA 12.8, which adds support for RTX 50xx / Blackwell GPUs. Make sure your NVIDIA driver supports the CUDA version of the image.
- Running from source now requires Python 3.12 or 3.13 and Poetry 2.x. The Docker images are not affected.
- Startup: the service now accepts connections immediately and loads the model in the background.
/healthreturns503with{"status": "loading"}until the model is ready, and requests sent meanwhile wait for it. - All new settings are optional, and their defaults keep the previous behavior.
Docker images
| Tag | Platforms |
|---|---|
v1.11.0, latest
| linux/amd64, linux/arm64
|
v1.11.0-gpu, latest-gpu
| linux/amd64
|
v1.11.0-amd64, v1.11.0-arm64, v1.11.0-gpu-amd64
| single architecture |
docker pull onerahmet/openai-whisper-asr-webservice:v1.11.0
docker pull onerahmet/openai-whisper-asr-webservice:v1.11.0-gpuHighlights
- API key authentication with
API_KEY; the documentation and/healthstay public. /healthendpoint and a DockerHEALTHCHECK.- Logging with timestamps and
LOG_LEVEL: each request is logged with its duration, andLOG_LEVEL=DEBUGadds decoding times and engine options. - Model unloading:
MODEL_IDLE_TIMEOUTworks reliably again, and the newMODEL_UNLOAD_AFTER_REQUESTfrees memory right after each request. - Request limits:
MAX_UPLOAD_SIZE_MBandMAX_PENDING_REQUESTSprotect shared servers from oversized uploads and request pile-ups. - Decoding options:
ASR_BEAM_SIZE,ASR_BATCH_SIZEandASR_VAD_FILTER. - Non-root containers with
--userandXDG_CACHE_HOME. - Smaller, safer images: a slim Debian base for the CPU image, a multi-stage build without Poetry or download caches, FFmpeg n9.1, and every image scanned with Trivy before it is published.
- New documentation with an API reference, a complete configuration table and a request flow diagram: https://ahmetoner.github.io/whisper-asr-webservice
Added
API_KEYenvironment variable for optional API key authentication/healthendpoint for container health checks, public even whenAPI_KEYis set- Docker
HEALTHCHECKthat uses the/healthendpoint LOG_LEVELenvironment variable and timestamped logs: startup configuration, model loading and every request with its duration atINFO, and decoding times and engine options atDEBUGASR_BEAM_SIZE,ASR_BATCH_SIZEandASR_VAD_FILTERenvironment variablesMODEL_UNLOAD_AFTER_REQUESTenvironment variable to unload the model as soon as each request finishesMAX_UPLOAD_SIZE_MBandMAX_PENDING_REQUESTSlimits that reject oversized uploads (413) and excess requests (503); both are off by default- Docker images can run as a non-root user (
--user) withXDG_CACHE_HOMEpointing to a writable cache directory;ASR_MODEL_PATHnow defaults to$XDG_CACHE_HOME/whisper - OCI labels on the Docker images: title, description, version, revision, creation time, license, documentation and source URLs
- Per-architecture Docker image tags (
<version>-amd64,<version>-arm64,<version>-gpu-amd64) - Request flow diagram in the README and the development guide
Changed
- The service starts accepting connections immediately and loads the model in the background
- Upgraded PyTorch to v2.8.0 (CUDA builds use CUDA 12.8), whisperx to v3.8.6, pyannote-audio to v4.1.1, fastapi to v0.165.0, uvicorn to v0.54.0, python-multipart to v0.0.34, tqdm to v4.70.1, llvmlite to v0.50.0 and numba to v0.68.1
- Python requirement is now >=3.12,<3.14, and Poetry v2.5.2 is used
- WhisperX diarization uses
pyannote/speaker-diarization-community-1 - Only the selected ASR engine is imported at startup, reducing startup time and memory use
- Docker images use the FFmpeg n9.1 build layer and include the FFmpeg license (LGPL v2.1+) at
/usr/local/share/doc/ffmpeg - The CPU Docker image is based on
python:3.12-slim-bookworm - Docker images are built in a separate stage and no longer contain Poetry, development dependencies or download caches, making them several GB smaller
- arm64 images are built on native runners instead of under emulation
- Rewrote the README and the documentation
Fixed
- WhisperX crash loop at startup (
Weights only load failed) caused by lightning 2.6 with pyannote-audio 3.x - Model failing to reload after
MODEL_IDLE_TIMEOUTunloaded it, especially with WhisperX - Model being unloaded right after a request that took longer than
MODEL_IDLE_TIMEOUT initial_promptcausing HTTP 500 with the WhisperX engine- WhisperX diarization ignoring
min_speakersandmax_speakers /detect-languagereturning the confidence of the wrong language with the openai_whisper engine- Empty transcripts for M4A/MP4/MOV files that store their index at the end of the file
- Undecodable, empty or malformed raw (
encode=false) uploads now return HTTP 400 instead of 500 /asrresponses now use aContent-Typematching the requestedoutputformat- Swagger UI showing a text field instead of a file picker for
audio_filein Docker images - Server becoming unresponsive, including
/docs, while a transcription is running - Missing contact URL in the OpenAPI metadata
Security
- CPU Docker image base switched to
python:3.12-slim-bookworm, reducing OS package findings reported by Trivy from 21 critical / 688 high to 2 critical / 99 high - CPU Docker image applies Debian security updates at build time
- Upgraded the system pip in the CPU Docker image, which bundles urllib3 and certifi, fixing
- Upgraded the FFmpeg build layer from n7.1 to n9.1, which includes upstream FFmpeg security fixes
- Upgraded torch to v2.8.0, fixing
- Upgraded aiohttp to v3.14.5, fixing
- Upgraded certifi to v2026.11.20, fixing
- Upgraded filelock to v4.3.0, fixing
- Upgraded lightning to v2.6.6, fixing
- Upgraded mako to v1.4.3, fixing
- Upgraded multidict to v7.2.1, fixing
- Upgraded nltk to v3.10.4, fixing
- CVE-2026-12876
- CVE-2026-71513
- CVE-2026-71514
- CVE-2026-78680
- CVE-2026-78681
- CVE-2026-78682
- CVE-2026-79657
- CVE-2026-79674
- CVE-2026-79675
- CVE-2026-79676
- CVE-2026-80206
- CVE-2026-81722
- CVE-2026-81723
- CVE-2026-81724
- CVE-2026-81725
- CVE-2026-81726
- CVE-2026-81727
- CVE-2026-126295
- CVE-2026-126296
- CVE-2026-126297
- CVE-2026-126298
- CVE-2026-126299
- CVE-2026-126300
- CVE-2026-126301
- CVE-2026-126302
- CVE-2026-126303
- CVE-2026-126304
- CVE-2026-128134
- CVE-2026-128135
- CVE-2026-128136
- CVE-2026-128137
- CVE-2026-128139
- CVE-2026-128140
- CVE-2026-129221
- CVE-2026-129222
- CVE-2026-129223
- CVE-2026-129224
- CVE-2026-129225
- CVE-2026-129226
- CVE-2026-129227
- CVE-2026-129228
- CVE-2026-129229
- CVE-2026-129230
- CVE-2026-129231
- CVE-2026-129232
- CVE-2026-129233
- CVE-2026-129234
- GHSA-j456-xh4h-cpf2
- Upgraded pillow to v13.0.0, fixing
- CVE-2026-96636
- CVE-2026-96637
- CVE-2026-96638
- CVE-2026-96639
- CVE-2026-96640
- CVE-2026-96641
- CVE-2026-96642
- CVE-2026-96643
- CVE-2026-96644
- CVE-2026-96778
- CVE-2026-112390
- CVE-2026-112391
- CVE-2026-112392
- CVE-2026-112393
- CVE-2026-112394
- CVE-2026-112395
- CVE-2026-112396
- CVE-2026-112397
- CVE-2026-112398
- CVE-2026-112399
- CVE-2026-112400
- CVE-2026-112401
- CVE-2026-112402
- CVE-2026-112403
- CVE-2026-112404
- CVE-2026-112405
- CVE-2026-112406
- CVE-2026-112891
- CVE-2026-112892
- CVE-2026-112893
- CVE-2026-112894
- CVE-2026-112895
- CVE-2026-112896
- CVE-2026-112897
- CVE-2026-112898
- CVE-2026-112899
- CVE-2026-112900
- CVE-2026-112901
- CVE-2026-112902
- CVE-2026-114501
- CVE-2026-128066
- CVE-2026-128067
- GHSA-78g4-xqwv-q3g8
- Upgraded setuptools to v84.2.1, fixing
- Upgraded urllib3 to v2.8.0, fixing
- CVE-2026-97687
- CVE-2026-97688
- CVE-2026-97689
- Upgraded openssl to v3.0.13-0ubuntu3.16 in the GPU Docker image, fixing
- CVE-2026-45447
- CVE-2026-84782
- Upgraded apt to v2.8.4ubuntu0.1 in the GPU Docker image, fixing
- CVE-2026-109518
Full changelog: v1.10.0...v1.11.0