AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
138.1k stars 26.25k forks source link

[Bug]: RROR: RX 5000 series GPUs must be using at max python 3.10, aborting #11717

Open Rizzlord opened 1 year ago

Rizzlord commented 1 year ago

Is there an existing issue for this?

What happened?

I installed Garuda python and everything, then cloned the webui, started the webui.sh and this error comes.

Steps to reproduce the problem

  1. install dependencies
  2. clone stable diffusion 3.Start webui.sh

What should have happened?

The installation proccess should start.

Version or Commit where the problem happens

newest

What Python version are you running on ?

None

What platforms do you use to access the UI ?

No response

What device are you running WebUI on?

No response

Cross attention optimization

Automatic

What browsers do you use to access the UI ?

No response

Command Line Arguments

none

List of extensions

base

Console logs

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on rizzlord user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################
...Dokumente/stable-diffusion-webui/webui.sh: Zeile 122: bc: Command not found.
ERROR: RX 5000 series GPUs must be using at max python 3.10, aborting...

Additional information

No response

ClashSAN commented 1 year ago

@Rizzlord On arch Linux, you may need to follow the guide listed on the wiki https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs#install-on-amd-and-arch-linux it could be outdated. What is the python version in venv?

boombbo commented 1 year ago

you have two issues: 1)not found "bc" open your 'cmd', type the code👇

sudo apt update
sudo apt install bc

2)rx5000 need the python > python 3.10 version,

sudo apt update
sudo apt install python3.10
Rizzlord commented 1 year ago

cannot use apt, im on Garuda

chrme commented 1 year ago

1) sudo pacman -S bc 2) you will need to manually compile and install https://aur.archlinux.org/packages/python310

Rizzlord commented 1 year ago

I did everything still dont work. my venv termal already showing 3.10 and it still dont recognize it... im getting crazy.

Rizzlord commented 1 year ago

Fixed, had to install an older torch version "You are running torch 1.13.1+rocm5.2. The program is tested to work with torch 2.0.0. To reinstall the desired version, run with commandline flag --reinstall-torch. Beware that this will cause a lot of large files to be downloaded, as well as there are reports of issues with training tab on the latest version." but, still works, dont wanna try to upgrade, maybe itl break again.

for all having problems on arch linux here is the command i used: "pip install torch==1.13.1+rocm5.2 torchvision==0.14.1+rocm5.2 --extra-index-url https://download.pytorch.org/whl/rocm5.2 --upgrade --force-reinstall"