# Third-party notices Anuvani-Diarization's code is licensed under MIT OR Apache-2.0 (`LICENSE-MIT`, `LICENSE-APACHE`). It contains, ports or links work by others, listed here with their licences. The model weights have their own licences, set by the models they derive from (see the model card): the segmentation network is a fine-tuned derivative of `BUT-FIT/diarizen-wavlm-large-s80-md-v2` and is CC BY-NC 4.0 (non-commercial); the PLDA model (BUT Speech@FIT) and the speaker-embedding network (`pyannote/wespeaker-voxceleb-resnet34-LM`) are CC BY 4.0. ## Code copied or adapted into this project | Upstream | Licence | Where | Licence text | |---|---|---|---| | DiariZen (BUT Speech@FIT), commit 844f555 | MIT | the segmentation network's code, verbatim (`python/anuvani_diar/nn/seg/`; also the frozen release's `hf_port_poc/anuvani_diar_net/`); its VBx and clustering set-up, ported to Rust (`crates/diar-core`) | `LICENSES/third_party/DiariZen-MIT.txt` | | torchaudio 2.1.1 (Facebook, Inc.) | BSD-2-Clause | `kaldi.py` (fbank) and `resample.py`, verbatim; the wav2vec2 building blocks inside DiariZen's code | `LICENSES/third_party/torchaudio-BSD-2-Clause.txt` | | pyannote.audio 3.1.1, DiariZen's fork (CNRS) | MIT | the voiceprint network's fbank, forward and statistics pooling (`voiceprint.py`); window reconstruction and masks, ported to Rust | `LICENSES/third_party/pyannote-audio-MIT.txt` | | WeSpeaker (Shuai Wang), via pyannote.audio | Apache-2.0 | the voiceprint network's ResNet34 (`voiceprint.py`) | `LICENSES/third_party/Apache-2.0.txt` | | VBx (BUT Speech@FIT), via DiariZen's `diarizen/clustering/VBx.py` | Apache-2.0 | variational Bayes clustering, ported to Rust (`crates/diar-core/src/vbx.rs`) | `LICENSES/third_party/Apache-2.0.txt` | | SciPy 1.15.3 (SciPy Developers) | BSD-3-Clause | centroid-linkage AHC and pairwise distances, reimplemented in Rust to give SciPy's exact results | `LICENSES/third_party/scipy-LICENSE.txt` | | NumPy 1.26.4 (NumPy Developers) | BSD-3-Clause | numerical behaviour reproduced in Rust; its OpenBLAS build is bundled (below) | `LICENSES/third_party/numpy-LICENSE.txt` | | python-soundfile 0.14.0 (Bastian Bechtold) | BSD-3-Clause | the sequence of libsndfile calls `sf.read` makes, reproduced in Rust (`crates/diar-audio`) | `LICENSES/third_party/soundfile-LICENSE.txt` | ## Native libraries bundled in the wheel Copied unchanged from the numpy 1.26.4 and soundfile 0.14.0 wheels, each checked by sha256 when it loads; their licence texts are in the wheel (`anuvani_diar/_libs/LICENSES/`, index in its README.txt): | Library | Licence | |---|---| | OpenBLAS 0.3.23.dev (numpy 1.26.4's build) | BSD-3-Clause | | libgfortran 5 | GPL-3.0 with the GCC Runtime Library Exception 3.1 | | libquadmath 0 | LGPL-2.1-or-later | | libsndfile 1.2.2, with FLAC 1.4.3, Ogg 1.3, Vorbis 1.3.7, Opus 1.4, mpg123 1.32.3, LAME 3.100 | LGPL-2.1-or-later (libsndfile, mpg123, LAME); BSD-3-Clause (FLAC, Ogg, Vorbis, Opus) | libsndfile is LGPL: `ANUVANI_DIAR_SNDFILE` (with `ANUVANI_DIAR_SNDFILE_UNCHECKED=1`) runs the engine with another build of it (`docs/WHEEL.md`). The source of the LGPL libraries (libsndfile with its codecs and the script that built it; libquadmath, as the GCC source package it was built from) is in the model repository's `third_party_sources/`, whose README traces each binary to its source. ## Container images the serving kit builds `triton_inference/` builds two images on the user's machine; they are not distributed here. The Triton image starts from `nvcr.io/nvidia/tritonserver:24.10-py3` (NVIDIA Deep Learning Container License) and installs PyTorch and torchaudio 2.1.1 (BSD-3-Clause and BSD-2-Clause) and NVIDIA's cuBLAS and NVRTC wheels (NVIDIA proprietary licence); the service image starts from `ubuntu:22.04` and installs FastAPI and Pydantic (MIT), Starlette and Uvicorn (BSD-3-Clause) and python-multipart (Apache-2.0) (`triton_inference/service/requirements.txt`). ## Rust crates compiled into the wheel and the gateway 97 crates, resolved by `cargo metadata --locked` (`tools/third_party_notices.py`): | Crate | Version | Licence | Licence files | |---|---|---|---| | atomic-waker | 1.1.2 | Apache-2.0 OR MIT | `LICENSES/crates/atomic-waker-1.1.2/` (LICENSE-APACHE, LICENSE-MIT, LICENSE-THIRD-PARTY) | | autocfg | 1.5.1 | Apache-2.0 OR MIT | `LICENSES/crates/autocfg-1.5.1/` (LICENSE-APACHE, LICENSE-MIT) | | axum | 0.8.9 | MIT | `LICENSES/crates/axum-0.8.9/` (LICENSE) | | axum-core | 0.5.6 | MIT | `LICENSES/crates/axum-core-0.5.6/` (LICENSE) | | base64 | 0.23.1 | MIT OR Apache-2.0 | `LICENSES/crates/base64-0.23.1/` (LICENSE-APACHE, LICENSE-MIT) | | block-buffer | 0.10.4 | MIT OR Apache-2.0 | `LICENSES/crates/block-buffer-0.10.4/` (LICENSE-APACHE, LICENSE-MIT) | | bytes | 1.12.1 | MIT | `LICENSES/crates/bytes-1.12.1/` (LICENSE) | | cfg-if | 1.0.5 | MIT OR Apache-2.0 | `LICENSES/crates/cfg-if-1.0.5/` (LICENSE-APACHE, LICENSE-MIT) | | cpufeatures | 0.2.17 | MIT OR Apache-2.0 | `LICENSES/crates/cpufeatures-0.2.17/` (LICENSE-APACHE, LICENSE-MIT) | | crossbeam-deque | 0.8.8 | MIT OR Apache-2.0 | `LICENSES/crates/crossbeam-deque-0.8.8/` (LICENSE-APACHE, LICENSE-MIT) | | crossbeam-epoch | 0.9.21 | MIT OR Apache-2.0 | `LICENSES/crates/crossbeam-epoch-0.9.21/` (LICENSE-APACHE, LICENSE-MIT) | | crossbeam-utils | 0.8.23 | MIT OR Apache-2.0 | `LICENSES/crates/crossbeam-utils-0.8.23/` (LICENSE-APACHE, LICENSE-MIT) | | crunchy | 0.2.4 | MIT | `LICENSES/crates/crunchy-0.2.4/` (LICENSE) | | crypto-common | 0.1.7 | MIT OR Apache-2.0 | `LICENSES/crates/crypto-common-0.1.7/` (LICENSE-APACHE, LICENSE-MIT) | | digest | 0.10.7 | MIT OR Apache-2.0 | `LICENSES/crates/digest-0.10.7/` (LICENSE-APACHE, LICENSE-MIT) | | either | 1.19.0 | MIT OR Apache-2.0 | `LICENSES/crates/either-1.19.0/` (LICENSE-APACHE, LICENSE-MIT) | | errno | 0.3.14 | MIT OR Apache-2.0 | `LICENSES/crates/errno-0.3.14/` (LICENSE-APACHE, LICENSE-MIT) | | form_urlencoded | 1.2.2 | MIT OR Apache-2.0 | `LICENSES/crates/form_urlencoded-1.2.2/` (LICENSE-APACHE, LICENSE-MIT) | | futures-core | 0.3.34 | MIT OR Apache-2.0 | `LICENSES/crates/futures-core-0.3.34/` (LICENSE-APACHE, LICENSE-MIT) | | futures-task | 0.3.34 | MIT OR Apache-2.0 | `LICENSES/crates/futures-task-0.3.34/` (LICENSE-APACHE, LICENSE-MIT) | | futures-util | 0.3.34 | MIT OR Apache-2.0 | `LICENSES/crates/futures-util-0.3.34/` (LICENSE-APACHE, LICENSE-MIT) | | generic-array | 0.14.7 | MIT | `LICENSES/crates/generic-array-0.14.7/` (LICENSE) | | half | 2.7.1 | MIT OR Apache-2.0 | `LICENSES/crates/half-2.7.1/` (LICENSE-APACHE, LICENSE-MIT) | | heck | 0.5.0 | MIT OR Apache-2.0 | `LICENSES/crates/heck-0.5.0/` (LICENSE-APACHE, LICENSE-MIT) | | http | 1.5.0 | MIT OR Apache-2.0 | `LICENSES/crates/http-1.5.0/` (LICENSE-APACHE, LICENSE-MIT) | | http-body | 1.1.0 | MIT | `LICENSES/crates/http-body-1.1.0/` (LICENSE) | | http-body-util | 0.1.5 | MIT | `LICENSES/crates/http-body-util-0.1.5/` (LICENSE) | | httparse | 1.10.1 | MIT OR Apache-2.0 | `LICENSES/crates/httparse-1.10.1/` (LICENSE-APACHE, LICENSE-MIT) | | httpdate | 1.0.3 | MIT OR Apache-2.0 | `LICENSES/crates/httpdate-1.0.3/` (LICENSE-APACHE, LICENSE-MIT) | | hyper | 1.12.0 | MIT | `LICENSES/crates/hyper-1.12.0/` (LICENSE) | | hyper-util | 0.1.21 | MIT | `LICENSES/crates/hyper-util-0.1.21/` (LICENSE) | | itoa | 1.0.18 | MIT OR Apache-2.0 | `LICENSES/crates/itoa-1.0.18/` (LICENSE-APACHE, LICENSE-MIT) | | libc | 0.2.190 | MIT OR Apache-2.0 | `LICENSES/crates/libc-0.2.190/` (LICENSE-APACHE, LICENSE-MIT) | | log | 0.4.34 | MIT OR Apache-2.0 | `LICENSES/crates/log-0.4.34/` (LICENSE-APACHE, LICENSE-MIT) | | matchit | 0.8.4 | MIT AND BSD-3-Clause | `LICENSES/crates/matchit-0.8.4/` (LICENSE, LICENSE.httprouter) | | matrixmultiply | 0.3.11 | MIT/Apache-2.0 | `LICENSES/crates/matrixmultiply-0.3.11/` (LICENSE-APACHE, LICENSE-MIT) | | memchr | 2.8.3 | Unlicense OR MIT | `LICENSES/crates/memchr-2.8.3/` (COPYING, LICENSE-MIT, UNLICENSE) | | mime | 0.3.17 | MIT OR Apache-2.0 | `LICENSES/crates/mime-0.3.17/` (LICENSE-APACHE, LICENSE-MIT) | | mio | 1.2.4 | MIT | `LICENSES/crates/mio-1.2.4/` (LICENSE) | | ndarray | 0.17.2 | MIT OR Apache-2.0 | `LICENSES/crates/ndarray-0.17.2/` (LICENSE-APACHE, LICENSE-MIT) | | num-complex | 0.4.6 | MIT OR Apache-2.0 | `LICENSES/crates/num-complex-0.4.6/` (LICENSE-APACHE, LICENSE-MIT) | | num-integer | 0.1.47 | MIT OR Apache-2.0 | `LICENSES/crates/num-integer-0.1.47/` (LICENSE-APACHE, LICENSE-MIT) | | num-traits | 0.2.19 | MIT OR Apache-2.0 | `LICENSES/crates/num-traits-0.2.19/` (LICENSE-APACHE, LICENSE-MIT) | | numpy | 0.29.0 | BSD-2-Clause | `LICENSES/crates/numpy-0.29.0/` (LICENSE) | | once_cell | 1.21.4 | MIT OR Apache-2.0 | `LICENSES/crates/once_cell-1.21.4/` (LICENSE-APACHE, LICENSE-MIT) | | percent-encoding | 2.3.2 | MIT OR Apache-2.0 | `LICENSES/crates/percent-encoding-2.3.2/` (LICENSE-APACHE, LICENSE-MIT) | | pin-project-lite | 0.2.17 | Apache-2.0 OR MIT | `LICENSES/crates/pin-project-lite-0.2.17/` (LICENSE-APACHE, LICENSE-MIT) | | portable-atomic | 1.15.0 | Apache-2.0 OR MIT | `LICENSES/crates/portable-atomic-1.15.0/` (LICENSE-APACHE, LICENSE-MIT) | | portable-atomic-util | 0.2.8 | Apache-2.0 OR MIT | `LICENSES/crates/portable-atomic-util-0.2.8/` (LICENSE-APACHE, LICENSE-MIT) | | proc-macro2 | 1.0.107 | MIT OR Apache-2.0 | `LICENSES/crates/proc-macro2-1.0.107/` (LICENSE-APACHE, LICENSE-MIT) | | pyo3 | 0.29.3 | MIT OR Apache-2.0 | `LICENSES/crates/pyo3-0.29.3/` (LICENSE-APACHE, LICENSE-MIT) | | pyo3-build-config | 0.29.3 | MIT OR Apache-2.0 | `LICENSES/crates/pyo3-build-config-0.29.3/` (LICENSE-APACHE, LICENSE-MIT) | | pyo3-ffi | 0.29.3 | MIT OR Apache-2.0 | `LICENSES/crates/pyo3-ffi-0.29.3/` (LICENSE-APACHE, LICENSE-MIT) | | pyo3-macros | 0.29.3 | MIT OR Apache-2.0 | `LICENSES/crates/pyo3-macros-0.29.3/` (LICENSE-APACHE, LICENSE-MIT) | | pyo3-macros-backend | 0.29.3 | MIT OR Apache-2.0 | `LICENSES/crates/pyo3-macros-backend-0.29.3/` (LICENSE-APACHE, LICENSE-MIT) | | quote | 1.0.47 | MIT OR Apache-2.0 | `LICENSES/crates/quote-1.0.47/` (LICENSE-APACHE, LICENSE-MIT) | | rawpointer | 0.2.1 | MIT/Apache-2.0 | `LICENSES/crates/rawpointer-0.2.1/` (LICENSE-APACHE, LICENSE-MIT) | | rayon | 1.12.0 | MIT OR Apache-2.0 | `LICENSES/crates/rayon-1.12.0/` (LICENSE-APACHE, LICENSE-MIT) | | rayon-core | 1.13.0 | MIT OR Apache-2.0 | `LICENSES/crates/rayon-core-1.13.0/` (LICENSE-APACHE, LICENSE-MIT) | | rustc-hash | 2.1.3 | Apache-2.0 OR MIT | `LICENSES/crates/rustc-hash-2.1.3/` (LICENSE-APACHE, LICENSE-MIT) | | ryu | 1.0.23 | Apache-2.0 OR BSL-1.0 | `LICENSES/crates/ryu-1.0.23/` (LICENSE-APACHE, LICENSE-BOOST) | | serde | 1.0.229 | MIT OR Apache-2.0 | `LICENSES/crates/serde-1.0.229/` (LICENSE-APACHE, LICENSE-MIT) | | serde_core | 1.0.229 | MIT OR Apache-2.0 | `LICENSES/crates/serde_core-1.0.229/` (LICENSE-APACHE, LICENSE-MIT) | | serde_derive | 1.0.229 | MIT OR Apache-2.0 | `LICENSES/crates/serde_derive-1.0.229/` (LICENSE-APACHE, LICENSE-MIT) | | serde_json | 1.0.151 | MIT OR Apache-2.0 | `LICENSES/crates/serde_json-1.0.151/` (LICENSE-APACHE, LICENSE-MIT) | | serde_path_to_error | 0.1.20 | MIT OR Apache-2.0 | `LICENSES/crates/serde_path_to_error-0.1.20/` (LICENSE-APACHE, LICENSE-MIT) | | serde_urlencoded | 0.7.1 | MIT/Apache-2.0 | `LICENSES/crates/serde_urlencoded-0.7.1/` (LICENSE-APACHE, LICENSE-MIT) | | sha2 | 0.10.9 | MIT OR Apache-2.0 | `LICENSES/crates/sha2-0.10.9/` (LICENSE-APACHE, LICENSE-MIT) | | signal-hook-registry | 1.4.8 | MIT OR Apache-2.0 | `LICENSES/crates/signal-hook-registry-1.4.8/` (LICENSE-APACHE, LICENSE-MIT) | | slab | 0.4.12 | MIT | `LICENSES/crates/slab-0.4.12/` (LICENSE) | | smallvec | 1.16.2 | MIT OR Apache-2.0 | `LICENSES/crates/smallvec-1.16.2/` (LICENSE-APACHE, LICENSE-MIT) | | socket2 | 0.6.5 | MIT OR Apache-2.0 | `LICENSES/crates/socket2-0.6.5/` (LICENSE-APACHE, LICENSE-MIT) | | syn | 2.0.119 | MIT OR Apache-2.0 | `LICENSES/crates/syn-2.0.119/` (LICENSE-APACHE, LICENSE-MIT) | | syn | 3.0.6 | MIT OR Apache-2.0 | `LICENSES/crates/syn-3.0.6/` (LICENSE-APACHE, LICENSE-MIT) | | sync_wrapper | 1.0.2 | Apache-2.0 | `LICENSES/crates/sync_wrapper-1.0.2/` (LICENSE) | | target-lexicon | 0.13.5 | Apache-2.0 WITH LLVM-exception | `LICENSES/crates/target-lexicon-0.13.5/` (LICENSE) | | thiserror | 2.0.21 | MIT OR Apache-2.0 | `LICENSES/crates/thiserror-2.0.21/` (LICENSE-APACHE, LICENSE-MIT) | | thiserror-impl | 2.0.21 | MIT OR Apache-2.0 | `LICENSES/crates/thiserror-impl-2.0.21/` (LICENSE-APACHE, LICENSE-MIT) | | tokio | 1.53.2 | MIT | `LICENSES/crates/tokio-1.53.2/` (LICENSE) | | tokio-macros | 2.7.2 | MIT | `LICENSES/crates/tokio-macros-2.7.2/` (LICENSE) | | tower | 0.5.3 | MIT | `LICENSES/crates/tower-0.5.3/` (LICENSE) | | tower-layer | 0.3.3 | MIT | `LICENSES/crates/tower-layer-0.3.3/` (LICENSE) | | tower-service | 0.3.3 | MIT | `LICENSES/crates/tower-service-0.3.3/` (LICENSE) | | tracing | 0.1.44 | MIT | `LICENSES/crates/tracing-0.1.44/` (LICENSE) | | tracing-core | 0.1.36 | MIT | `LICENSES/crates/tracing-core-0.1.36/` (LICENSE) | | typenum | 1.20.1 | MIT OR Apache-2.0 | `LICENSES/crates/typenum-1.20.1/` (LICENSE, LICENSE-APACHE, LICENSE-MIT) | | unicode-ident | 1.0.26 | (MIT OR Apache-2.0) AND Unicode-3.0 | `LICENSES/crates/unicode-ident-1.0.26/` (LICENSE-APACHE, LICENSE-MIT, LICENSE-UNICODE) | | ureq | 3.4.2 | MIT OR Apache-2.0 | `LICENSES/crates/ureq-3.4.2/` (LICENSE-APACHE, LICENSE-MIT) | | ureq-proto | 0.6.4 | MIT OR Apache-2.0 | `LICENSES/crates/ureq-proto-0.6.4/` (LICENSE-APACHE.txt, LICENSE-MIT.txt) | | utf8-zero | 0.8.1 | MIT OR Apache-2.0 | `LICENSES/crates/utf8-zero-0.8.1/` (LICENSE-APACHE, LICENSE-MIT) | | version_check | 0.9.5 | MIT/Apache-2.0 | `LICENSES/crates/version_check-0.9.5/` (LICENSE-APACHE, LICENSE-MIT) | | wasi | 0.11.1+wasi-snapshot-preview1 | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT | `LICENSES/crates/wasi-0.11.1+wasi-snapshot-preview1/` (LICENSE-APACHE, LICENSE-Apache-2.0_WITH_LLVM-exception, LICENSE-MIT) | | windows-link | 0.2.1 | MIT OR Apache-2.0 | `LICENSES/crates/windows-link-0.2.1/` (license-apache-2.0, license-mit) | | windows-sys | 0.61.2 | MIT OR Apache-2.0 | `LICENSES/crates/windows-sys-0.61.2/` (license-apache-2.0, license-mit) | | zerocopy | 0.8.61 | BSD-2-Clause OR Apache-2.0 OR MIT | `LICENSES/crates/zerocopy-0.8.61/` (LICENSE-APACHE, LICENSE-BSD, LICENSE-MIT) | | zerocopy-derive | 0.8.61 | BSD-2-Clause OR Apache-2.0 OR MIT | `LICENSES/crates/zerocopy-derive-0.8.61/` (LICENSE-APACHE, LICENSE-BSD, LICENSE-MIT) | | zmij | 1.0.23 | MIT | `LICENSES/crates/zmij-1.0.23/` (LICENSE-MIT) |