Environment:AI Builder Club Skills Apple Silicon MLX
| Knowledge Sources | |
|---|---|
| Domains | Speech_Recognition, Apple_Silicon |
| Last Updated | 2026-10-24 00:00 GMT |
Overview
macOS environment with Apple Silicon (M1/M2/M3/M4) and the MLX framework for on-device Whisper transcription.
Description
This environment provides a GPU-accelerated context for running MLX Whisper, Apple's machine learning framework optimized for Apple Silicon's unified memory architecture. MLX leverages the Metal framework and the Neural Engine for efficient on-device inference. The mlx-whisper package provides a Whisper implementation that runs natively on Apple GPUs, delivering word-level timestamp extraction without requiring NVIDIA CUDA.
Usage
Use this environment for the Word-Level Transcription step of the Karaoke Captions workflow. It is the mandatory prerequisite for running the extract_words implementation, which calls mlx_whisper.transcribe() with word_timestamps=True.
System Requirements
| Category | Requirement | Notes |
|---|---|---|
| OS | macOS 13.5+ | Required for MLX framework |
| Hardware | Apple Silicon (M1/M2/M3/M4) | Intel Macs not supported by MLX |
| Disk | 5GB free space | Model weights cached on first run (~3GB for whisper-large-v3-turbo) |
Dependencies
System Packages
- macOS 13.5 or higher
- Xcode Command Line Tools (for Metal compilation)
Python Packages
mlx-whispernumpypillow
Credentials
No credentials required. Models are downloaded from HuggingFace mlx-community repos on first run (anonymous access).
Quick Install
# Install all required packages
pip install mlx-whisper numpy pillow
Code Evidence
Import check from extract_words.py:26-28:
try:
import mlx_whisper
except ImportError:
sys.exit("Error: mlx_whisper is not installed. Run: pip install mlx-whisper")
Model selection default from extract_words.py:17:
parser.add_argument("--model", default="mlx-community/whisper-large-v3-turbo", help="Model repo or path")
Common Errors
| Error Message | Cause | Solution |
|---|---|---|
Error: mlx_whisper is not installed |
mlx-whisper package missing | pip install mlx-whisper
|
Error: input file not found |
Input path does not exist | Verify file path exists before running |
| RuntimeError on Intel Mac | MLX requires Apple Silicon | Use a Mac with M1 or later; alternatively use OpenAI Whisper on other platforms |
Compatibility Notes
- Intel Macs: Not supported — MLX requires Apple Silicon architecture.
- Linux/Windows: Not supported — MLX is macOS-only. Use standard
openai-whisperas an alternative (different output format). - Model caching: First run downloads model weights to
~/.cache/huggingface/; subsequent runs use the cached version.