ai-voice-cloning/setup-cuda.sh

14 lines
660 B
Bash
Raw Normal View History

2023-02-18 02:46:44 +00:00
#!/bin/bash
# get local dependencies
2023-02-19 21:41:51 +00:00
git submodule init
git submodule update --remote
# CUDA
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118
# install requirements
python3 -m pip install -r ./modules/tortoise-tts/requirements.txt # install TorToiSe requirements
python3 -m pip install -e ./modules/tortoise-tts/ # install TorToiSe
python3 -m pip install -r ./modules/dlas/requirements.txt # instal DLAS requirements, last, because whisperx will break a dependency here
python3 -m pip install -e ./modules/dlas/ # install DLAS
python3 -m pip install -r ./requirements.txt # install local requirements
2023-09-07 11:19:27 +00:00
rm *.bat