From e50817a234e2ff4bc2a40d29c3295db72c50d366 Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Mon, 22 Jan 2024 18:55:45 +0000 Subject: [PATCH 01/10] Update atsetup.bat force install of transformers pip install transformers==4.36.2 --- atsetup.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/atsetup.bat b/atsetup.bat index 21e4ce9..3d53413 100644 --- a/atsetup.bat +++ b/atsetup.bat @@ -353,6 +353,7 @@ if "%UserChoice%" == "1" ( pip install python-multipart==0.0.6 pip install cutlet>=0.3.0 pip install unidic-lite>=1.0.8 + pip install transformers==4.36.2 echo Downloading DeepSpeed... curl -LO https://github.com/erew123/alltalk_tts/releases/download/DeepSpeed-12.7/deepspeed-0.12.7+d058d4b-cp311-cp311-win_amd64.whl echo Installing DeepSpeed... From 4d837a0219d1b7529ea9423a2a62362c9641b6cb Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Mon, 22 Jan 2024 18:56:11 +0000 Subject: [PATCH 02/10] Update atsetup.sh force pip install transformers==4.36.2 --- atsetup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/atsetup.sh b/atsetup.sh index 2fded23..af1baa1 100644 --- a/atsetup.sh +++ b/atsetup.sh @@ -313,6 +313,7 @@ install_custom_standalone() { pip install python-multipart==0.0.6 pip install cutlet>=0.3.0 pip install unidic-lite>=1.0.8 + pip install transformers==4.36.2 else pip install -r requirements_other.txt fi From 7928af1bb79da45bb45185d9e3d54e5c12e644c1 Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Mon, 22 Jan 2024 18:56:39 +0000 Subject: [PATCH 03/10] Update requirements_nvidia.txt --- requirements_nvidia.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements_nvidia.txt b/requirements_nvidia.txt index 51d6d2a..010d471 100644 --- a/requirements_nvidia.txt +++ b/requirements_nvidia.txt @@ -14,4 +14,5 @@ pydantic>=1.10.13 sounddevice>=0.4.6 python-multipart>=0.0.6 cutlet>=0.3.0 -unidic-lite>=1.0.8 \ No newline at end of file +unidic-lite>=1.0.8 +transformers==4.36.2 From af907a299d856fbe07211688125fd9bb0a5445e2 Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Mon, 22 Jan 2024 18:56:50 +0000 Subject: [PATCH 04/10] Update requirements_other.txt --- requirements_other.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements_other.txt b/requirements_other.txt index e0363f2..c458bfe 100644 --- a/requirements_other.txt +++ b/requirements_other.txt @@ -14,4 +14,5 @@ pydantic>=1.10.13 sounddevice>=0.4.6 python-multipart>=0.0.6 cutlet>=0.3.0 -unidic-lite>=1.0.8 \ No newline at end of file +unidic-lite>=1.0.8 +transformers==4.36.2 From d0866e3c6c9ef54d73fcd2dd210c8aadf8750428 Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Mon, 22 Jan 2024 19:16:54 +0000 Subject: [PATCH 05/10] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index cb92492..229adb9 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ Please check the below link to find a list of all recent updates and changes. I welcome your input and ideas for new features, suggestions, and improvements. Feel free to share your thoughts and collaborate in the discussions area. If you find this project valuable and would like to show your appreciation, you can make a donation on my [Ko-fi](https://ko-fi.com/erew123) page. Your support goes a long way in ensuring that I can continue to deliver even better features and experiences. +**ERROR** `ImportError: cannot import name 'SampleOutput' from 'transformers.generation.utils'` please see this issue [here](https://github.com/erew123/alltalk_tts/issues/82) + ### 🟩 Quick Setup (Text-generation-webui & Standalone Installation) For Windows 10/11 and Linux machines there is a quick setup script. Click to expand the correct section below:
From ad57deed203a540344ecfaff854bb75cca733e92 Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Mon, 22 Jan 2024 20:00:21 +0000 Subject: [PATCH 06/10] Update atsetup.bat --- atsetup.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atsetup.bat b/atsetup.bat index 3d53413..a0fba2a 100644 --- a/atsetup.bat +++ b/atsetup.bat @@ -341,6 +341,7 @@ if "%UserChoice%" == "1" ( pip install fsspec>=2023.6.0 pip install soundfile==0.12.1 pip install uvicorn==0.24.0.post1 + pip install transformers==4.36.2 pip install TTS==0.21.3 pip install fastapi==0.104.1 pip install Jinja2==3.1.2 @@ -353,7 +354,6 @@ if "%UserChoice%" == "1" ( pip install python-multipart==0.0.6 pip install cutlet>=0.3.0 pip install unidic-lite>=1.0.8 - pip install transformers==4.36.2 echo Downloading DeepSpeed... curl -LO https://github.com/erew123/alltalk_tts/releases/download/DeepSpeed-12.7/deepspeed-0.12.7+d058d4b-cp311-cp311-win_amd64.whl echo Installing DeepSpeed... From d93906a75fd1fed046e0ea3e57c4b4193d8ee009 Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Mon, 22 Jan 2024 20:00:47 +0000 Subject: [PATCH 07/10] Update atsetup.sh --- atsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atsetup.sh b/atsetup.sh index af1baa1..7969a62 100644 --- a/atsetup.sh +++ b/atsetup.sh @@ -301,6 +301,7 @@ install_custom_standalone() { pip install fsspec>=2023.6.0 pip install soundfile==0.12.1 pip install uvicorn==0.24.0.post1 + pip install transformers==4.36.2 pip install TTS==0.21.3 pip install fastapi==0.104.1 pip install Jinja2==3.1.2 @@ -313,7 +314,6 @@ install_custom_standalone() { pip install python-multipart==0.0.6 pip install cutlet>=0.3.0 pip install unidic-lite>=1.0.8 - pip install transformers==4.36.2 else pip install -r requirements_other.txt fi From e524063ec2c8c3026a2e84e8df5bf9c1e43f7adf Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Mon, 22 Jan 2024 20:01:04 +0000 Subject: [PATCH 08/10] Update requirements_nvidia.txt --- requirements_nvidia.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_nvidia.txt b/requirements_nvidia.txt index 010d471..31903f5 100644 --- a/requirements_nvidia.txt +++ b/requirements_nvidia.txt @@ -1,6 +1,7 @@ numpy>=1.22.0 soundfile>=0.12.1 uvicorn>=0.24.0.post1 +transformers==4.36.2 TTS>=0.21.3 torch>=2.1.0+cu118 torchaudio>=2.1.0+cu118 @@ -15,4 +16,3 @@ sounddevice>=0.4.6 python-multipart>=0.0.6 cutlet>=0.3.0 unidic-lite>=1.0.8 -transformers==4.36.2 From 2b60f5b0da988e5a14e20c93ab3f69624df74af8 Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Mon, 22 Jan 2024 20:01:16 +0000 Subject: [PATCH 09/10] Update requirements_other.txt --- requirements_other.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_other.txt b/requirements_other.txt index c458bfe..1f00475 100644 --- a/requirements_other.txt +++ b/requirements_other.txt @@ -1,6 +1,7 @@ numpy>=1.22.0 soundfile>=0.12.1 uvicorn>=0.24.0.post1 +transformers==4.36.2 TTS>=0.21.3 torch>=2.1.0 torchaudio>=2.1.0 @@ -15,4 +16,3 @@ sounddevice>=0.4.6 python-multipart>=0.0.6 cutlet>=0.3.0 unidic-lite>=1.0.8 -transformers==4.36.2 From abc9cf1fb721759306eaed2d312234819d4a42c6 Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Mon, 22 Jan 2024 20:45:11 +0000 Subject: [PATCH 10/10] Update README.md --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 229adb9..7e9330b 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,9 @@ I welcome your input and ideas for new features, suggestions, and improvements. **ERROR** `ImportError: cannot import name 'SampleOutput' from 'transformers.generation.utils'` please see this issue [here](https://github.com/erew123/alltalk_tts/issues/82) ### 🟩 Quick Setup (Text-generation-webui & Standalone Installation) -For Windows 10/11 and Linux machines there is a quick setup script. Click to expand the correct section below: +For Windows 10/11 and Linux machines there is a quick setup script. Please note, Python on Windows requires you install the C++ development [tools](https://wiki.python.org/moin/WindowsCompilers) to compile packages, further details can be found in the help section. + +Click to expand the correct section below:
QUICK SETUP - Text-Generation-webui
@@ -330,6 +332,15 @@ Other possibilities for this issue are: 11) You have built yourself a custom Python environment and something is funky with it. This is very hard to diagnose as its not a standard environment. You may want to updating text-generation-webui and re installing its requirements file (whichever one you use that comes down with text-generation-webui).
+#### 🟨 Windows & Python requirements for compiling packages +
+ Click to expand
+ + Python requires that you install C++ development tools on Windows. This is detailed on the [Python site here](https://wiki.python.org/moin/WindowsCompilers). You would need to install `MSVCv142 - VS 2019 C++ x64/x86 build tools` and `Windows 10/11 SDK` from the C++ Build tools section. + + You can get hold of the **Community** edition [here](https://visualstudio.microsoft.com/downloads/) the during installation, selecting `C++ Build tools` and then `MSVCv142 - VS 2019 C++ x64/x86 build tools` and `Windows 10/11 SDK`. +
+ #### 🟨 I think AllTalks requirements file has installed something another extension doesn't like
Click to expand