erew123 / alltalk_tts

AllTalk is based on the Coqui TTS engine, similar to the Coqui_tts extension for Text generation webUI, however supports a variety of advanced features, such as a settings page, low VRAM support, DeepSpeed, narrator, model finetuning, custom models, wav file maintenance. It can also be used with 3rd Party software via JSON calls.
GNU Affero General Public License v3.0
816 stars 91 forks source link

Install scripts uses >= and currently installs pytorch 2.3.0 breaking compatibility with DeepSpeed #185

Closed kaminoer closed 4 months ago

kaminoer commented 4 months ago

Describe the bug atsetup.bat has the following line pip install torch>=2.2.1+cu121 torchaudio>=2.2.1+cu121 --upgrade --force-reinstall --extra-index-url https://download.pytorch.org/whl/cu121 This installs torch 2.3.0 and breaks compatibility with DeepSpeed which requires torch 2.2.1

To Reproduce Run atsetup.bat and perform a fresh standalone install.

Desktop (please complete the following information): AllTalk was updated: 24.04.2024 Custom Python environment: no Text-generation-webUI was updated: not using

Additional context https://github.com/erew123/alltalk_tts/blob/efeb2e67e0ae8fb5c3afb70f3f89d75cdaa4b478/atsetup.bat#L397

erew123 commented 4 months ago

Hi @kaminoer

Damn, they are really firing new point revisions of PyTorch out at the moment. Annoying as each revision requires a whole new compilation of DeepSpeed which is a 30-60 minute job (plus changing over the code in AllTalk).

For now I will lock down the version to 2.2.2 of Pytorch which should maintain compatibility.

If you specifically want to force a downgrade to that version, you can git pull the update to AllTalk and re run the setup.

or you can manually run this in the Python environment:

pip install torch==2.2.2+cu121 torchaudio>=2.2.2+cu121 --upgrade --force-reinstall --extra-index-url https://download.pytorch.org/whl/cu121

Thanks for the info