From c4d28a5edd4719d2572f826679a3b8eadad0f7d6 Mon Sep 17 00:00:00 2001 From: BadStorm Developer Date: Sat, 12 Sep 2026 23:54:16 +0200 Subject: [PATCH] fix(chatterbox): install chatterbox-tts with --no-deps to protect ROCm torch --- containers/chatterbox/chatterbox.Containerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/containers/chatterbox/chatterbox.Containerfile b/containers/chatterbox/chatterbox.Containerfile index 9bb88b3..584f8ae 100644 --- a/containers/chatterbox/chatterbox.Containerfile +++ b/containers/chatterbox/chatterbox.Containerfile @@ -26,8 +26,12 @@ RUN if [ "$DEVICE" = "cpu" ]; then \ pip install --no-cache-dir torch torchaudio --index-url https://download.pytorch.org/whl/cpu; \ fi -# Install chatterbox-tts and a minimal API server -RUN pip install --no-cache-dir chatterbox-tts fastapi uvicorn python-multipart soundfile +RUN pip install --no-cache-dir --no-deps chatterbox-tts \ + && pip install --no-cache-dir \ + numpy librosa==0.11.0 s3tokenizer transformers==5.2.0 diffusers==0.29.0 \ + resemble-perth conformer==0.3.2 safetensors==0.5.3 spacy-pkuseg \ + pykakasi==2.3.0 gradio==6.8.0 pyloudnorm omegaconf \ + fastapi uvicorn python-multipart soundfile # Models download at runtime here — mount as a volume to persist them RUN mkdir -p /app/models