aboutsummaryrefslogtreecommitdiff
path: root/app/docs/backend-audiocpp.md
diff options
context:
space:
mode:
authorhistoria <historiavg@proton.me>2026-08-25 17:41:58 -0400
committerhistoria <historiavg@proton.me>2026-08-25 17:41:58 -0400
commitbcac6c42eaf9e004716d72960bddefb1db68a93c (patch)
treeaa9a32b20b67c927be11565f6788ed589c1d5f54 /app/docs/backend-audiocpp.md
parent60dadfba145cefd35bced0634949172112da3691 (diff)
downloadtts-audiobook-generator-bcac6c42eaf9e004716d72960bddefb1db68a93c.tar.gz
fix: build audio.cpp with --deployment-build
Diffstat (limited to 'app/docs/backend-audiocpp.md')
-rw-r--r--app/docs/backend-audiocpp.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/docs/backend-audiocpp.md b/app/docs/backend-audiocpp.md
index 926dc6a..318e629 100644
--- a/app/docs/backend-audiocpp.md
+++ b/app/docs/backend-audiocpp.md
@@ -15,9 +15,11 @@ Download and build `audiocpp_server` for your platform and backend `(cuda, vulka
```bash
git clone https://github.com/0xShug0/audio.cpp
cd audio.cpp
-scripts/build_linux.sh --backend cuda --target audiocpp_server
+scripts/build_linux.sh --backend cuda --target audiocpp_server --deployment-build
```
+`--deployment-build` compiles the `model_specs/` catalog into the binary so every family resolves its model contract even when the server is started outside the checkout (GGUF packages whose embedded spec is legacy, such as today's Qwen3-TTS ones, otherwise need `model_specs/<family>.json` found relative to the working directory). The macOS script takes the same flag; the Windows PowerShell scripts take `-DeploymentBuild`.
+
### Install models
Download model packages with the python model manager script from the audio.cpp checkout. Each installs to `./models`. Here are two examples, Higgs Audio and Qwen3-TTS: