2023-02-18 02:46:44 +00:00
|
|
|
#!/bin/bash
|
2023-03-02 01:35:12 +00:00
|
|
|
# get local dependencies
|
2023-02-19 21:41:51 +00:00
|
|
|
git submodule init
|
2023-02-23 07:05:39 +00:00
|
|
|
git submodule update --remote
|
2023-03-02 01:35:12 +00:00
|
|
|
# setup venv
|
2023-02-21 20:20:52 +00:00
|
|
|
python3 -m venv venv
|
2023-02-17 00:08:27 +00:00
|
|
|
source ./venv/bin/activate
|
2023-03-02 01:35:12 +00:00
|
|
|
python3 -m pip install --upgrade pip # just to be safe
|
2023-02-17 00:08:27 +00:00
|
|
|
# ROCM
|
2023-10-12 00:27:46 +00:00
|
|
|
pip3 install torch==1.13.1 torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.2 # 5.4.2 doesn't work for me desu
|
2023-03-02 01:35:12 +00:00
|
|
|
# install requirements
|
2023-03-10 04:22:47 +00:00
|
|
|
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
|
2023-03-21 15:46:53 +00:00
|
|
|
python3 -m pip install -e ./modules/dlas/ # install DLAS
|
2023-03-11 16:55:19 +00:00
|
|
|
python3 -m pip install -r ./requirements.txt # install local requirements
|
2023-03-10 04:22:47 +00:00
|
|
|
|
2023-03-09 04:03:57 +00:00
|
|
|
rm *.bat
|
|
|
|
|
2023-03-03 02:58:34 +00:00
|
|
|
./setup-rocm-bnb.sh
|
2023-03-09 04:03:57 +00:00
|
|
|
|
2023-03-02 01:35:12 +00:00
|
|
|
deactivate
|