Тёмный

Stable Diffusion Works on AMD GPUs - Step by Step Windows Install Guide (EASY!) 

StuffAboutStuff
Подписаться 7 тыс.
Просмотров 27 тыс.
50% 1

Stable Diffusion works on AMD Graphics Cards (GPUs)! Use the AUTOMATIC1111 Github Repo and Stable Diffusion will work on your AMD Graphics Card. This video is a Step-by-Step Guide that you can follow to get Stable Diffusion working on AMD cards using Windows in no time. The video is very easy to follow and you should have Stable Diffusion up and running on your own AMD kit quickly.
Links used in the video.
Git Repo used - AUTOMATIC1111 - Thanks for getting AMD fans working on Stable Diffusion!
github.com/AUTOMATIC1111/stab...
Python version required for Stable Diffusion on AMD.
www.python.org/ftp/python/3.1...
Git for Windows Download link.
gitforwindows.org/
Stable Diffusion extra Models - Download Best Models for Stable Diffusion.
stable-diffusion-art.com/mode...
Model Download link for the Stable Diffusion DreamShaper Model.
civitai.com/api/download/mode...
Link to access the Stable Diffusion Web Interface on your PC.
127.0.0.1:7860/
Chapters.
0:00 Intro to AMD GPUs working on Stable Diffusion
0:25 Github Repo AUTOMATIC1111
0:38 Install Software required for Stable Diffusion on AMD GPUs
1:18 Create Stable Diffusion Folders
1:36 Clone AUTOMATIC1111 Repo for SD AMD GPUS
1:56 Download Stable Diffusion DreamShaper Model
2:32 Verify Stable Diffusion folder Structure - Launch SD
3:12 Access Stable Diffusion Web Interface
4:06 Size AMD GPU Video Memory to your card
4:53 Edit webui-user.bat file
5:15 Add DreamShaper Model to Stable Diffusion
6:00 AMD GPUs Working in Stable Diffusion

Наука

Опубликовано:

 

5 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 179   
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi Everyone, Currently there seems to be an issue on the Automatic1111 AMD Github repo. When you follow the instructions in this video and you run webui-user.bat you might end up with this runtime error: Torch is not able to use GPU - add --skip-torch-cuda-test to the command line arguments. Hopefully the dev team will fix this soon on the repo. Should you encounter this please follow the steps in the following video unit the bug is resolved on the github repo ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TJ98hAIN5io.html
@LadyIno
@LadyIno 6 месяцев назад
This was extremely helpful, thank you very much ❤
@stuffaboutstuff4045
@stuffaboutstuff4045 6 месяцев назад
Thank you, glad you are up and running!
@phen2841
@phen2841 7 месяцев назад
Worked like a charm! Thanks oom
@stuffaboutstuff4045
@stuffaboutstuff4045 7 месяцев назад
You're welcome!
@radarmilitar
@radarmilitar 7 месяцев назад
It works well, but it doesn't install controlnet/openpose, and lora models don't have an option for the Activate Tab. In Entensions/Installe there is controlnet and openpose, but it does not install.
@mrmiereter
@mrmiereter 10 месяцев назад
I'm curious if others also get a black image when trying to generate with the newer model: SDXL 1.0 (SD v1-5 works but unfortunately not SDXL 1.0)
@stuffaboutstuff4045
@stuffaboutstuff4045 10 месяцев назад
Hi, I tested on SDXL. I was getting a very black image on Stable Diffusion 1.5.1 using SDXL Base 1.0. I did a git pull and upgraded SD to 1.5.2 from the repo. It is better but I still have my backgrounds turning out black in most pictures on 512x512. I don't have enough video ram to allow 1024x1024 sizes and I think that might be my problem. I will play with this a bit. I also followed these instructions for the SDXL model. stable-diffusion-art.com/sdxl-model/#Download_SDXL_10_model
@louwrenskoen5367
@louwrenskoen5367 10 месяцев назад
Thanks. Appreciated.
@stuffaboutstuff4045
@stuffaboutstuff4045 10 месяцев назад
You're welcome!
@deviwaazaa
@deviwaazaa 8 месяцев назад
hey boss I'm using a RX7900XTX with 24gb of vram and am getting pretty slow results. Do you have any advice? I put in the --medvram thing in as you suggested for 6+gb vram cards but I'm unsure if theres something I should do for such a large excess. Thanks.
@stuffaboutstuff4045
@stuffaboutstuff4045 8 месяцев назад
Hi, Your card has 12GB of RAM. You should be able to run without any of those settings. I see some use only --no-half-vae. The --medvram is for 6 to 8GB and not needed for cards with lots of VRAM. Check out this post for some discussion on RX6/7xxx settings. github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/8626 Let me know if you come right.
@johnwheel2591
@johnwheel2591 7 месяцев назад
@@Celenwen Have you found a solution?
@EditorPerezoso
@EditorPerezoso 11 месяцев назад
I'm quite disconnected from AI, even though I'm a technology lover. A while ago I downloaded the local version of one click install of SD but since the Rocm drivers for AMD were missing it was very slow and I didn't get anything either. I would like to use it just to generate images to accompany my videos. What is git needed for? Do you know anything about the rocm drivers? I think they only work on RDNA3
@stuffaboutstuff4045
@stuffaboutstuff4045 11 месяцев назад
Hi, I am running it with the latest standard drivers from AMD on an older RX card. No special drivers. It works well. Try and installing as per instructions in the video. You need Git to clone the repo I use in the video.
@texasenglishacademy5302
@texasenglishacademy5302 11 месяцев назад
yes thats exactly what i am doing, pictures to put in my audio lessons for my students, at the end the pictures don't have to be super great 2k or 4k but just enough to convey my lessons so this should work out for me.
@keyomallX
@keyomallX 10 месяцев назад
wow !!! saludos desde México, muchas gracias amigo.
@stuffaboutstuff4045
@stuffaboutstuff4045 10 месяцев назад
Thanks!
@dragnfire
@dragnfire 5 месяцев назад
win11 with an RX6800 16Gb, latest AMD drivers, followed instructions (making sure it's python 3.10.6), have deleted and tried twice making sure running cmd as admin but I get the following error: RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test ...... any suggestions??? Thanks
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, Thanks for reaching out. There seems to be a bug on the Automatic1111 AMD repo. Can you try this video, its a workaround that should work until they sort out repo. Let me know if it helped. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TJ98hAIN5io.html
@ayaa8039
@ayaa8039 6 месяцев назад
Thank you very much for your detailed tutorial 🙏🙏 I have followed it thoroughly and managed to launch the webUI, but when I generate my gpu is not working, it's all on my cpu. I have read your other answers and the links you gave in comments but nothing worked for me. I have a RX6800 16GB so I should not have any problem generating quickly on it. Would you have any solution ? Thanks a lot in advance
@stuffaboutstuff4045
@stuffaboutstuff4045 6 месяцев назад
Hi, Thank for reaching out. Are you getting any errors when following the video? What OS are you running on and let me know what Arguments you are using to launch SD?
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, Thanks for reaching out. There seems to be a bug on the Automatic1111 AMD repo. Can you try this video, its a workaround that should work until they sort out repo. Let me know if it helped. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TJ98hAIN5io.html
@TruMystery
@TruMystery 10 месяцев назад
rocm is supported in windows now have you looked into it running on directml is really slow
@stuffaboutstuff4045
@stuffaboutstuff4045 10 месяцев назад
Running stock standard, will check it out. Thanks!
@Jisgo3
@Jisgo3 10 месяцев назад
Hey bro I use the same gpu that you use, an RX580 8 gb. I have made several adjustments that I have seen --opt-sub-quad-attention --medvram --disable-nan-check --skip-torch-cuda-test --precision full --no-half. but it takes like 4 minutes to generate an image and it doesn't use the gpu it uses the processor. I don't know if the version of payton that I use is the problem, I use the most current one or if the model influences that. my pc is a ryzen 5 1600, 16 gb ram and rx580. I hope you can answer, greetings from Venezuela.
@stuffaboutstuff4045
@stuffaboutstuff4045 10 месяцев назад
Hi, Thanks for reaching out. The only setting I use for my card is the --medvram setting. I do think you need the correct version of Python here. Let me know if you that sorts it out..
@Jisgo3
@Jisgo3 10 месяцев назад
@@stuffaboutstuff4045 Hi bro. I'll tell you: change the python version to 3.10.6 but the gpu still doesn't work. I have tried with a released version of automatic1111 and neither. Now I have options like trying the focus interface that comes with the XL model, or installing ubuntu which, according to what I've read, does have the ability to work with AMD GPUs. what would you recommend? I'm also a linux user so it wouldn't be a problem for me. I just would spend more time doing the installation. Thank you greetings from Venezuela.
@AncientInsightsUniverseWithin
@AncientInsightsUniverseWithin 10 месяцев назад
Anyone know how to make comply ui work on AMD?
@ehsankholghi
@ehsankholghi 5 месяцев назад
can u use "KARRAS" sampling method on this version? i installed SD on my amd 6800xt but i only have 8 sampling methods.there is no KARRAS nad other like dmp++ .how can i fix this?
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Hi, you can try this fix posted by @karikaturdigital6123 on the SD Fix Torch Video. Check the video on the channel. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TJ98hAIN5io.html Fix for who has problem with No module named 'keras.__internal__' cmd on sd web ui directories venv\Scripts\activate pip install onnxruntime-directml pip install torch-directml pip install keras pip install tensorflow
@DJESHGAMING
@DJESHGAMING 10 месяцев назад
Do u also have a guide to use this with MS olive translation? It gives 10 times the performance they say
@stuffaboutstuff4045
@stuffaboutstuff4045 10 месяцев назад
Hi, Currently looking into into it. I will let you know when I have something ready.
@DJESHGAMING
@DJESHGAMING 10 месяцев назад
@@stuffaboutstuff4045 Great!
@Rene2Shae
@Rene2Shae 8 месяцев назад
Hey there! So when trying to run the webui-user i get this error: 'C:/stable-diffusion/stable-diffusion-webui-directml' is owned by: but the current user is: I am very new to this so I have no idea what to do.
@stuffaboutstuff4045
@stuffaboutstuff4045 7 месяцев назад
Hi You must use the exact version of Python I use in the video. Also make sure you execute all the command from "admin mode" command prompt. Let me know if you came right...
@TechnologyInspiration
@TechnologyInspiration 9 месяцев назад
Thanks its worked on my gpu RX 5600XT
@stuffaboutstuff4045
@stuffaboutstuff4045 9 месяцев назад
Thanks for the feedback!
@ersin6761
@ersin6761 7 месяцев назад
hey do you still use stable diffusion? i have same GPU. which model should i install? Shark or Dreamshaper?
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
I am using the Dreamshaper model.
@artymusoke1352
@artymusoke1352 6 месяцев назад
i love this tutorial, thank you. I get "RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check" error on the webui user bat install
@stuffaboutstuff4045
@stuffaboutstuff4045 6 месяцев назад
Hi, Thanks for reaching out, are you getting this issue on Windows 11?
@matthewfuller9760
@matthewfuller9760 6 месяцев назад
@@stuffaboutstuff4045 Same error on windows 10 pro here. (thanks!) radeon 6600xt, new install of windows 22h2
@BulbOfSalad
@BulbOfSalad 5 месяцев назад
@@matthewfuller9760 this is also something of note it is fast but using my cpu, im on a 5800X, very strange as its working and generally only takes a couple minutes im not sure if this is cause for concern atm. I am also on win 11 22h2
@matthewfuller9760
@matthewfuller9760 5 месяцев назад
@@BulbOfSalad I don't think it requires win 11 though?
@BulbOfSalad
@BulbOfSalad 5 месяцев назад
@@matthewfuller9760ofc not.
@danielbull5597
@danielbull5597 7 месяцев назад
Basically, I can start it when following the initial steps, but then when you close it and reopen it again, I can't do that part. How to do get the correct address command in CMD prompt? i.e. how do I get to write a command from scratch as you seem to do, starting from c:\, instead of the default WINDOWS\systsem32 that apppears in new CMD window that cannot be deleted?
@showywharf
@showywharf 7 месяцев назад
are you trying to (run it with administrator) settings??
@stuffaboutstuff4045
@stuffaboutstuff4045 6 месяцев назад
did you cd\ to get into the root of c:\? Command prompt will open in Windows\system32 then just type cd\, let me know if this resolves the issue?
@MisterCantaloupe
@MisterCantaloupe 4 месяца назад
I tried this and for some reason it is using my CPU instead of the 16Gb RX 6800 I have. How do I fix this? My CPU jumps up to 90°C after a few seconds, and the GPU doesn't seem to be being used at all.
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Hi, can you check if this video applies? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TJ98hAIN5io.html Otherwise share your command line arguments used for the GPU. Let me know...
@PAPAZEUZSHOW
@PAPAZEUZSHOW 10 месяцев назад
how do you execute the webuiuserbat file ??? sorry for my ignorance but im stucked
@stuffaboutstuff4045
@stuffaboutstuff4045 10 месяцев назад
Hi, Mine only worked in admin command prompt. If you launch like I do in the video you should be good to go. When it runs the first time it will install and set the environment up. Watch the screen for any errors. Let me know if you get it up and running...
@seorihyles
@seorihyles 9 месяцев назад
Professor, if you don't mind, is there a solution to this error...? AttributeError: module 'modules.dml' has no attribute 'initialize' I followed it exactly, but I can't figure out why this error occurs. I couldn't find it on GitHub either. Let me write down some of my computer specifications. CPU : AMD Ryzen 7 5800X3D 8-Core Processor GPU : AMD Radeon RX 6900 XT RAM : 32.0GB OS : Windows 11 Home
@stuffaboutstuff4045
@stuffaboutstuff4045 9 месяцев назад
Hi, I remember having similar issues, I ultimately resolved these issues and the two main components here were make sure you use the exact version of python recommended and run everything in administrative command prompt window. Let me know if it works. After ensuring this it was a pretty smooth install and run.
@seorihyles
@seorihyles 9 месяцев назад
@@stuffaboutstuff4045 Professor, thank you so much. Thanks to you, I solved it. No matter how many times I say thank you, it's not enough.
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Pleasure!
@DragonMango3390
@DragonMango3390 9 месяцев назад
Gracias, funciona :D
@stuffaboutstuff4045
@stuffaboutstuff4045 9 месяцев назад
Thanks!
@dejanjakobovic9803
@dejanjakobovic9803 9 месяцев назад
Hello, I already installed Stable Diffusion on Windows 11, but it uses my CPU. Do I have to download it again so that it uses my AMD GPU?
@stuffaboutstuff4045
@stuffaboutstuff4045 9 месяцев назад
Hi, What settings are you using in your config file. It must be issue in the config file telling it to use the CPU. Let me know if you come right.
@dejanjakobovic9803
@dejanjakobovic9803 9 месяцев назад
@@stuffaboutstuff4045 Thanks for replying. Can you please specify the address of the config file? There are some files on my stable-diffusion-webui that have "config" in their name, such as configs or configs.json.
@__-fi6xg
@__-fi6xg 8 месяцев назад
hy you didnt install rocm? does this not take advantage of the ai cores of the 6000 series?
@stuffaboutstuff4045
@stuffaboutstuff4045 8 месяцев назад
Hi, honestly I did not test performance on ROCM. I tested on default Windows driver and on the latest AMD driver. I could not pick up a difference between those two. Should you have loaded and it does boost performance please let me know. Granted I am running RX580
@__-fi6xg
@__-fi6xg 8 месяцев назад
@@stuffaboutstuff4045 i installed rocm, but i turned off ai acceleration because i dont want SD to break.
@jovabre
@jovabre 4 месяца назад
Did you consider using Torch-dorectml with stable diffusion ??
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Hi, thanks for reaching out. I did in the second video. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TJ98hAIN5io.html I will build SD again and maybe just make an updated video with consolidated current steps..
@jovabre
@jovabre 4 месяца назад
@@stuffaboutstuff4045 Thank you very much.
@texasenglishacademy5302
@texasenglishacademy5302 11 месяцев назад
this setup does work but of course everyone's machine is different so I had to make adjustments here and there. 6 month ago i had sd installed and it worked but i got rid of it because its too slow on my machine so I used online services. I decided to try it again after seeing sdxl was released and I had many problems just installing it until I ran across this video, again it does work with some adjustments and also not all models work so I am limited. on my original install it used my cpu almost maxing it out and not my gpu at all, this now used my gpu from 93-100% the cpu hangs around 30% and half of my system ram. I have 16GB ram, 3Ghz cpu and 128m gpu.
@stuffaboutstuff4045
@stuffaboutstuff4045 10 месяцев назад
This was run on 8GB RX 580 Radeon. My pressure is purely on the GPU. Not super fast but not painfully long waiting times as well. Glad to hear you are up and running.
@texasenglishacademy5302
@texasenglishacademy5302 10 месяцев назад
@@stuffaboutstuff4045 thanks for the video!
@Anderwcw
@Anderwcw 6 месяцев назад
Hi, can u help me? I got the error "RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check" I search and found that i have to use: "--opt-sub-quad-attention --lowvram --disable-nan-check --skip-torch-cuda-test --no-half" but when I use these commands, it runs completely on CPU. It's the only way I managed to get it running, I don't know what else to do
@Anderwcw
@Anderwcw 6 месяцев назад
i have a 4gb RX 570
@Anderwcw
@Anderwcw 6 месяцев назад
Here's the log: Traceback (most recent call last): File "I:\Modelo_IA\test 2\stable-diffusion-webui-directml\launch.py", line 48, in main() File "I:\Modelo_IA\test 2\stable-diffusion-webui-directml\launch.py", line 39, in main prepare_environment() File "I:\Modelo_IA\test 2\stable-diffusion-webui-directml\modules\launch_utils.py", line 560, in prepare_environment raise RuntimeError( RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
@stuffaboutstuff4045
@stuffaboutstuff4045 6 месяцев назад
Hi, Just want to check, you did follow all the steps and clone the AMD SD installer as in the video. You have to use the exact version of Python 3.10.6 (Add Python to Path when you install it). Run all the commands in "Admin" mode command prompt. I have tested this with both the Windows driver and AMD drivers and it worked on both using RX card. Also on a 4GB RX 570 if you follow all the steps in the video you should only need to use the following command line arguments. COMMANDLINE_ARGS=--opt-sub-quad-attention --lowvram --disable-nan-check. Let me know if you come right...
@Anderwcw
@Anderwcw 6 месяцев назад
@@stuffaboutstuff4045 Yes, I followed all the steps. In the step that opens webui-user, this error appears as the last message. If I don't add the command --skip-torch-cuda-test it doesn't even open the browser
@Anderwcw
@Anderwcw 6 месяцев назад
I had python 3.11 and I downgraded it, could it be that I did something wrong?
@i_am_wi11_
@i_am_wi11_ 9 месяцев назад
How did you add the stable diffusion onto the back screen
@stuffaboutstuff4045
@stuffaboutstuff4045 9 месяцев назад
Hi, bit of late reply, can you clarify the question..
@ehsankholghi
@ehsankholghi 5 месяцев назад
@@stuffaboutstuff4045 he asked about DARK THEME
@TsukitaAki
@TsukitaAki 10 месяцев назад
Why is mine so slow? I use 7900XTX. Is it because I use --precision full --no-half ? I use it because if not the error will show up in the console.
@stuffaboutstuff4045
@stuffaboutstuff4045 10 месяцев назад
Hi, You have a lot of video memory. You should be able to run SD without any special video RAM settings and using the defaults for the webui-user.bat file. If you check task manager, is it using CPU or GPU when creating? Is it slow on all models you try? Let me know if you come right...
@Kamael2077
@Kamael2077 10 месяцев назад
I have the exact same issue bro
@Kamael2077
@Kamael2077 10 месяцев назад
I Think SamaSumi and I have similar issues, so we would have to apply "--no-half" command to the bat file, because if not, it would show errors that some files not found in file 'Half". However, if we do apply the "no half" command, it will run without using the graphics card, it's gonna be very slow@@stuffaboutstuff4045
@ferluisch
@ferluisch 6 месяцев назад
what gpu did you use to test this?
@stuffaboutstuff4045
@stuffaboutstuff4045 6 месяцев назад
Hi, RX 580...
@barzoul5709
@barzoul5709 10 месяцев назад
Hello, I got this error on 6800xt : File "C:\Gen-IA\modules\dml\pdh\__init__.py", line 23, in expand_wildcard_path raise PDHError("Something went wrong.") modules.dml.pdh.errors.PDHError: Something went wrong. Could you help me please ?
@stuffaboutstuff4045
@stuffaboutstuff4045 10 месяцев назад
Hi, Thanks for reaching out. I know I has some issues with the build that was solved that by running everything in the admin command prompt as in the video. It is also important to ensure you use the correct version of Python. Did you further follow each step in the video? Let me know if you come right with this problem.
@Gae-qw1fc
@Gae-qw1fc 9 месяцев назад
@@stuffaboutstuff4045 What is the correct version of python? I'm using version 3.10.6
@kanekiken-fb1hm
@kanekiken-fb1hm 6 месяцев назад
have 7900xt getting an error: "Torch is not able to use GPU; add --skip-torch-cuda-test " when i reun webui
@stuffaboutstuff4045
@stuffaboutstuff4045 6 месяцев назад
Hi, Thanks for reaching out, are you getting this issue on Windows 11?
@kanekiken-fb1hm
@kanekiken-fb1hm 6 месяцев назад
yes sir@@stuffaboutstuff4045
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, Thanks for reaching out. There seems to be a bug on the Automatic1111 AMD repo. Can you try this video, its a workaround that should work until they sort out repo. Let me know if it helped. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TJ98hAIN5io.html
@Ayaplian8
@Ayaplian8 7 месяцев назад
Hello, I followed all the steps, it works but it uses the CPU resources and not my RX 6700XT GPU. Because?
@stuffaboutstuff4045
@stuffaboutstuff4045 7 месяцев назад
You should be able to run without any of those settings. I see some use only --no-half-vae Check out this post for some discussion on RX6xxx settings github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/8626 Let me know.
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, Can you check if this applies to your problem? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TJ98hAIN5io.html
@Dan-bl3tc
@Dan-bl3tc 9 месяцев назад
ERROR: Could not find a version that satisfies the requirement torch-directml (from versions: none) ERROR: No matching distribution found for torch-directml
@tonyibarra1523
@tonyibarra1523 9 месяцев назад
Same here, any solution?
@stuffaboutstuff4045
@stuffaboutstuff4045 9 месяцев назад
Hi, are you using the correct version of Python. Also make sure you run the commands in admin mode command prompt window. Lastly some firewalls may cause timeouts on some of the repos. Let me know if you come right...
@stuffaboutstuff4045
@stuffaboutstuff4045 9 месяцев назад
Hi, are you using the correct version of Python. Also make sure you run the commands in admin mode command prompt window. Lastly some firewalls may cause timeouts on some of the repos. Let me know if you come right...
@1hitkill973
@1hitkill973 9 месяцев назад
Dumb question. Does it have to be this exact version of Python or can we download newer ones (if available)?
@stuffaboutstuff4045
@stuffaboutstuff4045 9 месяцев назад
Hi, Yep it has to match the prescribed version on the repo.
@1hitkill973
@1hitkill973 9 месяцев назад
@@stuffaboutstuff4045 Thanks for this info. SD didn't work on my end though. Hope I'll get a proper card soon.
@Agri_Yob
@Agri_Yob 6 месяцев назад
I can't get past the part of making the directory, which works. After that I can't follow what you're doing.
@stuffaboutstuff4045
@stuffaboutstuff4045 6 месяцев назад
Hi, Download & install the required software, when installing remember to use the exact same version of Python (3.10.6), also execute all commands from "Admin" Command prompt, the rest should work if you follow the steps in the video. Let me know...
@indevrtb
@indevrtb 9 месяцев назад
train isnt working for me is there a way to fix it
@stuffaboutstuff4045
@stuffaboutstuff4045 9 месяцев назад
Hi, Maybe check out this link and let me know if it helps. www.reddit.com/r/StableDiffusion/comments/y2yoex/automatic1111_train_tab_guide_needed/?rdt=55796
@Gutov-cw2hx
@Gutov-cw2hx 10 месяцев назад
man ty
@stuffaboutstuff4045
@stuffaboutstuff4045 10 месяцев назад
Thanks for reaching out..
@nickrakmanda201
@nickrakmanda201 9 месяцев назад
Me aparece esto NotImplementedError: Cannot copy out of meta tensor; no data!
@stuffaboutstuff4045
@stuffaboutstuff4045 8 месяцев назад
Hi, Looks like something is wrong with the model you downloaded. Make sure its not corrupt model. Also make sure you run all the commands used in the video in Admin Command Prompt. You also have to use the exact Python version specified in the video.. If you followed the steps and model is working then maybe check out this thread if still stuck. Everything should work if you follow the steps in the video but as a last resort looks at the link below.. github.com/AUTOMATIC1111/stable-diffusion-webui/issues/13087
@foreropa
@foreropa 9 месяцев назад
It runs putting -skip-torch-cuda-test and --no half, but it´s painfully slow, EXTREMELY slow compared to my last card. I had a 6GB GTX 970 TI. Now I have a RX 6950 XT with 16 GB of ram and it´s like 5 times slower than before. I also add the --medvram and it´s the same.
@stuffaboutstuff4045
@stuffaboutstuff4045 9 месяцев назад
Hi I will investigate this a bit. You should be able to run it reasonably fast with your spec GPU. Should be able to run it with no special settings in the config..
@foreropa
@foreropa 9 месяцев назад
@@stuffaboutstuff4045 Thanks, I really hope you can help me, I manage to make it work but it´s really slow, it seems Stable Difussion is not made for AMD cards because of not CUDA support, or that´s what I read.
@chrysanth267
@chrysanth267 8 месяцев назад
@@foreropa If you're on Windows I've heard another solution is to install Linux and then ROCm which supposedly should allow SOME AMD GPUs to work with CUDA. ROCm may work with some older AMD GPUs but some claim it's fine if you're working with an RDNA GPU. Running into roadblocks because of AMD GPU has been annoying. Also @stuffaboutstuff4045 thank you for the video. I'm excited to try this as I'd been looking into older version of Comfyui (newer version supposedly just moved to cuda12.1) since I thought I'd be unable to use A1111 with my machine specs.
@foreropa
@foreropa 8 месяцев назад
@@chrysanth267Thank you very much for your answer. I have managed to make it work in windows, I don´t know if it´s slow or not, but well, at least it works.
@bryson2350
@bryson2350 6 месяцев назад
remove the medvram option
@125kamil2
@125kamil2 9 месяцев назад
why me run on cpu? i have rx 6600 gpu but its running on my cpu lmao, how to fix it?
@stuffaboutstuff4045
@stuffaboutstuff4045 9 месяцев назад
Hi, what commandline_args are you using? You should have --medvram set. That is a 8GB card. Also check the link github.com/AUTOMATIC1111/stable-diffusion-webui/issues/5468
@mrmiereter
@mrmiereter 10 месяцев назад
Thank you for the tutorial! It is still very slow to generate. I have a AMD Radeon rx 5600 XT, and I see my GPU is working, and it still takes 4 minutes to generate one image of Homer Simpson. I guess I still have to buy a new Nvidia card if I want to use Stable Diffusion.
@stuffaboutstuff4045
@stuffaboutstuff4045 10 месяцев назад
Hi, Glad to hear its working! Thanks for the feedback. Did you update the config file according to your GPU video memory. When I produce the image on an older RX580 8GB it takes 55 seconds using the Dreamshaper model. Not super fast but for what I use it for more than sufficient. I hope you get it sped up...
@mrmiereter
@mrmiereter 10 месяцев назад
Yes updated the config file, everything works with v1-5. Thanks! Unfortunately it works not with SDXL 1.0 on my machine.
@mathwiz1260
@mathwiz1260 7 месяцев назад
@@stuffaboutstuff4045 Thanks for that, i have an AMD 8GB dedicated video Ram and each picture is taking 5min to come out with 17s/it !! looks like my machine is ignoring the GPU and using only CPU... i have the --medvram config already but there must be another file to tell the stable diffusion to use the GPU rather than CPU.. Thanks
@supersonicman4353
@supersonicman4353 5 месяцев назад
It wont use my gpu and only uses my cpu can someone please help btw my specs are: 6800xt 7600x(cpu) and 32 gigs of ddr5 ram its taking 5-10 minutes to load simple images
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, what command line arguments are you using. One of the users on the other video mentioned these worked well for him on a 6700XT, set COMMANDLINE_ARGS=--use-directml --medvram --precision full --no-half --no-half-vae --opt-split-attention-v1 --opt-sub-quad-attention --disable-nan-check. Did you check out the below link and try the switches under Automatic Installation heading. Let me know if this helped.. github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs
@supersonicman4353
@supersonicman4353 5 месяцев назад
@@stuffaboutstuff4045 ​ @stuffaboutstuff4045 Whenever I use those command lines its says io need "to ---skip-torch-cuda-test" so I plug it in and then is says I need to delete --use-directml and after I delete --use-directml its back to only using my CPU. and yes I have python 3.10.6 and git properly installed and my current command line is "--skip-torch-cuda-test --no-half --precision full --use-directml --medvram --precision full --no-half --no-half-vae --opt-split-attention-v1 --opt-sub-quad-attention --disable-nan-check" and it still gives me the prompt to delete --use-directml and when I do delete it doesn't use my gpu but when I have --use-directml stable diffusion wont boot and it will give me a error code
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, Did you check this video below. Is this not the issue you are sitting with? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TJ98hAIN5io.html This video should resolve your issue.
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, Did you check this video below. Is this not the issue you are sitting with? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TJ98hAIN5io.html This video should resolve your issue.
@bronsonvdbroeck
@bronsonvdbroeck 10 месяцев назад
Bru there has to be an easier way to execute the program, going through command prompt every time will drive me mad! :D Thanks for the help though! Also from South Africa!
@stuffaboutstuff4045
@stuffaboutstuff4045 10 месяцев назад
Hi, I had dodgy results using the .bat file or shortcut directly. Have been running out of CMD and everything works perfectly. Will look into this and revert. Thanks for reaching out!
@elementpricee
@elementpricee 6 месяцев назад
not work, I installed SD many times, nothing helps today "RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check"
@secundus6457
@secundus6457 6 месяцев назад
Same.
@elementpricee
@elementpricee 6 месяцев назад
Hey there! The same thing happened to me, this is what fixed the problem: -Clone SD again on a different folder. -Open and add on 'requirements_versions.txt' the following: torch-directml. -On webui-user add '--use-directml' on set COMMANDLINE_ARGS= -Run webui-user. It should continue with the install without problems.@@secundus6457
@secundus6457
@secundus6457 6 месяцев назад
@@elementpricee Thanks for your help! But now I have: "AttributeError: module 'torch' has no attribute 'dml'"
@stuffaboutstuff4045
@stuffaboutstuff4045 6 месяцев назад
Hi, Are you using the exact same version of Python when installing (3.10.6), also execute all commands from "Admin" Command prompt, the rest should work.
@nakul9282
@nakul9282 6 месяцев назад
@@stuffaboutstuff4045 yeah
@enzovillacorta
@enzovillacorta 3 месяца назад
I followed all the steps and it runs correctly but when generating something I get the error Warning: caught exception 'Found no NVIDIA driver on your system
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, Did you check out this video. Is this the issue you have... ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TJ98hAIN5io.html
@Gae-qw1fc
@Gae-qw1fc 9 месяцев назад
I did the whole procedure, but at the end it gives an error
@stuffaboutstuff4045
@stuffaboutstuff4045 9 месяцев назад
Hi, If you followed this step by step it should work fine. Can you share the error.
@Gae-qw1fc
@Gae-qw1fc 9 месяцев назад
@@stuffaboutstuff4045 Ok, I'm going to do the whole procedure again (I've reset my PC), if the error appears I'll share it here.
@Gae-qw1fc
@Gae-qw1fc 9 месяцев назад
@@stuffaboutstuff4045 That's the mistake, right at the end: Installing requirements Launching Web UI with arguments: no module 'xformers'. Processing without... no module 'xformers'. Processing without... No module 'xformers'. Proceeding without it. Traceback (most recent call last): File "C:\stable-diffusion\stable-diffusion-webui-directml\launch.py", line 48, in main() File "C:\stable-diffusion\stable-diffusion-webui-directml\launch.py", line 44, in main start() File "C:\stable-diffusion\stable-diffusion-webui-directml\modules\launch_utils.py", line 476, in start import webui File "C:\stable-diffusion\stable-diffusion-webui-directml\webui.py", line 13, in initialize.imports() File "C:\stable-diffusion\stable-diffusion-webui-directml\modules\initialize.py", line 34, in imports shared_init.initialize() File "C:\stable-diffusion\stable-diffusion-webui-directml\modules\shared_init.py", line 26, in initialize dml.do_hijack() File "C:\stable-diffusion\stable-diffusion-webui-directml\modules\dml\__init__.py", line 70, in do_hijack if not torch.dml.has_float64_support(device): File "C:\stable-diffusion\stable-diffusion-webui-directml\modules\dml\backend.py", line 42, in has_float64_support return torch_directml.has_float64_support(get_device(device).index) File "C:\stable-diffusion\stable-diffusion-webui-directml\modules\dml\utils.py", line 7, in get_device device = torch.dml.current_device() File "C:\stable-diffusion\stable-diffusion-webui-directml\modules\dml\backend.py", line 48, in current_device return DirectML.context_device or DirectML.default_device() File "C:\stable-diffusion\stable-diffusion-webui-directml\modules\dml\backend.py", line 51, in default_device return torch_directml.device(torch_directml.default_device()) File "C:\stable-diffusion\stable-diffusion-webui-directml\venv\lib\site-packages\torch_directml\device.py", line 38, in device raise Exception(f"Invalid device_id argument supplied {device_id}. device_id must be in range [0, {num_devices}).") Exception: Invalid device_id argument supplied 0. device_id must be in range [0, 0).
@dlawrence
@dlawrence 8 месяцев назад
Getting this error running webui-user.bat - TypeError: AsyncConnectionPool._init_() got and unexpected keyword argument 'socket option" Any advice? Thanks!
@dlawrence
@dlawrence 8 месяцев назад
Figured it out! Needed to install a compatible version of httpx
@Ayaplian8
@Ayaplian8 8 месяцев назад
@@dlawrence How did you manage to make it work, the same thing happens to me.
@dlawrence
@dlawrence 8 месяцев назад
@@Ayaplian8 Try typing these two lines: cd stable-diffusion-webui && source venv/bin/activate pip3 install httpx==0.24.1
@stuffaboutstuff4045
@stuffaboutstuff4045 7 месяцев назад
Glad you hear you got this resolved.
@mr.diontoahmed1134
@mr.diontoahmed1134 8 месяцев назад
WebUI doesn't even run with AMD GPUs! What kind of tutorial is this?
@stuffaboutstuff4045
@stuffaboutstuff4045 8 месяцев назад
Hi, The tips on getting everything working, Correct version of Python, run the commands in admin mode command prompt, make sure you have correct config setting for VRAM matching your GPU. If you still have problems let me know what AMD card you are using...
@SINEWEAVER-
@SINEWEAVER- Месяц назад
I cant tell if you are an aussie or an indian guy
@stuffaboutstuff4045
@stuffaboutstuff4045 Месяц назад
😉 lol neither. But the aussie guess is closer.
@marcuwu1990
@marcuwu1990 10 месяцев назад
Yeah.. it can work with AMD but didnt use the GPU at all xd it use ram :'v
@stuffaboutstuff4045
@stuffaboutstuff4045 10 месяцев назад
Hi, Mine used the GPU. It goes to about 80% and sits till complete. Takes 55 seconds per image on average using the Dreamshaper model.. Thank for reaching out..
@Christian_Ky
@Christian_Ky 4 месяца назад
That has nothing to do with AMD GPU, it runs on the CPU now..
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Hi, just check if this applies to you did you check this SD video.. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TJ98hAIN5io.html
@humbug1
@humbug1 2 месяца назад
How do i do this? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-POtAB5uXO-w.htmlsi=7XdxB3eWTq0xnMTi&t=152
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, to get SD working currently you have to follow the original video but you also need to follow the steps in the updated video to remedy some issues. Can you check out the new video and let me know if that gets you up and running. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TJ98hAIN5io.html
@moravianlion3108
@moravianlion3108 8 месяцев назад
webui-user.bat says 'webui.bat' is not recognized as an internal or external command, operable program or batch file. So, after launching webui.bat, it's venv "C:\Program Files\stable_diffusion\webui\stable-diffusion-webui-directml\venv\Scripts\Python.exe" C:\Program Files\stable_diffusion\webui\stable-diffusion-webui-directml\venv\Scripts\Python.exe: can't open file 'launch.py': [Errno 2] No such file or directory
@stuffaboutstuff4045
@stuffaboutstuff4045 8 месяцев назад
Hi, Did you check that you are using the exact version of Python. Make sure you run the commands in admin mode command prompt. Let me know if problem persist?
@mastax1234
@mastax1234 4 месяца назад
You need to add --skip-torch-cuda-test to the command line arguments in the webui-user.bat before running the webui-user.bat for the first time or else it wont install everything.
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, Thanks for the input and for reaching out! Much appreciated. For those still stuck with --skip-torch-cuda-test. Please check out this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TJ98hAIN5io.html
@cptninja7890
@cptninja7890 7 дней назад
2:58 there is no link in my cmd promt
@3DArtist-Indie_Game_Developer
@3DArtist-Indie_Game_Developer 8 месяцев назад
if anyone got it and fixed it please? i managed to get all the possible errors in the last few days and now i got this creating venv in directory / and then Unable to create venv in directory then i get ... \\venv\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. 😅 at this point i dont even know what is happening XD
@stuffaboutstuff4045
@stuffaboutstuff4045 8 месяцев назад
Hi, Make sure you have the correct version of Python as per video. Make sure you run all the commands in admin mode command prompt. Let me know if this resolves the issue..
@gustavodeares
@gustavodeares 8 месяцев назад
I follow the steps, buy always I get a black image :(
@stuffaboutstuff4045
@stuffaboutstuff4045 8 месяцев назад
Hi, The tips on getting everything working, Correct version of Python, run the commands in admin mode command prompt, make sure you have correct config setting for VRAM matching your GPU. If it still does not work let me know what video card you have.
@gustavodeares
@gustavodeares 8 месяцев назад
@@stuffaboutstuff4045 I have a Radeon RX-480 8GB
Далее
100+ Linux Things you Need to Know
12:23
Просмотров 84 тыс.
Сумерки сасага🧛
11:41
Просмотров 957 тыс.
DON'T Install WINDOWS Without Watching This FIRST!
11:11
Blackview N6000SE Краш Тест!
1:00
Просмотров 37 тыс.
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
Просмотров 171 тыс.