ai-voice-cloning/setup-rocm.sh

15 lines
479 B
Bash
Raw Normal View History

2023-02-18 02:46:44 +00:00
#!/bin/bash
2023-02-19 21:41:51 +00:00
git submodule init
git submodule update
2023-02-17 00:08:27 +00:00
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
2023-02-19 21:41:51 +00:00
python -m pip install -r ./dlas/requirements.txt
python -m pip install -r ./tortoise-tts/requirements.txt
python -m pip install -r ./requirements.txt
2023-02-19 21:41:51 +00:00
python -m pip install -e ./tortoise-tts/
2023-02-17 00:08:27 +00:00
deactivate