This project includes bundled third-party components under vendor/ and also
contains code adapted/referenced from external open-source projects.
- Upstream: https://github.com/ggml-org/ggml
- Local path:
vendor/ggml(auto-cloned by the build if absent) - Usage in this project: core dependency — the tensor compute library that backs the LLM, Flow (DiT), and HiFT inference and all accelerator backends (CUDA / Metal / Vulkan / SYCL). GGML is the foundation split out of the llama.cpp project.
- Local modifications: none — the tree is used as unmodified upstream code.
- Upstream copyright: Copyright (C) 2020-2026 Georgi Gerganov and GGML contributors
- License: MIT
- License text location:
LICENSEat the root of the upstream repository (it ships with the upstream clone the build fetches).vendor/ggml/is git-ignored and may be a shallow local copy without the LICENSE file — if you redistribute, restore the full upstream tree (deletevendor/ggmland let CMake re-clone) and ship the MIT text with your binary.
- Upstream: https://github.com/ggml-org/llama.cpp
- Usage in this project: tokenizer implementation is adapted/modified from llama.cpp
- Upstream copyright: Copyright (c) 2023-2026 The llama.cpp developers
- License: MIT
- Note: the runtime compute library (GGML) shipped alongside llama.cpp is listed in its own section above.
- Upstream: https://github.com/microsoft/onnxruntime
- Usage in this project: frontend speech pipeline (SpeechTokenizer +
CampPlus speaker embedding) via the C API; prebuilt binaries are fetched
into
<build>/_deps/onnxruntimeat configure time or supplied viaORT_PREBUILT_DIR. - License: MIT
- License text location:
LICENSEin the released ONNX Runtime package (also at https://github.com/microsoft/onnxruntime/blob/main/LICENSE)
- Upstream: https://github.com/unicode-org/icu
- Usage in this project: optional text normalization frontend; prebuilt
binaries are fetched into
<build>/_deps/icuor supplied viaICU_PREBUILT_DIR. Disable with-DCOSYVOICE_NO_ICU=ON. - License: Unicode License v3 (permissive, MIT-style)
- License text location: https://www.unicode.org/license.txt
- Upstream: https://github.com/simd-everywhere/simde
- Usage in this project: optional header-only dependency that emulates the
SSE4.2+FMA3 SIMD tier on non-x86 ISAs (ARM64/NEON); auto-detected or
supplied via
SIMDE_INCLUDE_DIR. x86 builds never use it. - License: MIT
- License text location: https://github.com/simd-everywhere/simde/blob/master/COPYING
- Upstream: https://github.com/mackron/miniaudio
- Local path:
vendor/miniaudio/miniaudio.h - License: dual-licensed by upstream as Public Domain (The Unlicense) or MIT No Attribution (MIT-0 style text)
- License text location: embedded at the end of
vendor/miniaudio/miniaudio.h
- Upstream: https://github.com/PCRE2Project/pcre2
- Local path:
vendor/pcre2 - License: BSD-3-Clause WITH PCRE2-exception
- License text location:
vendor/pcre2/LICENCE.md
PCRE2 documents that deps/sljit carries its own license when present.
If your local PCRE2 source includes that directory, ensure the corresponding
license file is retained and distributed.
- Upstream: https://github.com/mborgerding/kissfft
- Local usage:
src/fft.cpp,src/fft.h - Usage in this project: FFT core logic references/adapts the KissFFT mixed-radix design; SIMD optimization/integration is implemented in this project.
- Upstream copyright: Copyright (c) 2003-2010 Mark Borgerding
- License: BSD-3-Clause
- License text location: https://github.com/mborgerding/kissfft/blob/master/COPYING
- Upstream: https://github.com/yhirose/cpp-httplib
- Local path:
vendor/cpp-httplib - License: MIT
- License text location: header comment in
vendor/cpp-httplib/httplib.h
- Upstream: https://github.com/nlohmann/json
- Local path:
vendor/nlohmann - License: MIT
- License text location: header comment in
vendor/nlohmann/json.hpp
- Upstream: http://gruntthepeon.free.fr/ssemath/ (Julien Pommier)
- Local usage:
src/simd-math.h - Usage in this project: the polynomial approximations for log/log10/sin/cos follow the Cephes-derived algorithms popularized by sse_mathfun.h / AVX_mathfun.h; re-implemented in this project on top of portable SSE/AVX intrinsics (also usable via SIMDe on ARM64).
- License: zlib
- License text location: https://zlib.net/zlib_license.html
- Upstream: https://ffmpeg.org
- Usage in this project: optional runtime dependency (
COSYVOICE_AUDIO_BACKEND=FFMPEG) for multi-format audio encoding/decoding; dynamically linked when selected. - License: LGPL-2.1+ or GPL-2.0+ depending on the build configuration used.
- See
FFmpeg-NOTICE.mdfor details and the exact build license surface.