ai-voice-cloning/setup-directml.bat

16 lines
516 B
Batchfile
Executable File

git submodule init
git submodule update --remote
python -m venv venv
call .\venv\Scripts\activate.bat
python -m pip install --upgrade pip
python -m pip install torch torchvision torchaudio torch-directml
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
del *.sh
pause
deactivate