# Kyutai TTS stack tunables. Copy to `.env` on irv-ml1 before
# deploying.

# ── build pin ────────────────────────────────────────────────────────
# SHA of NillPointer/Kyutai-TTS-Server to build from. Use the FULL
# 40-char SHA — docker buildx's git source resolver doesn't accept
# short hashes.
KYUTAI_TTS_SHA=main

# Local image tag — bump when you change build context to force a
# fresh layer build.
KYUTAI_TTS_TAG=v1

# Kyutai model on HF. Available variants:
#   kyutai/tts-1.6b-en_fr — bilingual EN/FR, 1.6B params (default)
#   kyutai/pocket-tts     — 100M, CPU-realtime, EN-only (lighter alt)
KYUTAI_TTS_MODEL=kyutai/tts-1.6b-en_fr

# ── network ──────────────────────────────────────────────────────────
KYUTAI_TTS_PORT=8198
KYUTAI_TTS_BIND=0.0.0.0

# ── runtime / GPU ────────────────────────────────────────────────────
# GPU pinning. "0" = RTX 3090 (24 GB), "1" = RTX A6000 (48 GB).
# 1.6B Kyutai needs ~4-6 GB practical, fits comfortably on either.
# Pinned to GPU 0 (3090) by default since the A6000 is hosting the
# heavier Fish S2-Pro / Voxtral.
KYUTAI_TTS_GPU_DEVICES=0

# ── persistent storage on the host ───────────────────────────────────
KYUTAI_TTS_CACHE_DIR=/worktank/kyutai-tts/hf_cache
KYUTAI_TTS_VOICES_DIR=/worktank/kyutai-tts/voices
