Skip to main content

Wyoming Server for MLX whisper

Project description

Wyoming MLX Whisper

Wyoming protocol server for mlx-whisper speech-to-text on Apple Silicon.

Uses mlx-community/whisper-large-v3-turbo by default, which runs near real-time on M1 Pro and newer.

[ToC] ๐Ÿ“š

Requirements

  • macOS with Apple Silicon (M1/M2/M3)
  • Python 3.10-3.13
  • uv (recommended) or pip

Installation

Using uvx (recommended, no install needed)

uvx --python 3.12 wyoming-mlx-whisper

Note: Python 3.12 is required because numba (a dependency) doesn't support Python 3.14 yet.

Using pip

pip install wyoming-mlx-whisper
wyoming-mlx-whisper

Usage

Run directly

# With uvx (no install needed)
uvx --python 3.12 wyoming-mlx-whisper

# Or if installed with pip
wyoming-mlx-whisper

Run as macOS service (launchd)

Download and run the install script:

curl -fsSL https://raw.githubusercontent.com/basnijholt/wyoming-mlx-whisper/main/scripts/install_service.sh | bash

The server runs at tcp://localhost:10300 by default.

Uninstall the service:

curl -fsSL https://raw.githubusercontent.com/basnijholt/wyoming-mlx-whisper/main/scripts/uninstall_service.sh | bash

View logs:

tail -f ~/Library/Logs/wyoming-mlx-whisper/*.out ~/Library/Logs/wyoming-mlx-whisper/*.err

Options

See the output of wyoming-mlx-whisper --help

 Usage: wyoming-mlx-whisper [OPTIONS]

 Run the Wyoming MLX Whisper server.

โ•ญโ”€ Options โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ --uri                           TEXT  unix:// or tcp://                      โ”‚
โ”‚                                       [env var: WHISPER_URI]                 โ”‚
โ”‚                                       [default: tcp://0.0.0.0:10300]         โ”‚
โ”‚ --model                         TEXT  Name of MLX Whisper model to use       โ”‚
โ”‚                                       [env var: WHISPER_MODEL]               โ”‚
โ”‚                                       [default:                              โ”‚
โ”‚                                       mlx-community/whisper-large-v3-turbo]  โ”‚
โ”‚ --language                      TEXT  Language code (e.g., 'en')             โ”‚
โ”‚                                       [env var: WHISPER_LANGUAGE]            โ”‚
โ”‚ --debug           --no-debug          Log DEBUG messages                     โ”‚
โ”‚                                       [env var: WHISPER_DEBUG]               โ”‚
โ”‚                                       [default: no-debug]                    โ”‚
โ”‚ --log-format                    TEXT  Format for log messages                โ”‚
โ”‚                                       [default:                              โ”‚
โ”‚                                       %(levelname)s:%(name)s:%(message)s]    โ”‚
โ”‚ --version                             Print version and exit                 โ”‚
โ”‚ --help        -h                      Show this message and exit.            โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Development

uv sync
uv run pre-commit install

Acknowledgements

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wyoming_mlx_whisper-1.0.1.tar.gz (93.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wyoming_mlx_whisper-1.0.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file wyoming_mlx_whisper-1.0.1.tar.gz.

File metadata

  • Download URL: wyoming_mlx_whisper-1.0.1.tar.gz
  • Upload date:
  • Size: 93.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wyoming_mlx_whisper-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d090a48a75219115c134d8ba97f91d9b0c5de770ba232865188044e23865b9d0
MD5 79cfcffd9f6bd2a9c56247a7338e271a
BLAKE2b-256 926e0c86b851f7de203b929252785268efa0f81e515fe781018b265d17995e3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for wyoming_mlx_whisper-1.0.1.tar.gz:

Publisher: release.yml on basnijholt/wyoming-mlx-whisper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wyoming_mlx_whisper-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for wyoming_mlx_whisper-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 acaea8888b292836df82403255caef81a1b7b4b4ea27cae19d8029758f0c0221
MD5 2b08ed5e92f47a800afd8f56365b56d1
BLAKE2b-256 9f0bc0ee19426f1097fc37a0854c135ac8e3f6f662d1f94a5b60e17ef448f6d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for wyoming_mlx_whisper-1.0.1-py3-none-any.whl:

Publisher: release.yml on basnijholt/wyoming-mlx-whisper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page