Hello
I was wondering if anyone has been able to get Stable Diffusion V2 running on a Rocky 8.7 machine?
I have been able to get Easy Diffusion
https://github.com/cmdr2/stable-diffusion-ui
running on my Rocky 8.7 machine, but this version is too basic for my needs, so I thought I could do the full SD install.
But I am getting stuck with a pip install issue. I have installed versions python 3, 3.6, 3.9 & 3.10 with resolving the issue of how to upgrade pip.
[admin@lowrocky ~]$ cd /home/admin/Downloads/SD/stable-diffusion/stable-diffusion-webui/
[admin@lowrocky stable-diffusion-webui]$ ./webui.sh
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################
################################################################
Running on admin user
################################################################
################################################################
Repo already cloned, using it as install directory
################################################################
################################################################
Create and activate python venv
################################################################
################################################################
Launching launch.py...
################################################################
Python 3.6.8 (default, Nov 8 2022, 11:32:15)
[GCC 8.5.0 20210514 (Red Hat 8.5.0-15)]
Commit hash: 0b8911d883118daa54f7735c5b753b5575d9f943
Installing torch and torchvision
Traceback (most recent call last):
File "launch.py", line 307, in <module>
prepare_environment()
File "launch.py", line 218, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch")
File "launch.py", line 64, in run
raise RuntimeError(message)
RuntimeError: Couldn't install torch.
Command: "/home/admin/Downloads/SD/stable-diffusion/stable-diffusion-webui/venv/bin/python3" -m pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113
Error code: 1
stdout: Collecting torch==1.12.1+cu113
stderr: Could not find a version that satisfies the requirement torch==1.12.1+cu113 (from versions: 1.0.0, 1.0.1, 1.0.1.post2, 1.1.0, 1.2.0, 1.3.0, 1.3.1, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.0+cu113, 1.10.1, 1.10.1+cu113, 1.10.2, 1.10.2+cu113)
No matching distribution found for torch==1.12.1+cu113
You are using pip version 9.0.3, however version 22.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The above error seems to be a quite common for Windows but I cannot find much for linux.
Any thoughts are most welcom