/dev/shm when disk is tight.| Service | Port | GPU | Model | Runtime |
|---|---|---|---|---|
| LLM | 8000 | 0 (shared w/ STT) | ibm-granite/granite-4.1-8b | SGLang |
| STT | 8002 | 0 (shared w/ LLM) | CohereLabs/cohere-transcribe-arabic-07-2026 | vLLM 0.19 |
| TTS | 8003 | 1 (dedicated) | Rabe3/Moss-Saudi-3 | sglang-omni |
1# 1) HF token (write/read for this private repo; also needed for gated STT)
2export HF_TOKEN=hf_...
3
4# 2) Clone this private repo (replace USER with your HF username)
5git clone https://USER:$HF_TOKEN@huggingface.co/USER/vast-voice-stack ~/agent-deploy
6cd ~/agent-deploy
7chmod +x *.sh
8
9# 3) Disk: need ~40G+ free for two CUDA envs, OR leave HF cache on /dev/shm
10# (default in common.sh). Prefer a host volume / larger disk when possible.
11
12# 4) Launch (sequential install — do not parallelize first boot)
13./deploy_all.sh1export HF_TOKEN=hf_... # token for the target account
2./push_to_hf.sh # creates private USER/vast-voice-stack and uploadscurl -sf localhost:8000/health / :8002 / :8003../deploy_all.sh restart-clean./run_locust_ui.sh --local-only # or without flag to expose via Vast portal port 10100llm_ttfb, tts_ttfa, stt_ttfb, pipe_e2e. On this layout TTS is
the concurrency ceiling (~5–6 RPS full-WAV), not the LLM.PIP_NO_CACHE_DIR, shared ~/sglang-env for LLM+TTS, HF cache → /dev/shm/hf_home when overlay is ~32G.uv pip install -e with protobuf override.cohere_asr; prefer local HF snapshot if present.MEM_FRACTION=0.72 (colocated Moss OOM’d at 0.85).MEM_UTIL=0.18 + LLM MEM_FRACTION=0.68.cuda_graph: false.1./run_loadtest.sh # TTS + pipeline concurrency ramp (stream+pcm)
2./run_loadtest.sh pipe # pipeline only
3./run_locust_ui.sh # interactive UI| Variable | Default | Meaning |
|---|---|---|
HF_TOKEN | — | Required for gated STT download |
MODEL | per-script | Override model id or local path |
PORT | 8000/8002/8003 | Bind port |
MEM_FRACTION / MEM_UTIL | see scripts | GPU memory share |
LOG_DIR | ~/agent-logs | Server logs |
common.sh # toolchain, HF home, venvs, omni + Blackwell patches
start_stt.sh / start_llm.sh / start_tts.sh
deploy_all.sh
moss_tts_local_blackwell.yaml # Moss pipeline config for 5090
locustfile.py / run_locust_ui.sh/dev/shm HF cache is lost on reboot — re-download or point HF_HOME at a persistent volume.