fix stable diffusion webui docs
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 16m0s
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 16m0s
This commit is contained in:
@@ -2,16 +2,7 @@
|
||||
|
||||
## Web UI
|
||||
|
||||
<https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs#arch-specific-dependencies>
|
||||
|
||||
```bash
|
||||
python3.10 -m ensurepip --upgrade
|
||||
|
||||
# Check https://download.pytorch.org/whl/nightly/ for versions
|
||||
# Specifically you want the "rocm" versions for AMD
|
||||
pip install torch==2.6.0.dev20241103+rocm6.2 --index-url https://download.pytorch.org/whl/nightly
|
||||
pip install torchvision==0.20.0.dev20241103+rocm6.2 --index-url https://download.pytorch.org/whl/nightly
|
||||
```
|
||||
<https://github.com/lllyasviel/stable-diffusion-webui-forge>
|
||||
|
||||
```bash
|
||||
sudo pacman -S python-pytorch-rocm
|
||||
@@ -20,17 +11,19 @@ git clone https://aur.archlinux.org/python-torchvision-rocm.git
|
||||
cd python-torchvision-rocm
|
||||
makepkg -si
|
||||
|
||||
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
|
||||
git clone https://github.com/lllyasviel/stable-diffusion-webui-forge.git
|
||||
cd stable-diffusion-webui
|
||||
|
||||
python3.10 -m venv venv --system-site-packages
|
||||
source venv/bin/activate
|
||||
# Check https://download.pytorch.org/whl/nightly/ for versions
|
||||
# Specifically you want the "rocm" versions for AMD
|
||||
pip install torch==2.6.0.dev20241103+rocm6.2 --index-url https://download.pytorch.org/whl/nightly
|
||||
pip install torchvision==0.20.0.dev20241103+rocm6.2 --index-url https://download.pytorch.org/whl/nightly
|
||||
pip install -r requirements.txt
|
||||
|
||||
# We need to replace the torch/pytorch versions with amd compatible ones.
|
||||
# Check https://download.pytorch.org/whl/nightly/torch/ for versions
|
||||
# Specifically you want the "rocm" versions for AMD
|
||||
# Just copy the "torch-2.6.0.dev20241205+rocm6.2.4" part
|
||||
pip install torch==2.6.0.dev20241205+rocm6.2.4 --index-url https://download.pytorch.org/whl/nightly
|
||||
pip install torchvision==0.20.0.dev20241207+rocm6.2.4 --index-url https://download.pytorch.org/whl/nightly
|
||||
|
||||
./webui.sh
|
||||
```
|
||||
|
||||
@@ -61,4 +54,4 @@ htpasswd -c /etc/nginx/.htpasswd yourusername
|
||||
sudo useradd -m -s /bin/bash nginx
|
||||
|
||||
sudo certbot --nginx -d reesimulate.reeseapps.com
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user