-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version conflict installing requirements_standalone.txt #396
Comments
@SoftologyPro I see you are installing this on your own VENV? Currently AllTalk is only validated for Python 3.11.x with PyTorch 2.2.x that has CUDA 12.1 installed. What versions of those things are you using? As it may well be that if you are using later versions of PyTorch, that is the issue here. Ctranslate2 was updated very recently, which broke compatibility with PyTorch 2.2.x, however as AllTalk's install routine was based on 2.2.x and I do not have time to go update all the base requirements in one single go (Please see my statement here as to why), the easiest solution for me was to lock Ctranslate2 to version 4.4.0 which is compatible. See here for the recent issues with the update to Ctranslate2 and compatibility OpenNMT/CTranslate2#1806 If you are using other versions of PyTorch, you are welcome to remove the version specifier in the requirements file system\requirements\requirements_standalone.txt for Ctranslate2 (as in remove the ==4.4.0 against ctranslate2) but I cannot say if there will be other compatibility issues. Its just not something I have had time to work on to that level or look into. Removing the specifier will allow it to install Ctranslate2 4.5.0 which is compatible with later versions of PyTorch & CUDA versions. FYI you will need to build your own DeepSpeed wheel for later versions of PyTorch too, if you want to use DeepSpeed. I recently built a tool for doing that, along with detailed explanations/instructions https://github.com/erew123/deepspeedpatcher and an explanation as to why you would need to build a new version is here https://github.com/erew123/deepspeedpatcher?tab=readme-ov-file#important-version-compatibility-information Obviously, that aside, using the atsetup.bat method that will build a custom conda environment with the correct requirements/setup works fine (as below). Thanks |
@SoftologyPro Oh BTW there was also a code correction in the last 20 minutes, so you may want to git pull an update, to update tts_server.py otherwise it may error on start-up. Thanks |
OK, thank you. Using atsetup.bat in a directory without spaces works fine. |
@SoftologyPro Thanks ill close the ticket. FYI, Just added the F5-TTS engine, so you can git pull again if you wish to get the update. Thanks |
pip install -r system\requirements\requirements_standalone.txt
runs fine for a while then ends with
The text was updated successfully, but these errors were encountered: