Nemotron 3 Diarization, Core ML, low preset, 8-bit weights
NVIDIA Nemotron 3 Diarization converted to Core ML for streaming speaker diarization on iPhone, with 8-bit weights.
- Preset:
low, 1.04 s look-ahead: chunk 9, right context 4, FIFO 264, speaker cache 264, update period 222. - Size: 99.9 MB, against 198.6 MB at 16 bits.
It is a drop-in for FluidInference's monolithic/v2/Nemotron3Diarizer_low.mlmodelc
(FluidInference/nemotron-3-diarization-coreml):
- the same inputs, outputs, names and shapes;
- FluidAudio's
Nemotron3Config.lowloads it unchanged.
Files
| File | What |
|---|---|
Nemotron3Diarizer_low.mlmodelc | The compiled model: one streaming step (iOS 17+) |
learnable_sil_emb.bin | The model's learned silence embedding, 512 float32 (host side, unchanged) |
convert-low.py | The conversion script |
LICENSE | OpenMDW 1.1 |
How it was made
- Source: the PyTorch model (
nvidia/Nemotron-3-Diarization, transformers 5.23). - One streaming step, written to match FluidInference's
lowgraph:- the speaker cache, FIFO and chunk packed into 541 frames by a one-hot gather;
- the padding masked out of attention;
- RoPE positions 0..540;
- outputs at 80 ms and 10 ms.
- Conversion: coremltools 9.0, iOS 17, 16-bit compute.
- Our 16-bit build is bit-identical to FluidInference's
lowfile on real streaming states.
- Our 16-bit build is bit-identical to FluidInference's
- Then 8-bit weights for the linear and conv layers:
linear_quantize_weights,linear_symmetric, int8, one scale per output channel. Compute stays at 16 bits.
Measured
DiPCo (10 dinner parties, one far device, first 5 minutes each), streamed in 100 ms pieces through FluidAudio v0.17.7 on Apple Silicon:
| DER % | Confusion % | Same top speaker as the 16-bit file | |
|---|---|---|---|
| 16-bit (FluidInference) | 43.84 | 3.03 | - |
| This model | 44.03 | 3.09 | 98.1% |
iPhone 13 (iOS 26.5): 67 ms per 0.72 s step, against 74 ms for the 16-bit file. The same memory (35-37 MB) and the same thermal state.
FluidInference reports the same for their own 8-bit low build on AMI: 26.26% DER against 26.22% at 16 bits.
Licence and origin
- Model: by NVIDIA, nvidia/Nemotron-3-Diarization, under the
OpenMDW License Agreement, version 1.1 (
LICENSE). - Model graph: follows FluidInference's Core ML conversion, FluidInference/nemotron-3-diarization-coreml.
- This conversion: by Clovy, under the same licence.