-
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]: --use-directml doesn't work anymore on AMD, without it it runs correctly on CPU, clean installation of directml stable diffusion #469
Comments
Hey i tested the Webui in CPU mode first by using: Both working normaly. You should check if it works for you with the directml args from above. |
Bro your --use-cpu all brought another unfixable error, had to re install everything again. on GPU i still have the failed to load model error above, when i add --use-directml I'm running on AMD 7100 firepro 8GB... not a radeon or something more Rocm /Zluda compatible...(which i think you running it on and therefore no issues) again few months back it was running fine with --use-directml on that same GPU... have no idea what new update made it unfixable |
Win10, Python 3.10.6, Radeon RX 580 2048SP.
After adding After I remove On this step Please suggest how to resolve this, using GPU for inference. |
Please do not add |
@lshqqytiger , thanks for quick answer.
Win10, Python 3.10.6, Radeon RX 580 2048SP. |
|
Just a report. |
what's the full command args you are using? Also are you installing anything else like Rocm or Zluda ?.. your GPU is 2018 mine is 2014 made, it is still a good GPU and --use-directml was working for me too 6x times faster than CPU until an update this year that messed everything up... would be great to find out what causes the error above. |
@Ael07 |
thx for that, ok if i use set COMMANDLINE_ARGS= --use-directml alone, it actually loads the model correctly but then runtime error when trying to generate the image; *** Error completing request |
I have an AMD RX500XT and the stable-diffusion-webui-directml folder in system32. I have the same problem and solved with this: -Doble click webui-user.bat Just doble click the webui-user.bat and that's all Now you can use the gpu for Stable Diffusion ( I have the AMD HIP SDK for Windows installed https://www.amd.com/en/developer/resources/rocm-hub/hip-sdk.html ) |
Looks like it is working for you, i managed to make it work before without AMD HIP SDK. Right now not sure what happened but is not working anymore with --use-directml... works fine on CPU with a 5min per picture which is so annoying i also noticed that --no-half gives me the first error which is model failed to load .. if i delete it, i get the model to load but get the second error. --no-half is supposed to do what exactly? thx |
does anybody have this issue or can replicate my error?! thanks |
I have an AMD card. When I run it as
|
@f1am3d Please create a new seperate issue and provide more information or before that, try follow my Automatic1111 AMD Zluda install guide from here: |
@KurantGold Thanks mate. I have been struggling with my RX 580 video card for a very long time. I tried to start it via Zlud and directml, but all was unsuccessful. It was only with your help that I was able to. |
A RX580 8GB can work with ZLUDA. |
Checklist
What happened?
I re-installed directml stable diffusion from scratch and it is working correctly on CPU, and generating each image in 5min!, as soon as i add --use-directml. it can't load models anymore, the webui is loaded correctly but nothing is running
Steps to reproduce the problem
1 add --use-directml to webui user.bat
2 run webui user bat file on a clean working installation of directml stable diffusion ( works perfectly without --use-directml)
3 webui loads but models fail
What should have happened?
it should have worked via AMD GPU... it only works without --use-directml which is why we are using this version to make it work on GPU AMD rather than CPU!
No idea what i'm doing wrong here!.. it used to work perfectly before on my GPU but then an update happened few months ago that messed up everything.
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
sysinfo-2024-05-26-12-58.json
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: