Silero VAD v6.2.1 MLX
MLX port of snakers4/silero-vad
tag v6.2.1 for voice activity detection on Apple Silicon.
Model
| Field | Value |
|---|---|
| Parameters | 309,121 |
| Quantization | none, Float32 weights |
| Format | MLX safetensors |
| Sample rate | 16 kHz |
| Chunk size | 512 samples, 32 ms |
| Context | 64 samples |
| Upstream | snakers4/silero-vad:v6.2.1 |
Files
| File | Size | Description |
|---|---|---|
model.safetensors |
1.2 MB | MLX weights |
config.json |
456 B | Model metadata and runtime shape config |
README.md |
- | Model card |
Performance
Measured with speech-swift release tests on Apple Silicon using a 20 s
16 kHz speech fixture, 625 streaming chunks.
| Backend | Segment | Latency per chunk | RTF |
|---|---|---|---|
| Silero v6.2.1 MLX | 5.184s-8.416s | 0.4999 ms | 0.01562 |
| Silero v6.2.1 CoreML | 5.184s-8.416s | 0.0630 ms | 0.00197 |
Parity against the matching CoreML v6.2.1 export:
| Metric | Value |
|---|---|
| Max probability diff | 0.060569 |
| Average probability diff | 0.001673 |
The exported safetensors were also checked tensor-by-tensor against the upstream v6.2.1 JIT state dict after conversion; the maximum absolute tensor difference was 0.
Usage
Swift SDK
import SpeechVAD
let vad = try await SileroVADModel.fromPretrained(engine: .mlx)
let segments = vad.detectSpeech(audio: samples, sampleRate: 16000)
CLI
speech vad input.wav
Source
Converted from snakers4/silero-vad
tag v6.2.1. The upstream project is MIT licensed.
Links
- speech-swift - Apple SDK
- Docs - install and CLI docs
- soniqo.audio - website
- blog - blog