Replace resemble-perth with a no-op stub
All checks were successful
Build ROCm Image / build (push) Successful in 17m32s

resemble-perth uses uv-build which is incompatible with the old system
pip in the ROCm base image. Since watermarking is unnecessary for
self-hosted private use, stub out the perth module so chatterbox's
import is satisfied without any build complexity.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-05 11:16:08 -04:00
parent dc7a3cf769
commit de6156a336
3 changed files with 19 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ huggingface-hub
omegaconf
# Chatterbox dependencies (installed separately since chatterbox uses --no-deps)
# Note: resemble-perth is installed in a separate Dockerfile step with --no-build-isolation
# Note: resemble-perth is stubbed out in perth_stub.py (watermarking unneeded for self-hosted use)
conformer==0.3.2
s3tokenizer
spacy-pkuseg