diff --git a/backend/python/chatterbox/requirements-cpu.txt b/backend/python/chatterbox/requirements-cpu.txt index df4814ac7..998edb42c 100644 --- a/backend/python/chatterbox/requirements-cpu.txt +++ b/backend/python/chatterbox/requirements-cpu.txt @@ -4,6 +4,9 @@ torch torchaudio numpy>=1.24.0,<1.26.0 transformers +# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose +# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build). +omegaconf==2.3.0 # https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289 chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster #chatterbox-tts==0.1.4 \ No newline at end of file diff --git a/backend/python/chatterbox/requirements-cublas12.txt b/backend/python/chatterbox/requirements-cublas12.txt index 70c46d2d5..df9c365aa 100644 --- a/backend/python/chatterbox/requirements-cublas12.txt +++ b/backend/python/chatterbox/requirements-cublas12.txt @@ -2,6 +2,9 @@ torch torchaudio transformers numpy>=1.24.0,<1.26.0 +# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose +# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build). +omegaconf==2.3.0 # https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289 chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster accelerate diff --git a/backend/python/chatterbox/requirements-cublas13.txt b/backend/python/chatterbox/requirements-cublas13.txt index 4ac324c9d..7d06e4c48 100644 --- a/backend/python/chatterbox/requirements-cublas13.txt +++ b/backend/python/chatterbox/requirements-cublas13.txt @@ -3,6 +3,9 @@ torch torchaudio transformers numpy>=1.24.0,<1.26.0 +# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose +# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build). +omegaconf==2.3.0 # https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289 chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster accelerate diff --git a/backend/python/chatterbox/requirements-hipblas.txt b/backend/python/chatterbox/requirements-hipblas.txt index 21705a460..ba2cb0740 100644 --- a/backend/python/chatterbox/requirements-hipblas.txt +++ b/backend/python/chatterbox/requirements-hipblas.txt @@ -3,6 +3,9 @@ torch==2.10.0+rocm7.0 torchaudio==2.10.0+rocm7.0 transformers numpy>=1.24.0,<1.26.0 +# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose +# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build). +omegaconf==2.3.0 # https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289 chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster accelerate diff --git a/backend/python/chatterbox/requirements-intel.txt b/backend/python/chatterbox/requirements-intel.txt index 8aef8f6cd..f99303bb8 100644 --- a/backend/python/chatterbox/requirements-intel.txt +++ b/backend/python/chatterbox/requirements-intel.txt @@ -3,6 +3,9 @@ torch torchaudio transformers numpy>=1.24.0,<1.26.0 +# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose +# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build). +omegaconf==2.3.0 # https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289 chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster accelerate diff --git a/backend/python/chatterbox/requirements-l4t12.txt b/backend/python/chatterbox/requirements-l4t12.txt index e5cea2392..c213ad908 100644 --- a/backend/python/chatterbox/requirements-l4t12.txt +++ b/backend/python/chatterbox/requirements-l4t12.txt @@ -3,5 +3,8 @@ torch torchaudio transformers numpy>=1.24.0,<1.26.0 +# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose +# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build). +omegaconf==2.3.0 chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster accelerate diff --git a/backend/python/chatterbox/requirements-l4t13.txt b/backend/python/chatterbox/requirements-l4t13.txt index 0f6e3e7de..f1f856280 100644 --- a/backend/python/chatterbox/requirements-l4t13.txt +++ b/backend/python/chatterbox/requirements-l4t13.txt @@ -3,5 +3,8 @@ torch torchaudio transformers numpy>=1.24.0,<1.26.0 +# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose +# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build). +omegaconf==2.3.0 chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster accelerate diff --git a/backend/python/chatterbox/requirements-mps.txt b/backend/python/chatterbox/requirements-mps.txt index 620ce159f..86d2b5d8f 100644 --- a/backend/python/chatterbox/requirements-mps.txt +++ b/backend/python/chatterbox/requirements-mps.txt @@ -3,5 +3,8 @@ torchaudio accelerate numpy>=1.24.0,<1.26.0 transformers +# Pin omegaconf so pip doesn't backtrack into 1.x sdists (whose +# ruamel.yaml<0.15 dep has a Python-2-only setup.py and fails to build). +omegaconf==2.3.0 # https://github.com/mudler/LocalAI/pull/6240#issuecomment-3329518289 chatterbox-tts@git+https://git@github.com/mudler/chatterbox.git@faster \ No newline at end of file diff --git a/backend/python/chatterbox/requirements.txt b/backend/python/chatterbox/requirements.txt index b379973f5..55a0867f0 100644 --- a/backend/python/chatterbox/requirements.txt +++ b/backend/python/chatterbox/requirements.txt @@ -3,7 +3,4 @@ protobuf certifi packaging setuptools -poetry -# Pin a modern omegaconf so pip doesn't backtrack to 1.x — old 1.x sdists -# pull ruamel.yaml<0.15 whose setup.py is Python-2-only and fails to build. -omegaconf>=2.0 \ No newline at end of file +poetry \ No newline at end of file