Fix chatterbox deps to match official pyproject.toml
Some checks failed
Build ROCm Image / build (push) Failing after 4m21s

- Update transformers to 5.2.0 (required by official chatterbox)
- Add omegaconf (pulled by s3gen/flow.py)
- Install resemble-perth from git source
- Pin safetensors to 0.5.3
- Remove onnx (not a chatterbox dep)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-05 10:34:42 -04:00
parent 7b34b202da
commit 84e87dceb2

View File

@@ -1,21 +1,20 @@
# Audio processing
numpy
numpy>=1.24.0,<2.0.0
soundfile
librosa==0.11.0
pyloudnorm
# ML dependencies (pinned to match chatterbox without overwriting ROCm torch)
transformers==4.46.3
transformers==5.2.0
diffusers==0.29.0
safetensors
safetensors==0.5.3
huggingface-hub
accelerate
omegaconf
# Chatterbox dependencies (installed separately since chatterbox uses --no-deps)
resemble-perth
resemble-perth @ git+https://github.com/resemble-ai/Perth.git@master
conformer==0.3.2
s3tokenizer==0.3.0
onnx==1.16.0
s3tokenizer
spacy-pkuseg
pykakasi==2.3.0