tortoise-tts/setup-cuda.sh
2023-02-16 19:48:06 +00:00

9 lines
312 B
Bash
Executable File

python -m venv tortoise-venv
source ./tortoise-venv/bin/activate
python -m pip install --upgrade pip
# CUDA
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
python -m pip install -r ./requirements.txt
python -m pip install -r ./requirements_legacy.txt
deactivate