Comments (7)
Hiya.. When you ran the diagnostics, you were in the Text-gen-webui cmd_windows.bat
python environment?
The reason I ask, is its not showing you as having Pytorch with CUDA installed, so it wont find your GPU via CUDA, which is what it needs.
I don't know if this is something with the Text-gen-webui installation that occurred recently or this is just co-incidence, but your the second person Ive seen in a few days not showing CUDA.
I dont know if you installed text-gen-webui with CUDA 12.1 or 11.8....... you can force a re-install on your text-gen-webui environment by....
cmd_windows.bat
in the text-gen-webui folder to start then Python environment
pip cache purge
(Clear the current Pip cache)
pip uninstall torch torchaudio
(Removes the current Pytorch)
You can now either install the CUDA 11.8 or 12.1 version of Torch and Torchaudio with one of the following
CUDA 11.8 > pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
CUDA 12.1 > pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
from alltalk_tts.
This corrected it, I don't know why pip wasn't installing these properly. Everything has been run within the text-gen-webui env (cmd_windows.bat
). Might want to update diagonostic.py
to ensure the cuda accelerated torch versions are present as it currently shows them as "green" in the cli even without +cu118
, etc.
Just to append your commands in case someone else comes through later looking for a solution, if we're reinstalling torchvision for cu118 (or 121) then we need to run pip uninstall torch torchaudio torchvision
(uninstall torchvision was missing). The install command is correct.
So the full fix is:
Enter the python environment cmd_windows.bat
pip cache purge
(to rebuild clean)
pip uninstall torch torchaudio torchvision
(remove old torch without cuda)
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
(install with cuda 11.8, change this to pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
for cuda 12.1)
from alltalk_tts.
Hi @Jack74r
Here is a quick explainer of Python environments from the main page in the installation section:
A very quick understanding of Python Environments.
Different Python applications have different requirements, some of those requirement’s conflict with other Python applications requirements. To work around this problem, you can create different Python environments that remain separated from one another. A simple way of looking at Python environments, is just like how your house has different rooms for specific purposes (Kitchen, Bathroom, Bedroom etc). You can create a Python environment that is built/customised specifically for your current applications needs/purposes and will not interfere with any other Python applications environments/installations.
If you are adept at managing Python environments, have an existing Python environment and know that you won’t cause any conflicts by installing AllTalk's requirements within that Python environment, then load up your Python environment and install the requirements. For everyone else, here is a basic guide on installing AllTalk in its own custom Python environment (there will be small variations between OS's, but the principle is the same).
I have to admit, python environments are confusing at first.
So are you running AllTalk in a standalone installation? (I am guessing you are based on your screenshot).
From your screenshot, it doesnt look like you have started the AllTalk python environment first. I am assuming you have run the atsetup.bat
file to create the custom AllTalk python environment?
Once this has been created, you would then start AllTalk with start_alltalk.bat
which will load the Python environment and then AllTalk OR (for finetuning) you just want to load the Python environment, you would run start_environment.bat
When you run start_environment.bat
you should see the command prompt changes, kind of similar to this (this is an example of a Python environment being loaded and you can see the way the command prompt changes, indicated by the line that the orange arrow points to)
Once you are in the Python environment for AllTalk, its now where you want to install any other requirements with PIP and also if you are finetuning e.g. pip install -r requirements_finetune.txt
You would also check that the set environment path is listing C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin
which you can check at the command prompt with the set
command.
feel free to ask questions if you need.
Thanks
from alltalk_tts.
This was from the other person a few days ago.. also no cu118 or cu121 (Cuda 11.8 and 12.1 respectively)
from alltalk_tts.
This corrected it, I don't know why pip wasn't installing these properly. Everything has been run within the text-gen-webui env (
cmd_windows.bat
). Might want to updatediagonostic.py
to ensure the cuda accelerated torch versions are present as it currently shows them as "green" in the cli even without+cu118
, etc.Just to append your commands in case someone else comes through later looking for a solution, if we're reinstalling torchvision for cu118 (or 121) then we need to run
pip uninstall torch torchaudio torchvision
(uninstall torchvision was missing). The install command is correct.So the full fix is:
Enter the python environment
cmd_windows.bat
pip cache purge
(to rebuild clean)
pip uninstall torch torchaudio torchvision
(remove old torch without cuda)
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
(install with cuda 11.8, change this topip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
for cuda 12.1)
Same here, thanks for the solution, I have alltalk_tts standalone, is it necessary to install Text-gen-webui?
from alltalk_tts.
Hi @realtica AllTalk will run fine without text-generation-webui and you can perform finetuning.
Thanks
from alltalk_tts.
Hi, thanks for your post. I've tried to follow your advice but I'm having a problem using the project for finetuning.
The installed version displays 121 so I have uninstalled and reinstalled version 118. But still the problem, and I redo the manipulation it still displays 121 but when I uninstall it displays 118 so I'm a little lost. I don't really know python.
Otherwise, everything else works fine :)
PS C:\Windows\System32> nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:41:10_Pacific_Daylight_Time_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0
When i retry and run :pip install -r requirements_finetune.txt
Many installation and error show :
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
xformers 0.0.24+cu118 requires torch==2.2.0, but you have torch 2.2.1+cu118 which is incompatible.
from alltalk_tts.
Related Issues (20)
- Allow batch size 1 by default HOT 1
- FFMPEG RuntimeError: Failed to open the input in finetune.py HOT 3
- Colab HOT 1
- Can i use MMS models? HOT 1
- Standalone Install Error HOT 2
- Free Memory HOT 4
- Expected String and got Path HOT 6
- Possible to run the models entirely on CPU+RAM or the 2nd GPU? HOT 1
- SillyTavern AllTalk extension: Pitch must be between -24 and 24. HOT 4
- atsetup.bat automatically closes after mini conda install HOT 9
- how can i add persian language to AllTalk TTS? HOT 1
- Unable to connect HOT 16
- LLVM ERROR: Symbol not found: __svml_cosf8_ha (start_alltalk.bat - standalone) HOT 2
- Speed of voice don't match the reference file HOT 11
- ModuleNotFoundError: No module named 'requests' HOT 2
- Can't disable setting "Pass Asterisks to TTS Engine" HOT 6
- len(DataLoader) returns 0. Make sure your dataset is not empty or len(dataset) > 0. HOT 2
- Gradio Off HOT 2
- Issue with Czech sound generation HOT 1
- On error not closing logs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alltalk_tts.