Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- New manifest entry `[models.cam_pp_fp32]`. Profiles still resolve to
`wespeaker_resnet34` until M6 swaps them.

### Added (M3 — Clusterer trait + NME-SC)
- `polyvoice::clusterer` module: `Clusterer` trait, `ClustererError`,
`AhcClusterer` (wraps legacy `agglomerative_cluster_auto`), `NmeScClusterer`
(NME-SC with eigengap auto-K, gated `spectral`+`clusterer`).
- New Cargo feature `clusterer` (in default features). The AHC adapter is
wasm32-clean; NME-SC additionally requires the `spectral` feature.
- Integration test on synthetic 4-cluster data (no model required) — runs in
every PR's normal `cargo test` (not `--ignored`).

## [0.5.2] - 2025-05-05

### Added
Expand Down
7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ categories = ["multimedia::audio", "science"]
crate-type = ["cdylib", "rlib"]

[features]
default = ["spectral", "segmentation", "embedder"]
default = ["spectral", "segmentation", "embedder", "clusterer"]
# ONNX-based embedding extractors (pulls ort).
onnx = ["dep:ort"]
# C FFI bindings.
Expand Down Expand Up @@ -41,6 +41,11 @@ segmentation = []
# `ResNet34Adapter` additionally require `onnx`.
embedder = []

# v1.0 Clusterer trait + NME-SC + AHC adapters.
# AHC adapter is wasm32-clean. NME-SC additionally requires `spectral` (which
# pulls `faer`).
clusterer = []

# Model profile bundles. M0 only emits metadata; CLI uses these to pick which
# manifest entries to ensure(). M5 will introduce INT8 model variants.
profile-mobile = []
Expand Down
Loading
Loading