File tree Expand file tree Collapse file tree
backend/python/chatterbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323
2424
2525installRequirements
26+
27+ # chatterbox-tts upstream pulls `russian-text-stresser` (unpinned git URL) which
28+ # transitively pins spacy==3.6.* and other ancient packages. That cascade forces
29+ # pip to backtrack through Jinja2/MarkupSafe/omegaconf/ruamel.yaml into Python-2-era
30+ # sdists that no longer build. We install chatterbox-tts itself with --no-deps and
31+ # list its real runtime deps in requirements-*.txt instead.
32+ echo " Installing chatterbox-tts with --no-deps"
33+ if [ " x${USE_PIP} " == " xtrue" ]; then
34+ pip install ${EXTRA_PIP_INSTALL_FLAGS:- } --no-deps " chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster"
35+ else
36+ uv pip install ${EXTRA_PIP_INSTALL_FLAGS:- } --no-deps " chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster"
37+ fi
Original file line number Diff line number Diff line change 44torchaudio
55numpy>=1.24.0,<1.26.0
66transformers
7- # Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
8- # ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
7+ # chatterbox-tts itself is installed with --no-deps in install.sh.
8+ # These are its real runtime deps, mirroring upstream's pyproject.toml
9+ # minus russian-text-stresser (whose ancient pins break the resolver).
910omegaconf==2.3.0
10- # https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289
11- chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
12- #chatterbox-tts==0.1.4
11+ resampy==0.4.3
12+ librosa
13+ s3tokenizer
14+ diffusers
15+ resemble-perth==1.0.1
16+ conformer
17+ safetensors
18+ spacy-pkuseg
19+ pykakasi==2.3.0
Original file line number Diff line number Diff line change 22torchaudio
33transformers
44numpy>=1.24.0,<1.26.0
5- # Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
6- # ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
5+ # chatterbox-tts itself is installed with --no-deps in install.sh.
6+ # These are its real runtime deps, mirroring upstream's pyproject.toml
7+ # minus russian-text-stresser (whose ancient pins break the resolver).
78omegaconf==2.3.0
8- # https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289
9- chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
9+ resampy==0.4.3
10+ librosa
11+ s3tokenizer
12+ diffusers
13+ resemble-perth==1.0.1
14+ conformer
15+ safetensors
16+ spacy-pkuseg
17+ pykakasi==2.3.0
1018accelerate
Original file line number Diff line number Diff line change 33torchaudio
44transformers
55numpy>=1.24.0,<1.26.0
6- # Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
7- # ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
6+ # chatterbox-tts itself is installed with --no-deps in install.sh.
7+ # These are its real runtime deps, mirroring upstream's pyproject.toml
8+ # minus russian-text-stresser (whose ancient pins break the resolver).
89omegaconf==2.3.0
9- # https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289
10- chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
10+ resampy==0.4.3
11+ librosa
12+ s3tokenizer
13+ diffusers
14+ resemble-perth==1.0.1
15+ conformer
16+ safetensors
17+ spacy-pkuseg
18+ pykakasi==2.3.0
1119accelerate
Original file line number Diff line number Diff line change @@ -3,9 +3,17 @@ torch==2.10.0+rocm7.0
33torchaudio==2.10.0+rocm7.0
44transformers
55numpy>=1.24.0,<1.26.0
6- # Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
7- # ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
6+ # chatterbox-tts itself is installed with --no-deps in install.sh.
7+ # These are its real runtime deps, mirroring upstream's pyproject.toml
8+ # minus russian-text-stresser (whose ancient pins break the resolver).
89omegaconf==2.3.0
9- # https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289
10- chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
10+ resampy==0.4.3
11+ librosa
12+ s3tokenizer
13+ diffusers
14+ resemble-perth==1.0.1
15+ conformer
16+ safetensors
17+ spacy-pkuseg
18+ pykakasi==2.3.0
1119accelerate
Original file line number Diff line number Diff line change 33torchaudio
44transformers
55numpy>=1.24.0,<1.26.0
6- # Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
7- # ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
6+ # chatterbox-tts itself is installed with --no-deps in install.sh.
7+ # These are its real runtime deps, mirroring upstream's pyproject.toml
8+ # minus russian-text-stresser (whose ancient pins break the resolver).
89omegaconf==2.3.0
9- # https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289
10- chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
10+ resampy==0.4.3
11+ librosa
12+ s3tokenizer
13+ diffusers
14+ resemble-perth==1.0.1
15+ conformer
16+ safetensors
17+ spacy-pkuseg
18+ pykakasi==2.3.0
1119accelerate
1220oneccl_bind_pt==2.3.100+xpu
1321optimum[openvino]
Original file line number Diff line number Diff line change 33torchaudio
44transformers
55numpy>=1.24.0,<1.26.0
6- # Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
7- # ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
6+ # chatterbox-tts itself is installed with --no-deps in install.sh.
7+ # These are its real runtime deps, mirroring upstream's pyproject.toml
8+ # minus russian-text-stresser (whose ancient pins break the resolver).
89omegaconf==2.3.0
9- chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
10+ resampy==0.4.3
11+ librosa
12+ s3tokenizer
13+ diffusers
14+ resemble-perth==1.0.1
15+ conformer
16+ safetensors
17+ spacy-pkuseg
18+ pykakasi==2.3.0
1019accelerate
Original file line number Diff line number Diff line change 33torchaudio
44transformers
55numpy>=1.24.0,<1.26.0
6- # Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
7- # ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
6+ # chatterbox-tts itself is installed with --no-deps in install.sh.
7+ # These are its real runtime deps, mirroring upstream's pyproject.toml
8+ # minus russian-text-stresser (whose ancient pins break the resolver).
89omegaconf==2.3.0
9- chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
10+ resampy==0.4.3
11+ librosa
12+ s3tokenizer
13+ diffusers
14+ resemble-perth==1.0.1
15+ conformer
16+ safetensors
17+ spacy-pkuseg
18+ pykakasi==2.3.0
1019accelerate
Original file line number Diff line number Diff line change @@ -3,8 +3,16 @@ torchaudio
33accelerate
44numpy>=1.24.0,<1.26.0
55transformers
6- # Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose
7- # ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build).
6+ # chatterbox-tts itself is installed with --no-deps in install.sh.
7+ # These are its real runtime deps, mirroring upstream's pyproject.toml
8+ # minus russian-text-stresser (whose ancient pins break the resolver).
89omegaconf==2.3.0
9- # https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289
10- chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster
10+ resampy==0.4.3
11+ librosa
12+ s3tokenizer
13+ diffusers
14+ resemble-perth==1.0.1
15+ conformer
16+ safetensors
17+ spacy-pkuseg
18+ pykakasi==2.3.0
You can’t perform that action at this time.
0 commit comments