Views
No views yet
| Framework | Latency | Russian | English |
|---|---|---|---|
Python MLX (with mx.compile()) | 15.7ms | 99.6% | 99.9% |
Swift MLX (with compile() + GPU mel) | 14.8ms | 99.5% | 99.9% |
| CoreML GPU | 17ms | 99.7% | 98.6% |
1# Clone the benchmark repo
2git clone https://github.com/beshkenadze/lid-bench
3cd lid-bench/mlx
4
5# Setup
6uv venv && uv pip install mlx numpy soundfile safetensors
7
8# Run
9python ecapa_tdnn_lid.py path/to/audio.wav --benchmark.ckpt → Conv1d axis swap → safetensors[out, in, kernel] → [out, kernel, in] (MLX convention)mlx/convert_ecapa_weights.py in the lid-bench repo.