Migrate Lyra Whisper/Piper from Docker to native Wyoming services #50
Labels
No labels
host:electra
host:fleet
host:lyra
host:vega
host:vega
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:declarative-purity-cleanup
project:external-review
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
service:auto-update
service:mem0
service:sillytavern
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config#50
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Replace Lyra's current
/srv/stacks/whisperDocker stack with native NixOS Wyoming services forfaster-whisperandpiper.Acceptance Checklist
services.wyoming.faster-whisperontcp://0.0.0.0:10300.services.wyoming.piperontcp://0.0.0.0:10200.medium.enfor faster-whisper anden_GB-alba-mediumfor piper.faster-whisperon Lyra.10300and10200.Context
This is no longer an exploratory helper-stack question. NixOS has first-class Wyoming modules for both sides of this stack:
services.wyoming.faster-whisperandservices.wyoming.piper. The live compose stack already expresses the intended behavior clearly enough to migrate directly.Guardrails
Initial implementation landed in the repo.
Current state:
modules/services/whisper.nixas a repo-local wrapper aroundservices.wyoming.faster-whisperandservices.wyoming.pipertcp://0.0.0.0:10300,medium.en, CUDA for faster-whisper;tcp://0.0.0.0:10200,en_GB-alba-medium, CPU for pipernix flake checkpassesNext step is host-side cutover on Lyra: rebuild, validate the native units, and stop relying on the Docker whisper stack.
Post-deploy verification on Lyra succeeded.
Verified state:
wyoming-faster-whisper-lyrais active and listening on0.0.0.0:10300wyoming-piper-lyrais active and listening on0.0.0.0:10200describeprobes succeeded against both endpointsfaster-whisperis now running with--device cudafaster-whisperandpipercontainers are not activeThe main issue discovered during cutover was that the default
wyoming-faster-whisperpackage pulled a non-CUDA CTranslate2 build. The repo-local wrapper now overrides it to a CUDA-enabled variant, and the service starts cleanly on Lyra.Remaining work before closing this issue is operational confirmation that the intended clients are using the native endpoints and that the old compose directory can stay as rollback-only state.
Operational confirmation complete: Whisper and Piper are receiving real client calls and processing them successfully through the native Wyoming services on Lyra.
This satisfies the remaining acceptance check that intended clients are using the native endpoints normally. The old compose directory remains on disk as rollback-only state.