Files
esh-pfi-infrastructure/stacks/zonos/.env.example
T
vh 666f7f31e0 stacks: add dia + zonos to the TTS bench
dia: Nari Labs dialogue TTS (Dia 1.6B / Dia2-1B / Dia2-2B) via
devnen/Dia-TTS-Server — OpenAI-compat, fills the multi-speaker
dialogue-scene slot for skaldsong. Port 8200 on irv-ml1.

zonos: Zyphra Zonos-v0.1 (Apache-2.0, 44kHz, emotion sliders) via the
official Gradio interface. Audition surface only — no OpenAI-compat
endpoint yet (needs the FastAPI fork to become skaldsong-pluggable).
Port 8199 on irv-ml1.

Both follow the chatterbox/fish-s2 convention: local image built from a
pinned wrapper SHA via buildx git-context, .env-driven port/GPU, python
healthcheck, homepage labels.
2026-05-31 10:53:27 -07:00

45 lines
2.4 KiB
Bash

# Zonos-v0.1 stack tunables. Copy to `.env` on irv-ml1 before deploying.
# ── build pin ────────────────────────────────────────────────────────
# SHA of Zyphra/Zonos. Use the FULL 40-char SHA — docker buildx's git
# source resolver doesn't accept short hashes. `main` works but is NOT
# reproducible; pin a SHA before you rely on this. Latest commits:
# https://github.com/Zyphra/Zonos/commits/main
ZONOS_SHA=main
# Local image tag — bump when you change build context to force a
# fresh layer build.
ZONOS_TAG=v1
# ── network ──────────────────────────────────────────────────────────
# Host port. Container's Gradio listens on 7860 internally.
# Reserved on irv-ml1: 8188 ComfyUI, 8190 CosyVoice, 8191 Qwen3-TTS,
# 8192 IndexTTS-2, 8193 Kokoro, 8194 VibeVoice, 8195 Fish-S2,
# 8196 Chatterbox, 8197 Voxtral, 8198 Kyutai, 8200 Dia, 8765 Parakeet.
# 8199 picked here.
ZONOS_PORT=8199
# Bind address. 0.0.0.0 exposes on all interfaces (incl. WG tunnel
# interface 10.100.79.3); 127.0.0.1 restricts to local-only.
ZONOS_BIND=0.0.0.0
# ── runtime / GPU ────────────────────────────────────────────────────
# Devices visible inside the container. "0" pins to the RTX 3090
# (24 GB) — plenty for Zonos (~6 GB). Both the 3090 and the A6000 are
# Ampere, so either satisfies the hybrid variant's "3000-series or
# newer" requirement; "1" selects the A6000.
ZONOS_GPU_DEVICES=0
# Model variant is chosen in the Gradio UI / SDK, not via env:
# Zyphra/Zonos-v0.1-transformer — default, ~3.6 GB, no special kernels
# Zyphra/Zonos-v0.1-hybrid — Mamba-SSM hybrid; needs Ampere+ and
# extra build deps (mamba-ssm,
# causal-conv1d) baked by the image
# Start with the transformer variant unless you specifically want hybrid.
# ── persistent storage on the host ───────────────────────────────────
# HuggingFace cache — Zonos weights land here on first start.
# Bind-mounted so they survive container recreate. Excluded from restic
# (regenerable from HF).
ZONOS_CACHE_DIR=/worktank/zonos/cache