Sign in

faster-whisper

v3.9.1-ls13

Faster-whisper is a reimplementation of OpenAI's Whisper model using CTranslate2, which is a fast inference engine for Transformer models. This container provides a Wyoming protocol server for faster-whisper.

docker pull ghcr.io/linuxserver-playground/faster-whisper:latest

Quick start · configure#

Pick the optional settings and mods you want, set your paths, ports and values, then copy the result.

Image
Identity

The user the application runs as and its timezone.

Required
Local path for Whisper config files.
Wyoming connection port.
Optional settings6

Tick what you need; it is added to every output with its value.

Mods

0 for faster-whisper, 0 universal mods suggested for it, and 13 other universal mods. Ticked mods join one DOCKER_MODS value in the order you tick them.

---
services:
  faster-whisper:
    image: ghcr.io/linuxserver-playground/faster-whisper:latest
    container_name: faster-whisper
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - /path/to/faster-whisper/data:/config
    ports:
      - 10300:10300
    restart: unless-stopped

Required settings only. Tick optional settings and mods to add them.

  • Replace the /path/to folders with real folders on your host; they are created if missing.

Install on …

Adding a store to your platform

Version tags#

TagLatest buildBuiltTests
:latestStable releasesbranch main · stablev3.9.1-ls13amd64 · arm64 passed
:gpuReleases with Nvidia GPU support (amd64 only)branch gpu · prereleasegpu-v3.9.1-ls15amd64–
:gpu-legacyLegacy releases with Nvidia GPU support for pre-Turing cards (amd64 only)branch gpu-legacy · prereleasegpu-legacy-v3.9.1-ls11amd64–

Architectures#

Pulling :latest picks the right one for your host automatically.

  • x86_64amd64-latest
  • arm64arm64v8-latest

Inside the latest image#

ghcr.io/linuxserver-playground/faster-whisper:v3.9.1-ls13

Explore this build
Base image
ghcr.io/linuxserver-playground/baseimage-ubuntu:resolute
Upstream version
v3.9.1
amd64 compressed
211 MB · 10 layers
arm64 compressed
180 MB · 10 layers
amd64 packages
254 · Ubuntu 26.04.1 LTS
arm64 packages
254 · Ubuntu 26.04.1 LTS
Tests
passed
Built
Reason
weekly package check

In the fleet#

Live branches, their latest release, upstream version and next scheduled check.

faster-whisper on the fleet board

live branchesloading…

Branch → tagLast buildReleasedUpstreamDriftNext checkFlags
gpu → :gpusuccess
v3.9.1
? unknown––
gpu-legacy → :gpu-legacysuccess
v3.9.1
? unknown––
main → :latestsuccess
v3.9.1
? unknown––

Application setup#

For use with Home Assistant Assist, add the Wyoming integration and supply the hostname/IP and port that Whisper is running add-on.”

When using the gpu tag with Nvidia GPUs, make sure you set the container to use the nvidia runtime and that you have the Nvidia Container Toolkit installed on the host and that you run the container with the correct GPU(s) exposed. See the Nvidia Container Toolkit docs for more details.

For more information see the faster-whisper docs,

Parameters#

Ports#
PortFunctionRequired
10300:10300Wyoming connection port.required
Environment variables#
VariableFunctionRequired
PUID=1000User IDrequired
PGID=1000Group IDrequired
TZ=Etc/UTCTimezonerequired
DEBUG=If set to true, or any other value, the container will output debug logs.optional
LOCAL_ONLY=If set to true, or any other value, the container will not attempt to download models from HuggingFace and will only use locally-provided models.optional
WHISPER_BEAM=1Number of candidates to consider simultaneously during transcription.optional
WHISPER_LANG=autoTwo character code for the language that you will speak to the add-on.optional
WHISPER_MODEL=autoWhisper model that will be used for transcription. From here (opens in a new tab).optional
Volumes#
PathFunctionRequired
/configLocal path for Whisper config files.required

Read-Only Operation#

This image can be run with a read-only container filesystem. For details please read the docs.

Environment variables from files (Docker secrets)#

You can set any environment variable from a file by using a special prepend FILE__.

As an example:

-e FILE__MYVAR=/run/secrets/mysecretvariable

Will set the environment variable MYVAR based on the contents of the /run/secrets/mysecretvariable file.

Umask for running applications#

For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional -e UMASK=022 setting. Keep in mind umask is not chmod it subtracts from permissions based on it’s value it does not add. Please read up here before asking for support.

User / Group Identifiers#

When using volumes (-v flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID and group PGID.

Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.

In this instance PUID=1000 and PGID=1000, to find yours use id your_user as below:

id your_user

Example output:

uid=1000(your_user) gid=1000(your_user) groups=1000(your_user)

Updating Info#

Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (noted in the relevant readme.md), we do not recommend or support updating apps inside the container. Please consult the Application Setup section above to see if it is recommended for the image.

Below are the instructions for updating containers:

Via Docker Compose

  • Update images:

    • All images:

      docker-compose pull
    • Single image:

      docker-compose pull faster-whisper
  • Update containers:

    • All containers:

      docker-compose up -d
    • Single container:

      docker-compose up -d faster-whisper
  • You can also remove the old dangling images:

    docker image prune

Via Docker Run

  • Update the image:

    docker pull ghcr.io/linuxserver-playground/faster-whisper:latest
  • Stop the running container:

    docker stop faster-whisper
  • Delete the container:

    docker rm faster-whisper
  • Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your /config folder and settings will be preserved)

  • You can also remove the old dangling images:

    docker image prune

Image Update Notifications - Diun (Docker Image Update Notifier)

Tip

We recommend Diun for update notifications. Other tools that automatically update containers unattended are not recommended or supported.

Building locally#

If you want to make local modifications to these images for development purposes or just to customize the logic:

git clone https://github.com/linuxserver-playground/docker-faster-whisper.git
cd docker-faster-whisper
docker build \
  --no-cache \
  --pull \
  -t ghcr.io/linuxserver-playground/faster-whisper:latest .

The ARM variants can be built on x86_64 hardware and vice versa using ghcr.io/linuxserver/qemu-static

docker run --rm --privileged ghcr.io/linuxserver/qemu-static --reset

Once registered you can define the dockerfile to use with -f Dockerfile.aarch64.

Every push builds and tests the image with the shared workflow in linuxserver-playground/workflows; every build’s tests, screenshots and package changes are on the image’s builds on the website.

Builds#

The newest five builds per branch, each with its CI report; 24 older releases are on GitHub, listed below.

TagBuiltReasonChangeResultSize
v3.9.1-ls13main · 85cee13cweekly package checkpackagessuccess211 MB amd64180 MB arm64
gpu-v3.9.1-ls15gpu · 455e3b47weekly package checkbasesuccess1.5 GB amd64
gpu-legacy-v3.9.1-ls11gpu-legacy · 2be52bb3weekly package checkbasesuccess1.4 GB amd64
v3.9.1-ls12main · 1cc1a7a5weekly package checkbasesuccess211 MB amd64180 MB arm64
gpu-legacy-v3.9.1-ls10gpu-legacy · 28e23c77weekly package checkpackagessuccess1.4 GB amd64
gpu-v3.9.1-ls14gpu · 356df6f5weekly package checkbasesuccess1.5 GB amd64
v3.9.1-ls11main · 4d7f2986weekly package checkpackagessuccess234 MB amd64204 MB arm64
gpu-v3.9.1-ls13gpu · 4ae86dfdweekly package checkpackagessuccess1.5 GB amd64
gpu-v3.9.1-ls12gpu · e93976d1upstream checkmixedsuccess1.5 GB amd64
gpu-legacy-v3.9.1-ls9gpu-legacy · 8527a8ecupstream checkmixedsuccess1.4 GB amd64
v3.9.1-ls10main · 3fdc5d4fupstream checkmixedsuccess233 MB amd64203 MB arm64
v3.9.0-ls9main · 309f7bb8weekly package checkpackagessuccess233 MB amd64203 MB arm64
gpu-v3.9.0-ls11gpu · 6d7de1a1upstream checkmixedsuccess1.5 GB amd64
gpu-legacy-v3.9.0-ls8gpu-legacy · e71c9031upstream checkmixedsuccess1.4 GB amd64
gpu-legacy-v3.8.1-ls7gpu-legacy · ca6a9fcfweekly package checkbasesuccess1.4 GB amd64
Older releases24Release, run record and run on GitHub
Older releases of faster-whisper, without a page on this site
TagBuiltLinks
v3.9.0-ls8mainRelease v3.9.0-ls8 on GitHub (opens in a new tab)run.json of v3.9.0-ls8Run that built v3.9.0-ls8, on GitHub (opens in a new tab)
gpu-v3.8.1-ls10gpuRelease gpu-v3.8.1-ls10 on GitHub (opens in a new tab)run.json of gpu-v3.8.1-ls10Run that built gpu-v3.8.1-ls10, on GitHub (opens in a new tab)
v3.8.1-ls7mainRelease v3.8.1-ls7 on GitHub (opens in a new tab)run.json of v3.8.1-ls7Run that built v3.8.1-ls7, on GitHub (opens in a new tab)
gpu-v3.8.1-ls9gpuRelease gpu-v3.8.1-ls9 on GitHub (opens in a new tab)run.json of gpu-v3.8.1-ls9Run that built gpu-v3.8.1-ls9, on GitHub (opens in a new tab)
v3.8.1-ls6mainRelease v3.8.1-ls6 on GitHub (opens in a new tab)run.json of v3.8.1-ls6Run that built v3.8.1-ls6, on GitHub (opens in a new tab)
gpu-legacy-v3.8.1-ls6gpu-legacyRelease gpu-legacy-v3.8.1-ls6 on GitHub (opens in a new tab)run.json of gpu-legacy-v3.8.1-ls6Run that built gpu-legacy-v3.8.1-ls6, on GitHub (opens in a new tab)
gpu-v3.8.1-ls8gpuRelease gpu-v3.8.1-ls8 on GitHub (opens in a new tab)run.json of gpu-v3.8.1-ls8Run that built gpu-v3.8.1-ls8, on GitHub (opens in a new tab)
v3.8.1-ls5mainRelease v3.8.1-ls5 on GitHub (opens in a new tab)run.json of v3.8.1-ls5Run that built v3.8.1-ls5, on GitHub (opens in a new tab)
gpu-v3.8.1-ls7gpuRelease gpu-v3.8.1-ls7 on GitHub (opens in a new tab)run.json of gpu-v3.8.1-ls7Run that built gpu-v3.8.1-ls7, on GitHub (opens in a new tab)
gpu-legacy-v3.8.1-ls5gpu-legacyRelease gpu-legacy-v3.8.1-ls5 on GitHub (opens in a new tab)run.json of gpu-legacy-v3.8.1-ls5Run that built gpu-legacy-v3.8.1-ls5, on GitHub (opens in a new tab)
gpu-v3.8.1-ls6gpuRelease gpu-v3.8.1-ls6 on GitHub (opens in a new tab)run.json of gpu-v3.8.1-ls6Run that built gpu-v3.8.1-ls6, on GitHub (opens in a new tab)
v3.8.1-ls4mainRelease v3.8.1-ls4 on GitHub (opens in a new tab)run.json of v3.8.1-ls4Run that built v3.8.1-ls4, on GitHub (opens in a new tab)
gpu-legacy-v3.8.1-ls4gpu-legacyRelease gpu-legacy-v3.8.1-ls4 on GitHub (opens in a new tab)run.json of gpu-legacy-v3.8.1-ls4Run that built gpu-legacy-v3.8.1-ls4, on GitHub (opens in a new tab)
v3.8.1-ls3mainRelease v3.8.1-ls3 on GitHub (opens in a new tab)run.json of v3.8.1-ls3Run that built v3.8.1-ls3, on GitHub (opens in a new tab)
gpu-v3.8.1-ls5gpuRelease gpu-v3.8.1-ls5 on GitHub (opens in a new tab)run.json of gpu-v3.8.1-ls5Run that built gpu-v3.8.1-ls5, on GitHub (opens in a new tab)
gpu-v3.8.1-ls4gpuRelease gpu-v3.8.1-ls4 on GitHub (opens in a new tab)run.json of gpu-v3.8.1-ls4Run that built gpu-v3.8.1-ls4, on GitHub (opens in a new tab)
gpu-v3.8.1-ls3gpuRelease gpu-v3.8.1-ls3 on GitHub (opens in a new tab)run.json of gpu-v3.8.1-ls3Run that built gpu-v3.8.1-ls3, on GitHub (opens in a new tab)
gpu-legacy-v3.8.1-ls3gpu-legacyRelease gpu-legacy-v3.8.1-ls3 on GitHub (opens in a new tab)run.json of gpu-legacy-v3.8.1-ls3Run that built gpu-legacy-v3.8.1-ls3, on GitHub (opens in a new tab)
gpu-v3.8.1-ls2gpuRelease gpu-v3.8.1-ls2 on GitHub (opens in a new tab)run.json of gpu-v3.8.1-ls2Run that built gpu-v3.8.1-ls2, on GitHub (opens in a new tab)
gpu-legacy-v3.8.1-ls2gpu-legacyRelease gpu-legacy-v3.8.1-ls2 on GitHub (opens in a new tab)run.json of gpu-legacy-v3.8.1-ls2Run that built gpu-legacy-v3.8.1-ls2, on GitHub (opens in a new tab)
v3.8.1-ls2mainRelease v3.8.1-ls2 on GitHub (opens in a new tab)run.json of v3.8.1-ls2Run that built v3.8.1-ls2, on GitHub (opens in a new tab)
v3.8.1-ls1mainRelease v3.8.1-ls1 on GitHub (opens in a new tab)run.json of v3.8.1-ls1Run that built v3.8.1-ls1, on GitHub (opens in a new tab)
gpu-v3.8.1-ls1gpuRelease gpu-v3.8.1-ls1 on GitHub (opens in a new tab)run.json of gpu-v3.8.1-ls1Run that built gpu-v3.8.1-ls1, on GitHub (opens in a new tab)
gpu-legacy-v3.8.1-ls1gpu-legacyRelease gpu-legacy-v3.8.1-ls1 on GitHub (opens in a new tab)run.json of gpu-legacy-v3.8.1-ls1Run that built gpu-legacy-v3.8.1-ls1, on GitHub (opens in a new tab)

Mods#

Add a mod with DOCKER_MODS=<image>; separate several with |.

All mods for faster-whisper

No mod targets faster-whisper specifically; the 13 universal mods work with every image.

Changelog#

  1. Pin av to 18.x.

  2. Rebase to Ubuntu Resolute.

  3. Default to auto for model and language if not set.

  4. Add gpu-legacy branch for pre-Turing cards.

  5. Add support for local-only mode.

  6. Add arm64 support for non-GPU builds.

  7. Build from Github releases rather than Pypi.

  8. Rebase to Ubuntu Noble.

3 earlier entries
  1. Bump CUDA to 12 on GPU branch.
  2. Add GPU branch.
  3. Initial Release.

Support#

Questions about running faster-whisper? Start with the documentation and the community; open an issue for bugs.

  • Shell access whilst the container is running:

    docker exec -it faster-whisper /bin/bash
  • To monitor the logs of the container in realtime:

    docker logs -f faster-whisper
  • Container version number:

    docker inspect -f '{{ index .Config.Labels "build_version" }}' faster-whisper
  • Image version number:

    docker inspect -f '{{ index .Config.Labels "build_version" }}' ghcr.io/linuxserver-playground/faster-whisper:latest

Community project

Improve faster-whisper

This image is kept up by volunteers, and you can be one of them. You don't need to know how the pipeline works: point an AI agent at the harness and describe what you want. It reproduces the problem in your Docker, tests the change and drafts the pull request for you to check.

Ask your agent

  • Something is wrong with the faster-whisper image: <what you saw>. Reproduce it, fix it and draft the PR.
  • Add <package> to the faster-whisper image, test it and draft the PR.
  • Make a mod for faster-whisper that <what you need>, and test it.

Contributing an image Every way to help Get the harness (opens in a new tab)

Related

Browse all

piper

2.5.4-ls15

Piper is a fast, local neural text to speech system that sounds great and is optimized for the Raspberry Pi 4. This container provides a Wyoming protocol server for Piper.

0 GitHub starsubuntuarm64