ai-voice-cloning-fork/setup-rocm.sh
2023-02-18 02:46:44 +00:00

10 lines
311 B
Bash
Executable File

#!/bin/bash
python -m venv venv
source ./venv/bin/activate
python -m pip install --upgrade pip
# ROCM
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.1.1 # 5.2 does not work for me desu
python -m pip install -r ./requirements.txt
./setup-training.sh
deactivate