Create frog_bench.sh
Browse files- frog_bench.sh +12 -0
frog_bench.sh
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
### for ROCm
|
2 |
+
|
3 |
+
git clone https://github.com/kohya-ss/sd-scripts.git
|
4 |
+
cd sd-scripts
|
5 |
+
git clone https://huggingface.co/aka7774/frog_bench.git
|
6 |
+
sudo apt install python3.10-venv
|
7 |
+
python3 -m venv venv
|
8 |
+
venv/bin/pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.4.2
|
9 |
+
venv/bin/pip3 install --upgrade -r requirements.txt
|
10 |
+
sudo apt-get install -y libgl1-mesa-dev
|
11 |
+
venv/bin/pip3 uninstall tensorflow
|
12 |
+
venv/bin/pip3 install tensorflow-rocm
|