Nemotron-3-Diarization β€” CoreML

CoreML builds of nvidia/Nemotron-3-Diarization, a streaming speaker diarization model for up to 8 speakers, for macOS on Apple silicon.

  • Default bundle: runs entirely on the Apple Neural Engine. It streams the model card's Low latency configuration at 42Γ— real time on an M2 Pro, 7Γ— faster than the original PyTorch implementation, with the same diarization accuracy.
  • GPU fp32 bundles: step-for-step identical to the original.

Runtime, conversion code and tests: github.com/predict-woo/nemotron-diarization-coreml

Live streaming speed

Files

Path Runs on Live speed (vs original) Memory Accuracy
Nemotron3Diarization/ Neural Engine, fp16 42.4Γ— (7.0Γ—) 0.6 GB same DER as the original
Nemotron3Diarization-gpu/ GPU, fp32 24.9Γ— (4.1Γ—) 2.4 GB identical
Nemotron3Diarization-gpu-compact/ GPU, fp32 19.2Γ— (3.2Γ—) 0.8 GB identical
coreml/*.mlpackage β€” β€” β€” source packages of the three encoders

Speeds are for an M2 Pro on battery, Low latency mode (1.04 s), 563.5 s of audio. The original runs at 6.0Γ—.

Each bundle is self-contained, in the layout the Swift runtime reads:

File Contents
Encoder.mlmodelc Compiled encoder step: one function per length bucket (len_<L>)
window.f32, mel_filters.f32 Log-mel front-end constants
stacking_weight.f32, silence_embeds.f32 Feature-stacking projection and the speaker cache's silence embedding
config.json Model layout, buckets and streaming parameters

The first launch on a machine compiles the Neural Engine model (~75 s). macOS caches it, and later launches take ~0.5 s.

Usage

git clone https://github.com/predict-woo/nemotron-diarization-coreml && cd nemotron-diarization-coreml
hf download predict-woo/Nemotron-3-Diarization-CoreML --include "Nemotron3Diarization/*" --local-dir models
swift build -c release
.build/release/nemotron-diarize live            # who is speaking into the microphone, live
.build/release/nemotron-diarize meeting.wav     # diarize a file (-f rttm for RTTM)

The live view shows a scrolling timeline per speaker and logs each turn as it ends:

nemotron-diarize live

From Swift, add the package https://github.com/predict-woo/nemotron-diarization-coreml:

import NemotronDiarization

let diarizer = try StreamingDiarizer(bundleURL: modelURL, mode: .lowLatency)
try diarizer.warmUp()
for block in microphoneBlocks {                       // 16 kHz mono Float32, any block size
    let out = try diarizer.push(block)
    handle(out.probabilities, frames: out.numFrames)  // numFrames Γ— 8, one row per 10 ms
}
let tail = try diarizer.finish()

The encoder needs the runtime around it: the front end, the chunk schedule and the speaker cache, all in the GitHub repository. Each streaming step encodes [speaker cache, FIFO, chunk + look-ahead] (up to 541 frames of 80 ms) and updates the cache from the step's own outputs.

Accuracy

On 8 synthetic meetings (2–8 speakers) with ground-truth speaker turns, the Neural Engine build's diarization error rate is 8.27%, against 8.23% for the original PyTorch model. Across 20 recordings, 99.8% of 10 ms frames get the same speakers as in the original's output. The fp16 differences come mostly from the speaker cache sometimes keeping different, equally good frames.

The GPU fp32 bundles match the original exactly: the same speaker cache at every step and the same speakers on every frame, on all 20 recordings.

Diarization error rate

Model I/O (coreml/)

Package Inputs Output
encoder_ane.mlpackage (fp16, Neural Engine) sequence (1, 512, 1, L), key_bias (1, L, 1, 1), valid (1, 1, 1, L) logits (1, 8, 8, L)
encoder_fp32_buckets.mlpackage, encoder_fp32_576.mlpackage (fp32, GPU) sequence (1, L, 512), key_bias (1, 1, 1, L) logits (1, 8L, 8)
  • L is the function's bucket length. Inputs are zero-padded to L.
  • key_bias is 0 on valid positions and -1e4 on padding.
  • logits are 10 ms speaker logits for every position.

License

The weights are NVIDIA's Nemotron-3-Diarization, converted to CoreML, and are distributed under the OpenMDW License Agreement 1.1. The runtime and conversion code are Apache-2.0.

If you use this model, please cite the original:

@misc{medennikov2026nemotron3diarization,
  title={Nemotron 3 Diarization: Advancing the Accuracy-Efficiency Frontier in Streaming Speaker Diarization},
  author={Ivan Medennikov and Taejin Park and Tatiana Timofeeva and He Huang and Alexander Polok and Sofia Kostandian and Weiqing Wang and Dongji Gao and Jagadeesh Balam and Boris Ginsburg},
  year={2026},
  eprint={2611.12246},
  archivePrefix={arXiv},
  primaryClass={eess.AS},
  url={https://arxiv.org/abs/2611.12246}
}
Downloads last month
33
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for predict-woo/Nemotron-3-Diarization-CoreML

Quantized
(47)
this model

Paper for predict-woo/Nemotron-3-Diarization-CoreML