mars(kittentts): local STT add-on — faster-whisper in the audio side-venv
Telegram voice-note transcription on mars, no cloud: faster-whisper 1.2.1 (ctranslate2 CPU) installed into the SAME kittentts side-venv via stt-requirements.txt (appended by the provisioning unit; input stamp extended). Second auto-patchelf pass RPATHs the newly installed ctranslate2/av binaries. Container env gains PYTHONPATH=/opt/data/kittentts-venv/... so hermes's local-stt provider imports faster-whisper in-process (the image venv is read-only for uid 986, so the built-in lazy installer cannot work there). Validated live: Telegram voice note transcribed on CPU (i5-4460, lang=en, text exact) with the same pins.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# STT add-on pins for the KittenTTS side-venv on mars (faster-whisper CPU).
|
||||
#
|
||||
# APPENDED to hosts/mars/kittentts/requirements.txt by the provisioning unit
|
||||
# (see hermes-agent.nix, KittenTTS section) so ONE venv covers the entire
|
||||
# local-audio stack: TTS (KittenTTS) + STT (faster-whisper). Shares the
|
||||
# numpy/onnxruntime pins already frozen there — no version conflicts.
|
||||
#
|
||||
# faster-whisper runs CTranslate2 on CPU; the tiny/base model (~150 MB)
|
||||
# downloads once from the HF hub then works fully offline. Validated
|
||||
# 2026-09-19 with a live Telegram voice note transcribed on i5-4460 CPU.
|
||||
#
|
||||
# NOTE on av: PyP AV 18.x needs libz/libstdc++ from the host. On NixOS those
|
||||
# come via the nix store — the provisioning unit exports LD_LIBRARY_PATH with
|
||||
# them at runtime (see hermes-agent.nix's kittenttsLDLibraryPath).
|
||||
faster-whisper==1.2.1
|
||||
ctranslate2==4.8.2
|
||||
av==18.1.0
|
||||
Reference in New Issue
Block a user