-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Fresh install - wrong torch install #467
Comments
Nothing wrong here. This repo is a Fork of Automatic1111. So you always need to launch the webui with either: For anyone who launched the webui-user.bat without editing it like above here is an easy fix: |
I'm getting a similar error message as well. I followed the guide from this webpage: https://www.stablediffusiontutorials.com/2024/01/run-stable-diffusion-on-amd-gpu.html , but encountered a similar error. Appreciate any advise on how to overcome this. (sd_olive) C:\Users\Admin\sd-test\stable-diffusion-webui-directml>webui-user.bat --use-directml |
After doing further searches, I found the solution here: https://www.reddit.com/r/StableDiffusion/comments/18vmkon/comment/khpbnvo/ Edit webui-user.bat and add this command line argument: "set COMMANDLINE_ARGS= --skip-torch-cuda-test --use-directml --reinstall-torch". After running the webui-user.bat with those arguments for the very first time, you can remove subsequently the argument --reinstall-torch. So in your webui-user.bat file the line should be "set COMMANDLINE_ARGS= --skip-torch-cuda-test --use-directml" |
I wouldnt recommend anyone using the Olive/ONNX Version. For anyone who wants to install Stable-Diffusion-Webui-amdgpu with DirectML or Zluda or any other Webui please follow my install Guides from here: https://github.com/CS1o/Stable-Diffusion-Info/wiki/Installation-Guides |
Checklist
What happened?
It seems that running webui-user.bat installs wrong torch version on first start.
I've made a fresh install of python, git (...etc, I haven't done anything on this system yet with SD). Tried installing this fork according to the install instructions, yet it always finished with error
Yes, I did reinstall and deleted venv.
I've found a similar bug report here, #432
As this user stated, I've visited https://www.reddit.com/r/StableDiffusion/comments/18vmkon/comment/khpbnvo/ and followed instruction adding
--skip-torch-cuda-test --use-directml --reinstall-torch
.It has downloaded different versions, or stuff that was not on the list alltogether, as of reinstalling normally shows 'using cached version' when downloading/installing, and when I've ran webui-user.bat with the above arguments, it started downloading a lot of stuff. And I've saved the logs for those:
After this - it launched, downloaded models, launched and opened web ui.
Steps to reproduce the problem
Everything stated above, simply fresh install.
What should have happened?
Fresh install should use correct torch versions.
What browsers do you use to access the UI ?
Mozilla Firefox
Sysinfo
sysinfo-2024-05-22-18-03.json
Console logs
I've added them in first step in collapsed block
Additional information
No response
The text was updated successfully, but these errors were encountered: