vibevoice + chatterbox: fix build refs (full 40-char SHA + chatterbox dockerfile path)

Both deploys failed against irv-ml1 today with upstream-changed-on-us
errors:

* vibevoice: VIBEVOICE_SHA=7614c469a145 (12-char short) made docker
  buildx report "repository does not contain ref 7614c469a145" — same
  commit IS still HEAD of main, but buildx's git source resolver
  doesn't accept short hashes even when unambiguous. Now full 40-char.

* chatterbox: dockerfile: docker/Dockerfile.gpu — devnen restructured
  the repo to put Dockerfiles at root, renamed by CUDA version
  (Dockerfile.cu128, .cpu, .rocm). Switched to Dockerfile.cu128 (GPU
  build for CUDA 12.8 toolkit; works on irv-ml1's 595.58.03 driver).
  Also pinned CHATTERBOX_SHA to a full 40-char SHA instead of `main`
  so future upstream churn doesn't break the deploy without warning.

Live host .env files patched directly (the playbook only seeds .env
when absent, so canonical edits don't propagate to existing installs).
This commit is contained in:
vh
2026-04-27 15:26:43 -07:00
parent e0a33d0b33
commit 4263af9683
3 changed files with 15 additions and 6 deletions
+5 -3
View File
@@ -3,9 +3,11 @@
# ── build pin ────────────────────────────────────────────────────────
# SHA of devnen/Chatterbox-TTS-Server. Bump + rebuild when you want
# upstream wrapper updates. Pin a SHA — the wrapper has no tagged
# releases yet.
CHATTERBOX_SHA=main
# upstream wrapper updates. Use the FULL 40-char SHA — docker buildx's
# git source resolver doesn't accept short hashes. Pinning to a SHA
# (rather than `main`) protects against upstream churn — the previous
# `main` value broke when devnen restructured docker/ paths in repo.
CHATTERBOX_SHA=68213e75c248f4f4bbd185f7c20ec02722fdc79b
# Local image tag — bump when you change build context to force a
# fresh layer build.
+6 -1
View File
@@ -24,7 +24,12 @@ services:
image: local/chatterbox:${CHATTERBOX_TAG}
build:
context: https://github.com/devnen/Chatterbox-TTS-Server.git#${CHATTERBOX_SHA}
dockerfile: docker/Dockerfile.gpu
# Upstream moved Dockerfiles from docker/ to repo root and renamed
# them by CUDA version (Dockerfile.cu128, .cpu, .rocm). The old
# `docker/Dockerfile.gpu` is gone. cu128 is the GPU build for
# CUDA 12.8 — fits irv-ml1's 595.58.03 driver (CUDA 13.2 capable,
# backward-compatible to 12.8 toolkit-built images).
dockerfile: Dockerfile.cu128
container_name: chatterbox
restart: unless-stopped
runtime: nvidia
+4 -2
View File
@@ -4,8 +4,10 @@
# ── build pin ────────────────────────────────────────────────────────
# SHA of groxaxo/VibeVoice-FastAPI1 (a more current fork of
# ncoder-ai/VibeVoice-FastAPI). Bump + rebuild when you want upstream
# wrapper updates.
VIBEVOICE_SHA=7614c469a145
# wrapper updates. Use the FULL 40-char SHA — docker buildx's git
# source resolver doesn't accept short hashes, even when they're
# unambiguous (it errors with "repository does not contain ref X").
VIBEVOICE_SHA=7614c469a145dafc30b1fd5f6a6046ea831dbd6a
# Local image tag — bump when you change build context to force a
# fresh layer build.