ai-voice-cloning-terminator/setup-cuda.bat

20 lines
852 B
Batchfile
Raw Normal View History

2023-02-19 21:41:51 +00:00
git submodule init
git submodule update --remote
2023-02-19 21:41:51 +00:00
2023-02-17 00:08:27 +00:00
python -m venv venv
call .\venv\Scripts\activate.bat
python -m pip install --upgrade pip
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117
python -m pip install -r .\requirements.txt
python -m pip install --force-reinstall -r .\modules\tortoise-tts\requirements.txt
python -m pip install --force-reinstall -e .\modules\tortoise-tts\
python -m pip install --force-reinstall -r .\modules\dlas\requirements.txt
2023-02-23 06:24:54 +00:00
xcopy .\modules\dlas\bitsandbytes_windows\* .\venv\Lib\site-packages\bitsandbytes\. /Y
xcopy .\modules\dlas\bitsandbytes_windows\cuda_setup\* .\venv\Lib\site-packages\bitsandbytes\cuda_setup\. /Y
xcopy .\modules\dlas\bitsandbytes_windows\nn\* .\venv\Lib\site-packages\bitsandbytes\nn\. /Y
del *.sh
2023-02-23 06:24:54 +00:00
pause
deactivate