Skip to content

The Unmute workflow starts on a real host - #328

Merged
mattshax merged 1 commit into
mainfrom
unmute-workflow-fixes
Sep 8, 2026
Merged

The Unmute workflow starts on a real host#328
mattshax merged 1 commit into
mainfrom
unmute-workflow-fixes

Conversation

@mattshax

@mattshax mattshax commented Sep 8, 2026

Copy link
Copy Markdown
Member

Brought up on a two-GPU node (one busy card, one free 6 GB card). Three things the upstream compose assumed were not true there:

  • The speech services' start script runs uvx hf auth login --token $HUGGING_FACE_HUB_TOKEN unconditionally and dies on an empty token, although the Kyutai STT/TTS weights and stock voices are public (gated: false). A Studio start script mounted over the image's makes the login optional.
  • GPU reservations by CDI device name failed on a stale CDI spec (/dev/dri/card2 missing). Services are pinned by NVIDIA-runtime device index instead, with separate stt_gpu / tts_gpu inputs so the two can be split across cards (STT ~2.5 GB, TTS ~5.3 GB).
  • The backend reaches a Studio running on the host through host.docker.internal (host-gateway).

The compiled moshi-server lives in a named volume so only the first start builds it (about 90 s here with a warm crate cache). Verified: STT healthy on the 6 GB card at 2,516 MiB. Workflow-only.

Brought up on a two-GPU node. Three things the upstream compose assumed
were not true there: the speech services' start script logs into
Hugging Face unconditionally and dies on an empty token, though the
weights and stock voices are public, so the login is now optional; GPU
reservations by CDI name failed on a stale device spec, so services are
pinned by NVIDIA runtime device index, with separate inputs for the STT
and TTS cards so the two can be split across GPUs; and the backend
reaches a Studio on the host through host.docker.internal. The compiled
moshi-server lives in a named volume so only the first start builds it.
Verified: STT healthy on a 6 GB card at about 2.5 GB.
@mattshax
mattshax merged commit d41236a into main Sep 8, 2026
1 check passed
@mattshax
mattshax deleted the unmute-workflow-fixes branch September 8, 2026 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant