-
Notifications
You must be signed in to change notification settings - Fork 230
Description
Checklist
- The issue exists after disabling all extensions
- The issue exists on a clean installation of webui
- The issue is caused by an extension, but I believe it is caused by a bug in the webui
- The issue exists in the current version of the webui
- The issue has not been reported before recently
- The issue has been reported before but has not been fixed yet
What happened?
Creating venv in directory C:\stable-diffusion-webui-directml\venv using python "C:\Python\python.exe"
Requirement already satisfied: pip in c:\stable-diffusion-webui-directml\venv\lib\site-packages (22.2.1)
Collecting pip
Using cached pip-25.3-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.2.1
Uninstalling pip-22.2.1:
Successfully uninstalled pip-22.2.1
Successfully installed pip-25.3
venv "C:\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
HIP Library Path: C:\WINDOWS\System32\amdhip64_7.dll
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.10.1-amd-49-g72f1fe43
Commit hash: 72f1fe4
ROCm: AMD toolkit detected
ROCm: agents=['gfx1201']
Installing rocm
HIP Library Path: C:\WINDOWS\System32\amdhip64_7.dll
ROCm: version=7.1, using agent gfx1201
Installing torch and torchvision
Looking in indexes: https://rocm.nightlies.amd.com/v2-staging/gfx120X-all
ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch
Traceback (most recent call last):
File "C:\stable-diffusion-webui-directml\launch.py", line 48, in
main()
File "C:\stable-diffusion-webui-directml\launch.py", line 39, in main
prepare_environment()
File "C:\stable-diffusion-webui-directml\modules\launch_utils.py", line 612, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "C:\stable-diffusion-webui-directml\modules\launch_utils.py", line 115, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "C:\stable-diffusion-webui-directml\venv\Scripts\python.exe" -m pip install torch torchvision --index-url https://rocm.nightlies.amd.com/v2-staging/gfx120X-all
Error code: 1
Press any key to continue . . .
Steps to reproduce the problem
Followed all the instructions from this page:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs
What should have happened?
Torch should have been installed properly
What browsers do you use to access the UI ?
Mozilla Firefox
Sysinfo
???
Console logs
???Additional information
I don't understand much about how this works but I do know that I followed the instructions to the T. Doesn't work, though.