GigaAM-VAD-mlx
Blazing-fast voice activity detection on Mac
2 min readupdated
A port of the official GigaAMVAD model from the Salute Developers team to the MLX framework (Apple's library for running AI models on M-series chips). The model handles VAD (voice activity detection—identifying segments in an audio recording where a voice is present) and splits long recordings into speech segments. It outputs voice presence probabilities with a 40 ms step, ready-to-use timecodes, or already split audio fragments. Unlike the original, this version runs on Apple Silicon entirely without PyTorch dependencies while maintaining identical accuracy. It is useful for developers of local voice assistants, transcription systems, and anyone processing long meeting recordings on Mac.
Key features
- Runs on pure Apple MLX without requiring PyTorch to be installed.
- High speed: 22 minutes of audio (1,319.4 seconds) is processed in about 0.26 seconds on an M2 Max in FP32.
- Full parity with the original: maximum probability deviation from the PyTorch version is less than 1e-4, and timecodes match.
- Ultra-compact size: 1.33 million parameters (~5.3 MB), 5-layer Conformer architecture.
What you can do
- Use it as a built-in segmenter paired with
gigaam-mlxfor automatic transcription of long meetings and video files via CLI or Python. - Embed it into local audio processing pipelines on macOS to cut out silence and get precise speech timestamps.
Example
from gigaam_mlx import load_audio, load_vad_model, speech_timestamps
vad = load_vad_model()
audio = load_audio("meeting.wav")
probs = vad.speech_probs(audio)
intervals = speech_timestamps(probs, vad.step_sec, len(audio) / 16000)Read more
DetailsSpeed: 22 min audio in ~0.26 s on M2 Max (FP32)
Architecture: 5-layer Conformer (1.33M parameters, ~5.3 MB, 10 s window, 40 ms step / 25 Hz)
Accuracy: max |Δprob| < 1e-4 relative to the original PyTorch GigaAM VAD
License: MIT










Comments