From 134ea1a37b3cd097317c5c40effa367aeabc794c Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Fri, 18 Oct 2024 10:31:21 +0200 Subject: [PATCH] fix(dependencies): move deps that brings pytorch (#3873) * fix(dependencies): move deps that brings pytorch Signed-off-by: Ettore Di Giacinto * chore(deps): pin llvmlite Signed-off-by: Ettore Di Giacinto --------- Signed-off-by: Ettore Di Giacinto --- backend/python/coqui/requirements-cpu.txt | 3 ++- backend/python/coqui/requirements-cublas11.txt | 3 ++- backend/python/coqui/requirements-cublas12.txt | 3 ++- backend/python/coqui/requirements-hipblas.txt | 3 ++- backend/python/coqui/requirements-intel.txt | 3 ++- backend/python/coqui/requirements.txt | 1 - backend/python/openvoice/requirements-cpu.txt | 4 +++- backend/python/openvoice/requirements-cublas11.txt | 2 ++ backend/python/openvoice/requirements-cublas12.txt | 4 +++- backend/python/openvoice/requirements-hipblas.txt | 4 +++- backend/python/openvoice/requirements-intel.txt | 1 + backend/python/openvoice/requirements.txt | 3 +-- 12 files changed, 23 insertions(+), 11 deletions(-) diff --git a/backend/python/coqui/requirements-cpu.txt b/backend/python/coqui/requirements-cpu.txt index 2021fc20..c5201d62 100644 --- a/backend/python/coqui/requirements-cpu.txt +++ b/backend/python/coqui/requirements-cpu.txt @@ -1,3 +1,4 @@ transformers accelerate -torch==2.4.1 \ No newline at end of file +torch==2.4.1 +coqui-tts \ No newline at end of file diff --git a/backend/python/coqui/requirements-cublas11.txt b/backend/python/coqui/requirements-cublas11.txt index 9f8fe9ff..35fd4f42 100644 --- a/backend/python/coqui/requirements-cublas11.txt +++ b/backend/python/coqui/requirements-cublas11.txt @@ -2,4 +2,5 @@ torch==2.4.1+cu118 torchaudio==2.4.1+cu118 transformers -accelerate \ No newline at end of file +accelerate +coqui-tts \ No newline at end of file diff --git a/backend/python/coqui/requirements-cublas12.txt b/backend/python/coqui/requirements-cublas12.txt index 53716949..fac719d4 100644 --- a/backend/python/coqui/requirements-cublas12.txt +++ b/backend/python/coqui/requirements-cublas12.txt @@ -1,4 +1,5 @@ torch==2.4.1 torchaudio==2.4.1 transformers -accelerate \ No newline at end of file +accelerate +coqui-tts \ No newline at end of file diff --git a/backend/python/coqui/requirements-hipblas.txt b/backend/python/coqui/requirements-hipblas.txt index 1d54fb16..359e5867 100644 --- a/backend/python/coqui/requirements-hipblas.txt +++ b/backend/python/coqui/requirements-hipblas.txt @@ -2,4 +2,5 @@ torch==2.4.1+rocm6.0 torchaudio==2.4.1+rocm6.0 transformers -accelerate \ No newline at end of file +accelerate +coqui-tts \ No newline at end of file diff --git a/backend/python/coqui/requirements-intel.txt b/backend/python/coqui/requirements-intel.txt index c0e4dcaa..de3b4ee4 100644 --- a/backend/python/coqui/requirements-intel.txt +++ b/backend/python/coqui/requirements-intel.txt @@ -5,4 +5,5 @@ torchaudio optimum[openvino] setuptools==75.1.0 # https://github.com/mudler/LocalAI/issues/2406 transformers -accelerate \ No newline at end of file +accelerate +coqui-tts \ No newline at end of file diff --git a/backend/python/coqui/requirements.txt b/backend/python/coqui/requirements.txt index 0ad62f70..6be5d8ac 100644 --- a/backend/python/coqui/requirements.txt +++ b/backend/python/coqui/requirements.txt @@ -1,4 +1,3 @@ -coqui-tts grpcio==1.67.0 protobuf certifi \ No newline at end of file diff --git a/backend/python/openvoice/requirements-cpu.txt b/backend/python/openvoice/requirements-cpu.txt index 20f84cf7..c5368563 100644 --- a/backend/python/openvoice/requirements-cpu.txt +++ b/backend/python/openvoice/requirements-cpu.txt @@ -1 +1,3 @@ -torch==2.4.1 \ No newline at end of file +torch==2.4.1 +git+https://github.com/myshell-ai/MeloTTS.git +git+https://github.com/myshell-ai/OpenVoice.git \ No newline at end of file diff --git a/backend/python/openvoice/requirements-cublas11.txt b/backend/python/openvoice/requirements-cublas11.txt index cf469472..3828e652 100644 --- a/backend/python/openvoice/requirements-cublas11.txt +++ b/backend/python/openvoice/requirements-cublas11.txt @@ -1,2 +1,4 @@ --extra-index-url https://download.pytorch.org/whl/cu118 torch==2.4.1+cu118 +git+https://github.com/myshell-ai/MeloTTS.git +git+https://github.com/myshell-ai/OpenVoice.git \ No newline at end of file diff --git a/backend/python/openvoice/requirements-cublas12.txt b/backend/python/openvoice/requirements-cublas12.txt index 20f84cf7..c5368563 100644 --- a/backend/python/openvoice/requirements-cublas12.txt +++ b/backend/python/openvoice/requirements-cublas12.txt @@ -1 +1,3 @@ -torch==2.4.1 \ No newline at end of file +torch==2.4.1 +git+https://github.com/myshell-ai/MeloTTS.git +git+https://github.com/myshell-ai/OpenVoice.git \ No newline at end of file diff --git a/backend/python/openvoice/requirements-hipblas.txt b/backend/python/openvoice/requirements-hipblas.txt index 76018445..453ce542 100644 --- a/backend/python/openvoice/requirements-hipblas.txt +++ b/backend/python/openvoice/requirements-hipblas.txt @@ -1,2 +1,4 @@ --extra-index-url https://download.pytorch.org/whl/rocm6.0 -torch \ No newline at end of file +torch==2.4.1+rocm6.0 +git+https://github.com/myshell-ai/MeloTTS.git +git+https://github.com/myshell-ai/OpenVoice.git \ No newline at end of file diff --git a/backend/python/openvoice/requirements-intel.txt b/backend/python/openvoice/requirements-intel.txt index b446386f..46c67465 100644 --- a/backend/python/openvoice/requirements-intel.txt +++ b/backend/python/openvoice/requirements-intel.txt @@ -21,3 +21,4 @@ jieba==0.42.1 gradio==4.44.1 langid==1.1.6 git+https://github.com/myshell-ai/MeloTTS.git +git+https://github.com/myshell-ai/OpenVoice.git diff --git a/backend/python/openvoice/requirements.txt b/backend/python/openvoice/requirements.txt index fd1268d0..a6628cdb 100644 --- a/backend/python/openvoice/requirements.txt +++ b/backend/python/openvoice/requirements.txt @@ -16,5 +16,4 @@ cn2an==0.5.22 jieba==0.42.1 gradio langid==1.1.6 -git+https://github.com/myshell-ai/MeloTTS.git -git+https://github.com/myshell-ai/OpenVoice.git +llvmlite==0.43.0 \ No newline at end of file