#782·laya

[bug]: Diarization ~10× slower after polyvoice 0.21 (tract embeddings, #358)

Author: sh1manCreated Sep 30, 2026Updated Sep 30, 2026
Labelsbug

What happened

After #358 (polyvoice 0.19 → 0.21), speaker embeddings run on tract instead of ort. Speaker labels do not change, but diarization takes about 10× longer on CPU.

Setup: 20 labeled recordings, 42 min total, 2–6 speakers. --pool-size 1,
Ryzen 9 9950X3D. The only difference between the two builds is the polyvoice version.

Steps to reproduce

python
REST ?diarization=true

Relevant logs or traceback

bash

Laya version

latest

Python version

3.12.4

Operating system

Linux

Device or backend

None

Before submitting

  • I searched the existing issues and this is not a duplicate.
  • I reproduced this on the latest main.