Problem installing Stable Diffusion WebUI-Forge on Ubuntu 24.04 with RX 5700 XT (Error installing Torch with ROCm) #1179
Replies: 2 comments 1 reply
-
By the way, I forgot to put that the entire output is this ################################################################ ################################################################ ################################################################ ################################################################ ################################################################ |
Beta Was this translation helpful? Give feedback.
-
There's a 403 error when downloading the nightly rocm pytorch stack. It's very annoying. The fix is to open webui.sh in a text editor and find the line with and change it to
Basically, if there is an instance of a URL in the torch command containg pytorch.org/whl/nightly/rocm... it needs to be changed to pytorch.org/whl/rocm... run ./webui.sh again and everything should download and install fine. I have been having issues running forge through stability matrix on my RX7800, so YMMV. Try doing a clean install of the webui-forge repo without Stability Matrix with the fixed webui.sh script to if Stability Matrix is still giving you issues. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to install Stable Diffusion WebUI-Forge on Ubuntu 24.04.02 with an RX 5700 XT, but I'm having a problem installing PyTorch with ROCm.
I followed these tutorials:
1️⃣ Installing PyTorch with ROCm → Video
2️⃣ Installing WebUI-Forge → Video
🔴 The problem
When running ./webui.sh, I get the following error when trying to install torch and torchvision:
Collecting torch==2.0.0.dev20230209+rocm5.2 ERROR: HTTP error 403 while getting https://download.pytorch.org/whl/nightly/rocm5.2/torch-2.0.0.dev20230209%2Brocm5.2-cp310-cp310-linux_x86_64.whl ERROR: Could not install requirement torch==2.0.0.dev20230209+rocm5.2 RuntimeError: Couldn't install torch. Command: "/usr/bin/python3.10" -m pip install https://download.pytorch.org/whl/nightly/rocm5.2/torch-2.0.0.dev20230209%2Brocm5.2-cp310-cp310-linux_x86_64.whl Error code: 1
ROCm seems to be working fine, but WebUI-Forge keeps crashing when installing Torch.
❓ Questions
1️⃣ Should I manually install Torch with a specific version of ROCm (e.g. 5.6)?
2️⃣ How can I modify the Forge installation to use the correct version of PyTorch?
3️⃣ Is there a way to prevent WebUI-Forge from trying to download an outdated version of Torch?
I appreciate any help. Thanks! 😊
Beta Was this translation helpful? Give feedback.
All reactions