skillfed

mlx-whisper

OpenAI Whisper on Apple silicon with MLX and the Hugging Face Hub

mlx-whisper v0.4.3 337.0K downloads/30d#7,453 on PyPI8,879
Permissive license MIT Active released

What it is and what it does

mlx-whisper brings OpenAI's Whisper speech recognition to Apple silicon Macs by wrapping the models in MLX, a machine learning framework optimized for Apple hardware. It offers both a command-line interface for simple transcription and a Python API for programmatic use. The package can load models from the Hugging Face Hub or local paths, supporting models at various parameter scales and offering features like word-level timestamps.

The package depends on torch, mlx, numpy, scipy, and several utility libraries for audio processing and model management. It requires ffmpeg as a system dependency for audio handling. Transcription is performed locally on-device, which means no network calls to external APIs and full control over model selection and quantization.

Use it for:

  • Transcribe audio files to text on macOS without sending data to external APIs.
  • Build command-line tools that convert speech recordings (MP3, WAV, etc.) to text files.
  • Integrate speech-to-text into Python applications with control over model size and precision.
  • Process audio streams piped from other programs directly into transcription.
  • Generate word-level timestamps for audio segments to enable precise subtitle generation.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Runs OpenAI's Whisper speech recognition models on Apple silicon using MLX, with support for models ranging from 39 million to 1.5 billion parameters.

Yes, if you are on Apple silicon and need local speech recognition. The package is actively maintained, has low install friction, and MIT licensing poses no restrictions. Verify that torch and mlx dependencies resolve cleanly on your target hardware, and ensure ffmpeg is available before installation.

Install

mlx-whisper on PyPI

pip

pip install mlx-whisper

uv

uv add mlx-whisper

poetry

poetry add mlx-whisper

Installing mlx-whisper

Before you install

Low install friction with a pure Python wheel. Active maintenance with recent commits and 8879 repository stars. Requires ffmpeg as a system dependency and nine runtime packages including torch, mlx, and numpy.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.

Quickstart

pip install mlx-whisper

import mlx_whisper

text = mlx_whisper.transcribe("audio_file.mp3")["text"]

Requires ffmpeg to be installed on the system (e.g., `brew install ffmpeg` on macOS) and torch/mlx dependencies which are platform-specific.

Verify before relying

  • Whether MLX and torch dependencies install smoothly on non-Apple-silicon systems or if they are strictly required for Apple hardware.
  • Performance characteristics and latency for different model sizes on typical Apple silicon devices.
  • Whether pre-converted models from Hugging Face Hub cover all use cases or if manual conversion is often needed.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 9 — mlx, numba, numpy, torch, tqdm, more-itertools, tiktoken, huggingface_hub, scipy
Maintenance actively maintained — 350 days since the last release
Last repo commit
First released
Downloads 336,970/month — #7,453 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mlx_whisper-0.4.3-py3-none-any.whl

Tags

speech recognition apple siliconwhisper transcription mlxaudio to text macosopenai whisper mlxon-device speech recognitionwhisper model inferenceaudio transcription apple
speech-recognitionapple-siliconoffline-inference

More Artificial Intelligence packages