You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like to run all of these services from docker. I use a DGX Spark which has arm processor, so would hope you support that. Lllama.cpp runs great on DGX Spark.
Project here look nice. Currently I mix a Danish "hviske" for STT and Omnivoice for TTS, but am looking for more streamlined approach.
Docker usage will be added. Note that current server in release-0.1 is POC. We will update the server and release the new notes. The instructions below are just for the release-0.1 server.
Running audiocpp_server in Docker
This runbook runs the current audiocpp_server binary inside a CUDA
Docker runtime image. The repository is mounted read-only into the container, so
the server uses the exact local build/ binary and local model assets.
The commands below assume your normal CMake/CUDA build environment is already
active and Docker is configured with NVIDIA Container Toolkit.
0. Verify Docker GPU Access
Check Docker GPU access before building or starting the server:
docker run --rm --gpus all nvidia/cuda:12.9.0-runtime-ubuntu24.04 nvidia-smi
If this fails with could not select device driver "" with capabilities: [[gpu]], Docker is not configured with the NVIDIA container runtime yet.
Configure NVIDIA Container Toolkit first, then rerun the same command.
Do not replace --gpus all with manual driver-library mounts in normal usage.
5. Wait for Health
The first request can arrive before model loading finishes, so use a retry loop:
foriin$(seq 1 30);doif curl -fsS http://127.0.0.1:18080/health;thenechoexit 0
fi
sleep 1
doneecho"server did not become healthy">&2
docker logs audiocpp-server-smoke >&2exit 1
This is the validated response for the checked-in assets/resources/sample_16k.wav
smoke input.
8. Stop the Smoke Server
docker rm -f audiocpp-server-smoke
Using Other Models
For larger models, keep the same Docker image and server command, but change build/docker-server-smoke/server.json to point at the model path as it appears
inside the container. For example, if the repo-local models/ directory is
mounted through /workspace, use paths like:
"path": "/workspace/models/Qwen3-ASR-0.6B"
If models live outside the repo, mount them explicitly and use that container
path in server.json, for example:
Activity
0xShug0 commentedon Jun 26, 2026
Docker usage will be added. Note that current server in release-0.1 is POC. We will update the server and release the new notes. The instructions below are just for the release-0.1 server.
Running
audiocpp_serverin DockerThis runbook runs the current
audiocpp_serverbinary inside a CUDADocker runtime image. The repository is mounted read-only into the container, so
the server uses the exact local
build/binary and local model assets.The commands below assume your normal CMake/CUDA build environment is already
active and Docker is configured with NVIDIA Container Toolkit.
0. Verify Docker GPU Access
Check Docker GPU access before building or starting the server:
If this fails with
could not select device driver "" with capabilities: [[gpu]], Docker is not configured with the NVIDIA container runtime yet.Configure NVIDIA Container Toolkit first, then rerun the same command.
1. Build the Server
Use the same CUDA build tree as the README:
The server binary should exist at:
2. Create a Smoke-Test Config
This config uses the checked-in Silero VAD asset so the server can be tested
without downloading a large model:
hostmust be0.0.0.0inside Docker. Binding to127.0.0.1would make theserver listen only inside the container.
3. Build the Runtime Image
Build the small runtime image from stdin. This sends only the Dockerfile text to
Docker, not the repository,
build/, or model directories:4. Start the Server
Start the server with the standard NVIDIA Docker runtime path:
Do not replace
--gpus allwith manual driver-library mounts in normal usage.5. Wait for Health
The first request can arrive before model loading finishes, so use a retry loop:
Expected response:
{"status":"ok","backend":"cuda","models":1}6. Verify the Registered Model
Expected response:
{"object":"list","data":[{"id":"silero-vad","object":"model","owned_by":"engine","family":"silero_vad","task":"vad","mode":"offline"}]}7. Run a Real Task Request
Expected response shape:
{"segments":[{"start_sample":6688,"end_sample":33760,"confidence":1},{"start_sample":47136,"end_sample":81376,"confidence":1},{"start_sample":94240,"end_sample":156640,"confidence":1},{"start_sample":170528,"end_sample":222176,"confidence":1}]}This is the validated response for the checked-in
assets/resources/sample_16k.wavsmoke input.
8. Stop the Smoke Server
Using Other Models
For larger models, keep the same Docker image and server command, but change
build/docker-server-smoke/server.jsonto point at the model path as it appearsinside the container. For example, if the repo-local
models/directory ismounted through
/workspace, use paths like:If models live outside the repo, mount them explicitly and use that container
path in
server.json, for example:easyjoh commentedon Jun 27, 2026
@0xShug0, on DGX Spark I normally run llama.cpp with cuda 13. Any troubles for audio.cpp for cuda 13 support?
0xShug0 commentedon Jun 27, 2026
@easyjoh audio.cpp uses ggml’s CUDA backend, so CUDA 13 should be in the same general compatibility area as recent llama.cpp/ggml CUDA builds.
#1 repository of the day badge!
docs: checkpoint re-steer to plan v7 (one plan, ledger, lessons, nort…
0xShug0#1 for voice 1 and 0xShug0#2 for voice 2
add DTMF for 0xShug0#1 0xShug0#2