Feed aggregator

Internet Starts to Return in Iran After 3-Month Blackout

Wired Security - Tue, 05/26/2026 - 1:31pm
Some internet connectivity is returning in Iran after nearly 90 days offline, web monitoring groups say. But it isn’t clear if the reconnection is permanent.
Categories: Wired Security

Summer Solstice: Everything to Know About the Longest Day of the Year

CNET Feed - Tue, 05/26/2026 - 1:24pm
Get ready to revel in the day that offers the most daylight of the entire year.
Categories: CNET

Show HN: Speakrs Full PyAnnotate pipeline in Rust/ONNX 20-37x times faster macOS

Hacker News - Tue, 05/26/2026 - 1:05pm

Speakrs implements the full pyannote community-1 style diarization pipeline in Rust: segmentation, powerset decode, overlap-add aggregation, binarization, embedding, PLDA, and VBx clustering.

There is no Python runtime in the library path. Inference runs on ONNX Runtime or native CoreML, and the rest of the pipeline stays in Rust.

It is 20x-30x faster on macOS, but only 2-3x faster on linux/cuda (depending on CPU).

Few reasons its faster:

1. Speakrs is using coreml versions of the models. I exported the models specifically to run on coreml. PyAnnote just runs the same the same PyTorch versions through MPS (Metal) on macOS.

2. PyAnnote is not a single model, its a few different models put together in a pipeline, the readme has some info on the full pipeline.

3. Speakrs optimizes the pipeline so different parts can run on CPU, Neural Engine and GPU. Speakrs has a batch mode, where you can run on multiple files at once, doing this also lets you keep CPU/GPU/ANE all fully utilized.

This is why on linux/cuda its not that much faster, PyAnnotate is already optimized to run on cuda, the speed improvements we get on cuda is by running some stuff on cpu while the other stuff runs on the GPU. The speedup on linux will depend on how powerful the CPU is.

There is also a fast mode, that sacrifices some speed for accuracy, that can be up to 50x faster, and for some types of audio doesn't sacrifice that much accuracy. The benchmarks have more info on this.

Comments URL: https://news.ycombinator.com/item?id=48282551

Points: 2

# Comments: 0

Categories: Hacker News

Pages