Тёмный

Fixed- Torch is not able to use GPU AMD Stable Diffusion --skip-torch-cuda-test (AUTOMATIC1111) Bug 

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

There seems to be an issue with the current Stable Diffusion AMD build on the linked below Automatic1111 repo from Dec 2023. When a user executes the webui-user.bat file it returns the following runtime error: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS
This video aims to provide a temporary quick workaround until this issue is resolved on the repo. Please let us know in the comments if this video resolved the issue.
Follow our channel for future AI and Technology videos!
Repo with problem from December 2023.
github.com/AUTOMATIC1111/stab...
Make sure you follow all the steps in this video first. • Stable Diffusion Works...
If you still have Torch is not able to use GPU; add --skip-torch-cuda-test issues then try the steps in this video.
👀 Timestamps:
0:00 Bug on Automatic1111 AMD Repo
0:35 Torch is not able to use GPU
1:00 Fix for Bug on repo Torch is not able to use GPU

Наука

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

 

5 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 347   
@alsbr8ball
@alsbr8ball 5 месяцев назад
Excellent tutorial! Very good!!! It worked here, and I can use my 4GB AMD GPU again. Thank you, I appreciate you sharing this knowledge. I left a like and you gained another subscriber! Congratulations on the channel 🙌🙏
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, thank you so much for the generous feedback. Appreciated! Glad you are up and running again.
@xOnlyyx
@xOnlyyx 4 месяца назад
Hello, I'm from Brazil, I'm infinitely grateful for your tutorial, not even on the official AMD website do they teach this, thank you very much for the video, all the best to you!
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Hi, thanks for reaching out. Glad the video assisted.
@mystallite8826
@mystallite8826 3 месяца назад
I have taken every step to install automatic 1111 on AMD VGA according to the video on this channel, but when I try to execute the webui-user.bat file using administrator still "torch is not able to use gpu" when I try to skip the gpu check, it can open the automatic window 1111, but still when rendering the image midway still and there is word 'error' torch is not able to use gpu I don't know what's wrong, maybe installing a new torch is not accompanied by uninstalling the old torch... but I can't fix it either. 😪
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, I built this today again, steps in this video still applies and seems to be valid. Did you ensure --use-directml in config. I am sure you have but maybe just double check all steps in the video again. If you still get the Skip Cuda Test issue then try to start SD with --skip-torch-cuda-test as the only argument. Let is start and check if it builds. Then you will have to follow all steps in this video again.
@chexmixkitty
@chexmixkitty 5 месяцев назад
Thank you! I updated SD and it stopped working and this fixed my issue! My AMD isn't as fast as Nvidia at this stuff, but it's still way faster than using my CPU.
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Great to hear! Glad you are sorted.
@Reiren350
@Reiren350 4 месяца назад
what gpu u using ?
@_TrueDesire_
@_TrueDesire_ 3 месяца назад
@@stuffaboutstuff4045 thank you for this guide! followed AMD's guide that gave me same Cuda error, I followed your steps and now my webui works :) it's March, one would think it would've been fixed by now?
@dronel1637
@dronel1637 3 месяца назад
@@_TrueDesire_ hey, sorry to bug you, what "AMD's guide" are you referring to? i only find paindull stuff on google, and that sounds as if it could at least help me cover the basics :D
@masteigne1219
@masteigne1219 5 месяцев назад
Ty i struggled for like 3h, gave up then some day later found your video and its working
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
No problem 👍 Glad the video got you up and running. Thanks for the feedback.
@kylepeterson971
@kylepeterson971 5 месяцев назад
Absolute legend! I've watched about 20 different videos on this issue and yours worked! Thank you!!!
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, Thanks for the feedback! Much appreciated.
@myr7922
@myr7922 3 месяца назад
Huge ups, brother! Thank you so much! Also, I love the accent. Have a great day!
@stuffaboutstuff4045
@stuffaboutstuff4045 3 месяца назад
Pleasure! Glad the video assisted. Thanks for the feedback!
@BBnI90
@BBnI90 5 месяцев назад
Hi, After I edit the requiremenets_version.txt. and run the install requiremenets, I get this error: ERROR: Could not find a version that satisfies the requirement torch-directml (from versions: none) ERROR: No matching distribution found for torch-directml
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, did you follow the steps in the original video posted first. Takeaways from the first video rum command prompt in admin mode make sure to use correct Python version. Let me know if you still get this?
@AlwaysBolttheBird
@AlwaysBolttheBird 2 дня назад
great video. I had some issues and want to add what fixed them for me in case people still have issues. After everything in this video I also had to instal Visual Studio Community and delete the vent folder and let it recreate it on first launch
@saskiam8551
@saskiam8551 2 месяца назад
You Sir, are a godsend. Fixed the issue after 3 hours of different shitty videos explaining it poorly. Thank you so much.
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Pleasure, glad the video assisted.
@TheFluffiestZinogre
@TheFluffiestZinogre 2 месяца назад
Fixed my issue, thanks for the video!
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
You're welcome! Thanks for the feedback, much appreciated.
@simondiaz184
@simondiaz184 5 месяцев назад
Eres mi nuevo Dios, trabajé perfectamente. Pasé como una semana buscando alguna solución, hasta que encontré tu video. Eres el mejor, muchas gracias amigo. rx 580 8gn nitro
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Thanks for the feedback! Glad to hear this video could help you out after your week of searching.😉 Again, thanks for the nice comments!
@MrAntisound
@MrAntisound 2 месяца назад
Thanks !! Worked like a charm !
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
You're welcome! Glad it helped. Thanks for the feedback.
@loverofcakes66
@loverofcakes66 4 месяца назад
hello i was following your video and realized that for some reason i do not have webui.user.bat on the file in order to edit it. what should i do? And thanks in advance!
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Hi, Thanks for reaching out. Did you follow all the steps in the original video? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-POtAB5uXO-w.html If problem persist, try and clone the repo and run in a new SD Folder. Let me know if you came right with this.. Thanks.
@maxsosa3908
@maxsosa3908 2 месяца назад
Thank you so much! after so many videos and blog posts this worked for me, running RX 7800 xt, however still not able to run olive
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Great to hear! Glad the video assisted. what happens when you launch olive support. Let me know if you got this sorted out. Thanks for reaching out and for the feedback.
@BigBrownWolf_
@BigBrownWolf_ Месяц назад
im trying with the same gpu but still getting the same error. any tips?
@metatrontf
@metatrontf 2 месяца назад
THANK YOU. You're a genius and an absolute credit to this community. Can't thank you enough for your amazing help, wish you the best!
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Thanks for the nice feedback! Agreed, people in this community have been stunning in helping out and supplying new input into this topic. Glad you are up and running.
@lukasberendt2692
@lukasberendt2692 5 месяцев назад
THANK YOU SO MUCH. I was searching for a solution but nothing worked. now everything is working really good. I still had some error, but changing the Arguments to set COMMANDLINE_ARGS=--use-directml --medvram --precision full --no-half --no-half-vae --opt-split-attention-v1 --opt-sub-quad-attention --disable-nan-check worked for my 6700 xt
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Great to hear! Glad you are up and running again. Thanks for the feedback..
@hg7299
@hg7299 3 месяца назад
For people that don't know how to open a given folder in CMD: click the big bar in top of your folder, then write there "cmd". Then the folder will open in CMD by itself.🎉
@stuffaboutstuff4045
@stuffaboutstuff4045 3 месяца назад
Thanks 😊
@shreyverma1006
@shreyverma1006 2 месяца назад
Thanku😂
@shreyverma1006
@shreyverma1006 2 месяца назад
literally i was stucked at the same point so long searching for it
@AbhishekGupta-qj8kq
@AbhishekGupta-qj8kq 16 дней назад
it does not open as administrator
@sheppy951
@sheppy951 Месяц назад
thank you very much! at first i thought my system is trolling me but i just had a typo in the requirements file and now its working :D
@stuffaboutstuff4045
@stuffaboutstuff4045 Месяц назад
Glad to hear that you are up and running. Thanks for the feedback.
@user-sn6ej5yu3d
@user-sn6ej5yu3d 5 месяцев назад
Will you do a video when the bug is fixed? I can't get it to work still, the "venv\Scripts\activate" line does not work and I don't know what I am doing wrong.
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, just to check basics, you are running commands in admin mode prompts. Did you follow all the steps in first video including the required SW? Let me know if you came right with this issue. Thanks for reaching out. I will update the comments when the bug is resolved.
@ELkAvGoPe
@ELkAvGoPe Месяц назад
@@stuffaboutstuff4045 hello fix problem?
@mandy11254
@mandy11254 2 месяца назад
I did this and it seems fixed but in the terminal it says it's running with torch 2.0.0+cpu. Does this mean my GPU is not being used?
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, you can open task manager and then performance, when you produce an image you should see your GPU spiking, you should be able to see if is using the GPU to its full potential. Glad you are up and running and thanks for reaching out.
@sparngaming1091
@sparngaming1091 5 месяцев назад
Sir u dont khow how much u have helped me ive been running errors for 4 day and u solved every problem with the codes
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, thanks! Great to hear you sorted out and back on track..
@KindReDZerg
@KindReDZerg Месяц назад
Thank you very much, the problem still exists and after reinstalling repository and making all steps in this video i finally can use Stable Diffusion, after six hours of trying to solve the problem!
@stuffaboutstuff4045
@stuffaboutstuff4045 Месяц назад
Glad it helped and that you are up and running. Thanks for the feedback, much appreciated.
@linkinolli
@linkinolli 4 месяца назад
Thank you very much for this tutorial
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Pleasure! Thank you for the feedback! Much appreciated.
@romain1599
@romain1599 2 месяца назад
Thank you for your video man ! Nice explanations and thanks to this videos comments all my problems were fixed, I just don't know if removing the "--onnx" command will change something but now my CPU can breath !
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Great to hear! Thanks for the nice feedback, much appreciated! Glad your up and running. Agreed, people in this community have been stunning in helping out and supplying new input into this topic.
@iago4400
@iago4400 4 месяца назад
I added exactly the same command lines on the proper files and the error still persists: Traceback (most recent call last): File "G:\StableDiff\stable-diffusion-webui\launch.py", line 48, in main() File "G:\StableDiff\stable-diffusion-webui\launch.py", line 39, in main prepare_environment() File "G:\StableDiff\stable-diffusion-webui\modules\launch_utils.py", line 384, 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 4 месяца назад
Hi, Just want to check, you followed all the basics. Run all commands in admin mode. Use correct version of Python. Did you follow all the steps in the original video including required SW. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-POtAB5uXO-w.html Let me know...
@NNichtnormal
@NNichtnormal 17 дней назад
hey thank you very much. took forever till I realized my graphics card is the problem. After hours this video finally gave me a solution.
@stuffaboutstuff4045
@stuffaboutstuff4045 15 дней назад
Thanks. Appreciate the feedback.
@Valentina-zx1pi
@Valentina-zx1pi 3 месяца назад
How do i open an Administration Command Prompt- webui-iser.bat?? You skipt it in the video and now I can't continue, please help!!
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, You need to click on the Windows Search, search for "command prompt" right click on it select Run in Admin mode. Let me know if you came right..
@Vanberk13
@Vanberk13 5 месяцев назад
I spent hours looking for a solution, thank you!
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, glad to hear the video helped. Thanks for the feedback.
@transcendedweeb7990
@transcendedweeb7990 7 дней назад
If you get the error: "AttributeError: module 'torch' has no attribute 'dml'"; Return to the commandline virtual environment and run the following: pip install torch-directml
@stuffaboutstuff4045
@stuffaboutstuff4045 3 дня назад
Thanks for sharing.
@bzashadows
@bzashadows 23 дня назад
yes, this worked, ty so much. using amd rx6600
@stuffaboutstuff4045
@stuffaboutstuff4045 20 дней назад
Good to hear, thanks for the feedback. Much appreciated.
@Toucifer_Gangk
@Toucifer_Gangk 4 месяца назад
I used the first video to reinstall SD. Then I used this video to fix the issue. Happy to report that after 3 months, Stable Diffusion is using my AMD gpu again!! Thanks for the straight forward video!!
@vikasverma2580
@vikasverma2580 4 месяца назад
how much time does it take to generate 1 image on amd
@Toucifer_Gangk
@Toucifer_Gangk 4 месяца назад
@vikasverma2580 it depends on what gpu you have and how big the image you want to generate is. I have a 6700xt and it takes me about 45-60 seconds to generate a 720x424 image. The only command line argument i use right now is --use-directml
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Thanks for the feedback, glad to hear the video helped out..
@Chellyzinho
@Chellyzinho 5 месяцев назад
thank you gatão
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Thanks for the feedback! Glad you up and running!
@rizuw
@rizuw 5 месяцев назад
oi chelly
@PeterFMP
@PeterFMP 5 месяцев назад
I now run into a new problem "AttributeError: module 'modules.devices' has no attribute 'inference_context'". Any ideas?
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Hi, thanks for reaching out.. Initial scan might correlate to delete venv folder and try again. github.com/lshqqytiger/stable-diffusion-webui-directml/discussions/368 Just want to check, you followed all the basics. Run all commands in admin mode. Use correct version of Python. Did you follow all the steps in the original video including required SW. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-POtAB5uXO-w.html Let me know...
@Potatopotatoo95
@Potatopotatoo95 5 месяцев назад
This is a godsent, thank you! I followed the guide to the dot and it now completely uses the 7800xt instead of CPU. The only issue I have now that I need to use the administrative cmd in order to open SD, else I'll get a fatal: detected dubious ownership in repository error.
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Glad you are up and running on the GPU. SD needs admin mode. I think the code is well vetted and a huge repository being reviewed👨‍💻 , so "hopefully" is safe. Thanks for reaching out!
@gerhardoosthuizen1174
@gerhardoosthuizen1174 2 месяца назад
dankie man dis nie julle mal die selfte probleem as wat ek het nie maar dit het my n paar goeie tips gegee
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, glad it could help! Dankie vir die terugvoer!
@blackpanda1247
@blackpanda1247 5 месяцев назад
may you be blessed with eternal health :) why make it complicated when you can always show it as easy as you do, thank you :)
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Thanks! Appreciated..
@kdifirkrtnrigkr3085
@kdifirkrtnrigkr3085 5 месяцев назад
I get the FileNotFoundError: "Can't run without a checkpoint.", even though i placed the models into the models/stable-diffusion folder. I would be really happy about a solution!
@kdifirkrtnrigkr3085
@kdifirkrtnrigkr3085 5 месяцев назад
In the Ui they also dont show up in the dropdown-menu
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, if you compile without ONNX support and just load the Dreamshaper model following the steps in the below video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-POtAB5uXO-w.html if that does not work what happens if you compile with ONNX and then download a ONNX model from Huggingface from the SD GUI? Let me know...
@gillesd8388
@gillesd8388 2 месяца назад
Thanks for your help, it's have fixed my issue, Now it works much faster with my 7900GRE but i had to remove the cmd --onnx that create me an other issue
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Glad it helped, thanks for the feedback.
@JO-jg2vd
@JO-jg2vd 5 месяцев назад
This video saved me so much time thx
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Pleasure! 👍Thanks for the feedback..
@kobusdowney5291
@kobusdowney5291 2 месяца назад
I am now running A1111 DIRECTML version using ZLUDA (--use ZLUDA) Setup is hard, but is way more flexible as it uses ROCm as "cuda" cores. Only about 20% slower than using ROCm in Linux
@strategieco8406
@strategieco8406 2 месяца назад
how?
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, glad to hear you up and running.
@Виктор_Крылов
@Виктор_Крылов 5 месяцев назад
Hi! The error "FileNotFoundError: No checkpoints found. When searching for checkpoints, looked at: - file G:\SDamd\model.ckpt - directory G:\SDamd\models\Stable-diffusionCan't run without a checkpoint. Find and place a" .ckpt or .safetensors file into any of those locations" how to fix this? There are models in the Stable-diffusion folder (openjourney_V4.ckpt and ghostmix_v12.safetensors) but he doesn’t see them (
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, when the GUI opens can you not select the model from the dropdown? Also make sure you follow all the basics in the original version of the video on the channel, Admin prompts and correct Python version etc. Also try the dreamshaper model I use in the original video? Let me know if that resolves the issue?
@Виктор_Крылов
@Виктор_Крылов 5 месяцев назад
@@stuffaboutstuff4045 Yes, I can’t choose anything in the list of models, I followed the instructions step by step, the Python and Git versions were correct. I got tired of trying and deleted everything, apparently only on Nvidia there are no problems... AMD in the trash
@kdifirkrtnrigkr3085
@kdifirkrtnrigkr3085 5 месяцев назад
@@stuffaboutstuff4045 I have the same issue, please help!
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, if you compile without ONNX support and just load the Dreamshaper model following the steps in the below video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-POtAB5uXO-w.html if that does not work what happens if you compile with ONNX and then download a ONNX model from Huggingface from the SD GUI? Let me know...
@zombiewolf007
@zombiewolf007 2 месяца назад
EDIT: I think I fixed it? See below... Can anyone help please? Performed steps in original video and in this video. My issue is that is seems like my install is ignoring any and all changes that I make to my webui-user.bat. I'm running Windows 11 and have a Ryzen 7 7840 with an 780M GPU. Ultimately, when I run webui.bat, I still get "RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check" - Its maddening I've even tried adding these arguments to my webui-user.bat and it still gives me the same mindless error about "not able to use GPU" X_X: --use-cpu all --precision full --no-half --skip-torch-cuda-test Of course, I first tried only "--use-directml" but it doesnt do anything. Any help would be appreciated. Thank you I eventually updated my webui-user.bat to the following args: set COMMANDLINE_ARGS=--use-directml --opt-sub-quad-attention --no-half --disable-nan-check --autolaunch Then I STILL couldnt run webui.bat, got the same error, so something is definitely wrong with the script somewhere... HOWEVER, I then went into command prompt into my stable diffusion git-cloned directory and from command prompt I simply ran "webui-user.bat" and I waited forever for it to download and install things, and I walked away from my PC and like 10 minutes later, I came back to my PC and the webui was open! I then selected stable diffusion 1.5 from the dropbox, and typed in "a bear" and I saw my GPU being utilized 100% and in under 1 minute I had an Ai-made 'bear' image! Good times! :) In other words, once you have everything installed the first time, DONT use the "webui.bat" to open the Web UI....use the webui-user.bat file, and if you followed the other instructions in this video here, it should open fine after some time. Good luck to everyone else, hope this maybe helps.
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, glad to hear you are up and running!
@luizerajoga1506
@luizerajoga1506 Месяц назад
Thank you for your help.
@stuffaboutstuff4045
@stuffaboutstuff4045 Месяц назад
You're welcome!
@furkanbezci3520
@furkanbezci3520 Месяц назад
It worked ty so much!
@stuffaboutstuff4045
@stuffaboutstuff4045 20 дней назад
Hi, did you manage to get your install up and running.
@SARDAR_EDITS
@SARDAR_EDITS 3 месяца назад
There's no file named *requirements.txt* in the *Scripts* directory
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, Thanks for reaching out. I built SD again today and the file is there and should be under YourProjectFolder\stable-diffusion-webui-directml equirements.txt Let me know if all resolved..
@mandy11254
@mandy11254 2 месяца назад
For those saying it doesn't work, make sure you git clone the specific git repo linked in this video. Making the changes on the original A1111 repo will not work.
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Thanks for noting this. Yep will only work on the AMD fork of the project. Thanks for the feedback.
@RuruFIN
@RuruFIN 3 месяца назад
Works nicely with my 6700 XT :) just need to spend time fine-tuning with different settings etc.
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Glad to hear you are up and running! Thanks for the feedback.
@AM-hm5yz
@AM-hm5yz 3 месяца назад
THIS UNIRONICALLY WORKED BRUH!!!!!! YOOOOOOOOOOOO
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Pleasure, Glad it helped!
@Demonoloog
@Demonoloog 4 месяца назад
I have problem AttributeError: module 'torch' has no attribute 'dml', how fix that?
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Hi, did you add it to requirements file. Check the step 1:10 in the video. Just want to check, you followed all the basics. Run all commands in admin mode. Use correct version of Python. Did you follow all the steps in the original video including required SW. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-POtAB5uXO-w.html Let me know...
@jatilq
@jatilq Месяц назад
Thank you.
@stuffaboutstuff4045
@stuffaboutstuff4045 Месяц назад
You're welcome! Thanks for reaching out. Glad the video helped.
@VidaBandida
@VidaBandida 29 дней назад
Funcionou perfeitamente meus parabéns nota 10
@stuffaboutstuff4045
@stuffaboutstuff4045 20 дней назад
Glad to hear you are up and running and everything works. Thanks for the feedback.
@AtLeastK
@AtLeastK 5 месяцев назад
You fuckin legend. Edit: worked with my 6700xt
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Thanks!
@fletcherfrens3530
@fletcherfrens3530 12 дней назад
Hi, I did everything as in the video and I get a new error "ModuleNotFoundError: No module named 'pillow_avif', I installed the library with "pip install diskcache" and "pip install Pillow-avif-plugin" and the installation was successful, but the error persisted. Can you tell me how to fix it?
@stuffaboutstuff4045
@stuffaboutstuff4045 9 дней назад
Hi, did you manage to resolve this. Did you followed the steps in both videos. Also ensure all the required SW etc. Let me know if you are up and running..
@fletcherfrens3530
@fletcherfrens3530 8 дней назад
@@stuffaboutstuff4045 Thanks for the answer. Yes, I managed to solve the issue. I had to reinstall all the libraries and I accidentally deleted the .bat😅
@cilginflix
@cilginflix 5 месяцев назад
ERROR: Could not find a version that satisfies the requirement torch-directml (from versions: none)
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, thanks for reaching out. Are you on the correct version of Python? Did you follow the steps in the original video? Let me know if problem persists...
@cilginflix
@cilginflix 5 месяцев назад
im in correct version of python and it is working but have also different problems here .d do you have discord server?@@stuffaboutstuff4045
@ByCuneytYay
@ByCuneytYay 4 месяца назад
You really saved my day.
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Thanks! Glad to hear your up and running..
@guiliureste4963
@guiliureste4963 17 дней назад
en el archivo webui-user.bat quite el --onnx y funciono ...gracias mil!
@stuffaboutstuff4045
@stuffaboutstuff4045 9 дней назад
Pleasure, glad you are up and running. Thanks for the feedback.
@tealytee6244
@tealytee6244 28 дней назад
Hey i love your video and uncle ho as well
@stuffaboutstuff4045
@stuffaboutstuff4045 20 дней назад
Thanks! Glad to hear you are up and running. Thanks for the feedback!
@TalionJoga
@TalionJoga 2 месяца назад
you are a gOD! fixed my problem
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, glad the video helped! Thanks for the feedback much appreciated.
@thanhannguyen6400
@thanhannguyen6400 18 дней назад
I has to come back to thank you
@stuffaboutstuff4045
@stuffaboutstuff4045 14 дней назад
Hi, pleasure. Thanks for the feedback.
@Eduardo_Winchester
@Eduardo_Winchester 2 месяца назад
Hi. I followed every step 3 times, but it didn't help. I have an AMD processor with an integrated GPU, however I also have an RTX series GPU. Maybe stable diffusion doesn't see my external GPU and only sees CPU's GPU?
@stuffaboutstuff4045
@stuffaboutstuff4045 Месяц назад
Hi, just checking if you came right with your problem. Did you try and disable the onboard in the BIOS. SD should use your default GPU in Windows. You can check in PowerShell or DX what it is defaulting to. Let me know if you are up and running.
@Eduardo_Winchester
@Eduardo_Winchester Месяц назад
@@stuffaboutstuff4045 Hi. Thanks for the reply. So, first of all, I tried to disable "integrated GPU" in Windows 10, but it didn't work. Secondly, I tried to disable in BIOS "integrated GPU" and this didn't help either. Any ideas?)
@Fiftykilowatt
@Fiftykilowatt Месяц назад
thanks to you my pc goes brrrrrr for 4 weeks now haha
@stuffaboutstuff4045
@stuffaboutstuff4045 Месяц назад
Good to hear! Hope all stays up and running. I take it the brrr is a good one 😉
@Fiftykilowatt
@Fiftykilowatt 16 дней назад
@@stuffaboutstuff4045 oh yeah absolutely:D
@richardmata5817
@richardmata5817 3 месяца назад
me ayudo, lo estoy haciendo desde una amd rx5500 con 8 gb de ram y ahora si dejo de usar la cpu para correr con la gpu y es una maravilla :D, dejame invitarte un cafe :D
@Parsph
@Parsph 3 месяца назад
I HAVE A RX 5500 XT MODEL GPU CARD CAN YOU HELP ME? I CANNOT SET IT UP AND IT ALWAYS GIVES ERROR
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, thank you for the feedback. I am glad the video helped and you are up and running! Always appreciate a good cup of coffee ☕ Thanks for reaching out.
@deception9878
@deception9878 2 месяца назад
Hablo español, pero lo explico de manera tan grafica que hice paso a paso lo que dijo y funciono. Muchas gracias
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, thanks for the feedback. I am glad you could get this working only by following the screen instructions. Thanks for the nice feedback, appreciated.
@a.cl.a.n
@a.cl.a.n 5 месяцев назад
Why do you say it is a temporary solution? The problem continues to affect operation in some way
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, no everything should work fine. I was trying to communicate that this problem will be fixed somewhere on the Repo so if you need to reinstall just first check if bug is resolved using the usual process first.
@a.cl.a.n
@a.cl.a.n 5 месяцев назад
@@stuffaboutstuff4045 thanks for answering
@Joffaz
@Joffaz 3 месяца назад
THANK YOU
@stuffaboutstuff4045
@stuffaboutstuff4045 3 месяца назад
Pleasure, thanks for the feedback!
@ninoska__9925
@ninoska__9925 3 месяца назад
Work for me doing 2 changes: 1) I didn't add --onnx to webui-user.bat 2) I didn't install pip install httpx==0.24.1 (I keep with 0.24.0) Man, I tried for 7 hours to install SD without success. Your video saved me. Thank you very much for the contribution, it has been very helpful. Thank youuu!!!!!!!
@stuffaboutstuff4045
@stuffaboutstuff4045 3 месяца назад
Thanks for sharing feedback, glad the video helped out. Much appreciated!
@pradyumnananekar491
@pradyumnananekar491 3 месяца назад
I followed all the steps but when i run the bat file it still shows me the same error
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, I built this today again, steps in this video still applies and seems to be valid. Did you ensure --use-directml in config. I am sure you have but maybe just double check all steps in the video again. If you still get the Skip Cuda Test issue then try to start SD with --skip-torch-cuda-test as the only argument. Let is start and check if it builds. Then you will have to follow all steps in this video again.
@enzoarathni7958
@enzoarathni7958 2 месяца назад
I have the same issue, did you find the problem ?
@YachtPapiDayne
@YachtPapiDayne 5 месяцев назад
Tutorial was almost perfect! You didn’t really explain how to get the the command arg you just appeared there..
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, Thanks for the feedback. Much appreciated. Noted RE the command line args. Hope everything is working as expected on your end.
@user-gg6mr3ht2p
@user-gg6mr3ht2p Месяц назад
Thank you so much!!!!!!
@stuffaboutstuff4045
@stuffaboutstuff4045 Месяц назад
You're welcome! Thanks for reaching out. Glad the video helped.
@kagimedia9724
@kagimedia9724 23 дня назад
all worked except requirements.txt why would that fail? i typed pip install -r requirements.txt Also note there is already a requirements.txt file in SD folder so do I have to do this step? Does the command ONLY add something to the existing requirements.txt? if so what does it add?
@stuffaboutstuff4045
@stuffaboutstuff4045 20 дней назад
Hi, the command install the contents of the file. When installing carefully check the type of prompt windows I am in. Make sure you execute the command from the folder where the file resides. Let me know if you got everything up and running. Thanks for reaching out.
@Ghadrat
@Ghadrat Месяц назад
I followed the steps as is but I have two problems, if I put --onnx in the bat it tells me that it does not recognize the --onnx command, if I put COMMANDLINE_ARGS=--use-directml --medvram --precision full --no-half --no-half-vae --opt-split-attention-v1 --opt-sub-quad-attention --disable-nan-check as I found in the comments it shows that module torch has no attribute dml
@stuffaboutstuff4045
@stuffaboutstuff4045 Месяц назад
Hi, let me know if you managed to resolve this. Just to confirm you are on Windows. You can try: venv\Scripts\activate pip install onnxruntime-directml pip install torch-directml pip install keras pip install tensorflow Otherwise: delete venv Try and launch SD using skip cuda test arg. Let it build and open. Then use -use-directml in the args. Let me know if that helps, hope you are up and running soon.
@stuffaboutstuff4045
@stuffaboutstuff4045 Месяц назад
Hi, let me know if you managed to resolve this. Just to confirm you are on Windows. You can try: venv\Scripts\activate pip install onnxruntime-directml pip install torch-directml pip install keras pip install tensorflow Otherwise: delete venv Try and launch SD using skip cuda test arg. Let it build and open. Then use -use-directml in the args. Let me know if that helps, hope you are up and running soon
@FalvayPeter
@FalvayPeter 11 дней назад
@@stuffaboutstuff4045 Worked for me (with the several pip install)! Many thanks
@dungngo6749
@dungngo6749 Месяц назад
2:08 How to change directory in prompt ? I don't quite understand
@stuffaboutstuff4045
@stuffaboutstuff4045 Месяц назад
Hi, Did you manage to resolve this. You can navigate your folder structure in a command prompt using CD command set.
@rlemat7843
@rlemat7843 Месяц назад
I have an error : ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
@stuffaboutstuff4045
@stuffaboutstuff4045 Месяц назад
Hi, can you see the file when you browse to it using Windows explorer?
@MLWZN
@MLWZN 3 месяца назад
If you're using Stability Matrix like me, literally just update the SD package. I tried everything but that for hours but that alone works
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Thanks! Noted on this side as well.
@BigBrownWolf_
@BigBrownWolf_ Месяц назад
So am I using administrator command prompt instead of anaconda prompt?
@stuffaboutstuff4045
@stuffaboutstuff4045 Месяц назад
Hi, apologies for the late reply. The video uses local install not using a "full" Anaconda environment. If you installed SD in an Anaconda Environment then you will use Anaconda Terminal and complete the steps. The videos is normal local install using Admin command prompt. Let me know if you are up and running.
@baiter660
@baiter660 7 дней назад
I followed the directions and I get an error ImportError: DLL load failed while importing onnxruntime_pybind11_state: A dynamic link library (DLL) initialization routine failed. Press any key to continue . . . How do i fix it?
@thepeanut2409
@thepeanut2409 14 часов назад
install Visual Studio 2022 it comes with the stuff you need to build things, but it works for me
@j19tv
@j19tv 3 месяца назад
can you fix it in ubuntu 22.04?
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Apologies, missed this comment. Thanks for reaching out. lol something to test..
@TheRealSamSam
@TheRealSamSam 21 день назад
every command worked up until 3:29 which is telling me Torch is still not able to use GPU, any tips?
@TheRealSamSam
@TheRealSamSam 21 день назад
Nvm, I solved it
@stuffaboutstuff4045
@stuffaboutstuff4045 20 дней назад
Hi, glad to hear you are up and running!
@simondiaz184
@simondiaz184 5 месяцев назад
friend you can help me with another problem, I do not recognize the safetensor models, only those compatible with onnx, I already saved the models in their corresponding files and still nothing, edit the .bat file by placing this command and nothing. SATENSORS_FAST_GPU = 1
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, did you compile for onnx? If you did just remove it from your arguments and it should work. If you want to use ONNX/Olive put it back as needed. Let me know if that helped. .
@simondiaz184
@simondiaz184 5 месяцев назад
@@stuffaboutstuff4045 Friend, thank you very much. You are amazing, you solved two problems for me at once, really very grateful for giving me the opportunity to experience this wonderful program, if what you told me worked... What do you recommend me to use Linux Mint to run Stable Diffusion ? Or I'm still on Windows since I see that in Windows there are many problems with AMD, and in different forums talk about how AMD's ROCM technology is much faster and smoother on Linux, what do you think about it friend ??? LOTS OF THANKS FOR EVERYTHING
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, AMD is catching up so hopefully the support will get better on all platforms moving forward. Difficult question, I always support Linux. But Microsoft support is there with Olive etc. I produce a couple of images as needed so for my use case sticking to Windows just makes sense for now regardless of the possible speed increase that might be gained.
@nullH8
@nullH8 4 месяца назад
thank you! its woorkkk!!!
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Pleasure! Thanks for the feedback, glad it resolved your issue.
@GuildBD
@GuildBD 5 месяцев назад
Excellent tutorial! Worked, THX !!!!
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
You're welcome! Thanks for the feedback, much appreciated!
@exordra
@exordra 5 месяцев назад
bro thank you u love u
@exordra
@exordra 5 месяцев назад
i love u*
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Pleasure! Glad you sorted out...
@dronel1637
@dronel1637 3 месяца назад
you're the GOAT
@stuffaboutstuff4045
@stuffaboutstuff4045 3 месяца назад
Thanks, glad it assisted. Thanks for the feedback..
@alidjoudi
@alidjoudi 4 месяца назад
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt' help
@dronel1637
@dronel1637 3 месяца назад
that file should be automatically created during the setup of a1111 something went wrong if its missing. however, its just a txt with the following text, maybe you can place it in the folder and be good GitPython Pillow accelerate blendmodes clean-fid diffusers einops facexlib fastapi>=0.90.1 gradio==3.41.2 inflection jsonmerge kornia lark numpy omegaconf open-clip-torch piexif psutil pytorch_lightning requests resize-right safetensors scikit-image>=0.19 tomesd torch>=2.0.0 torchdiffeq torchsde transformers==4.30.2 onnx onnxruntime optimum olive-ai
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, just checking to see if the below assisted. Thanks @dronel1637, I built SD again today and the file is there and should be under YourProjectFolder\stable-diffusion-webui-directml equirements.txt Let me know if all resolved..
@PointlessClip
@PointlessClip 4 месяца назад
It somehow works now, but only with the argument --use-directml. It is very slow, i am using a 7900 xtx and have under 2it/s. If i add the argument --onnx, then i get the message "no module 'xformers'. Processing without..." and the error "launch.py: error: unrecognized arguments: --onnx" i did the installation step by step. What went wrong? Edit: After i started it with the argument --xformers the error is gone, but now i can no longer start it without that argument. The speed is still under 2 it/s. why doesn't it recognize the --onnx argument?
@UWOTMAIGHT
@UWOTMAIGHT 4 месяца назад
Same problem! would like a fix if possible :)
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Hi, Did you resolve this. This might be the formatting that is wrong in the file when arguments are added like spacing. It can also be that your ONNX Olive support did not build. This is done when you install the requirements 3:15 into the video. Pause the video 3:35 in, you will see with --onnx support I also get no module xformers. Just checking you followed all steps in the base video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-POtAB5uXO-w.html You can also try this tip posted in the comments venv\Scripts\activate pip install onnxruntime-directml pip install torch-directml pip install keras pip install tensorflow Let me know if any of the above helps.
@user-xn6fk8gd8u
@user-xn6fk8gd8u 4 месяца назад
i tried every command you said and all are installed succefully but it still showing " torch not able to use gpu" can u help
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Hi, Let me know if your issue is resolved? Did you follow all the steps in the original video as well? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-POtAB5uXO-w.html. Let me know what AMD GPU your using.
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Can you confirm if you add --skip-torch-cuda-test does if it then launch and work? If so add the command line arguments as in the video and check if it starts up then..?
@mystallite8826
@mystallite8826 3 месяца назад
​@@stuffaboutstuff4045Oh it turns out I'm not the only one who has the same problem when I try to skip the gpu check 'skip cuda test', it can open the automatic 1111 window, but still when rendering the image in the middle of the road it says 'error' torch is not able to use gpu Note: I use AMD Radeon(TM) R7 Graphics 4gb 
@coilcoils7718
@coilcoils7718 3 месяца назад
LEGEND !!!!!!!
@stuffaboutstuff4045
@stuffaboutstuff4045 3 месяца назад
Thanks for the feedback!
@Black-Phoenix-Studios
@Black-Phoenix-Studios Месяц назад
Hey I have an issue, It only let's me use the base model not sdxl
@stuffaboutstuff4045
@stuffaboutstuff4045 Месяц назад
Hi, just checking if you resolved this issue. If not have a look at the link below. Let me know if you are up and running. stable-diffusion-art.com/sdxl-model/
@Black-Phoenix-Studios
@Black-Phoenix-Studios Месяц назад
@@stuffaboutstuff4045 yea now none of the models work... It's due to a memory leak BC it tries to pull 90gb of vram
@jovabre
@jovabre 4 месяца назад
I followed this video about fix, and still getting error: launch.py: error: unrecognized arguments: --onnx --onnx is not an option in launch.py At least for me :( How to get onnx tap?
@cerb92
@cerb92 3 месяца назад
same for me :(
@cerb92
@cerb92 3 месяца назад
bro i think i found a fix. I deleted the venv Folder, deleted the --onnx in my webui-user.bat. so only: "set COMMANDLINE_ARGS=--use-directml" then I ran the webui-user.bat and let it do its thing. I downloaded everything it needed and voila everything works finde. SD is now using my RX6700 XT correctly
@stuffaboutstuff4045
@stuffaboutstuff4045 3 месяца назад
Glad to hear you are sorted. Will make a note about deleting the venv folder.
@romain1599
@romain1599 2 месяца назад
@@cerb92 Thanks ! I had the same error and it works fine and finally on my GPU now, my CPU can breath ! The only downside is that I can only star SD from the cmd and not just by clicking on webui-user.bat in my SD folder, but I can manage it's worth my time !
@dia6820
@dia6820 3 месяца назад
I also followed all the steps but when i run the bat file it still shows me the same error
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, I built this today again, steps in this video still applies and seems to be valid. Did you ensure --use-directml in config. I am sure you have but maybe just double check all steps in the video again. If you still get the Skip Cuda Test issue then try to start SD with --skip-torch-cuda-test as the only argument. Let is start and check if it builds. Then you will have to follow all steps in this video again.
@atomicskull6405
@atomicskull6405 3 месяца назад
three months later and still not fixed.
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, I built this today again. All steps in the video still applies. Yes agreed they have still not fixed this upstream.
@rizuw
@rizuw 5 месяцев назад
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. can you help me?
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, are you running the commands in Admin mode prompt? Did you confirm the version of Python. Let me know if you got this resolved?
@AlchemyArka
@AlchemyArka 5 месяцев назад
why webui user not run as administrator
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, Just checking in if you are sorted. If problem persists let me know...
@kiev._Russian_Federation
@kiev._Russian_Federation 5 месяцев назад
bro.. i can't do the process in [venv/Scripts/activate]... what can i do??
@DarkFuryX8840
@DarkFuryX8840 5 месяцев назад
it's: [venv\Scripts\activate] u confuse this '/' whit this '\' XD
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, let me know if you are sorted now.. Thanks for the feedback
@CEZKO33
@CEZKO33 22 дня назад
pls put the commands in the description...
@eagle5953
@eagle5953 4 месяца назад
i did all of them but finaly write Torch is not able to use GPU .... damn to this chance .my graphic is amd what should i do???????
@stuffaboutstuff4045
@stuffaboutstuff4045 4 месяца назад
Try to launch SD using add --skip-torch-cuda-test to the command line arguments. Let it open. Then revert to the command line arguments in the video. If that does not work can you confirm following the steps in the original video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-POtAB5uXO-w.html If problem persist share the command line arguments when launching Stable Diffusion
@wormdiaz5847
@wormdiaz5847 2 месяца назад
May i know how im gonna open that cmd?
@stuffaboutstuff4045
@stuffaboutstuff4045 2 месяца назад
Hi, if you are looking for the command prompt as used from 2:05 into video. You can click windows search bar, search for Command Prompt. Open that and it should present you will the terminal you are after. Thanks for reaching out, let me know if you come right.
@wormdiaz5847
@wormdiaz5847 2 месяца назад
@@stuffaboutstuff4045 ,
@Gravitea777
@Gravitea777 5 месяцев назад
thank you. worked flawlessly, hopefully the github repo is updated soon.
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, thank for the feedback! Glad you are sorted. Agreed, hopefully the repo will be corrected soon.
@M4L4M4N3R4
@M4L4M4N3R4 5 месяцев назад
Serves for 6800xt?
@stuffaboutstuff4045
@stuffaboutstuff4045 5 месяцев назад
Hi, the steps should work for your card. You will still have to use memory settings arguments for your card dependent if you build Stable Diffusion native or with Olive/ONNX support. Please let me know if you came right?
Далее
💜☀️✨
00:47
Просмотров 197 тыс.
Happy 4th of July 😂
00:12
Просмотров 9 млн
How I grew my Open Source Project!
2:37
Просмотров 429
How to Install Stable Diffusion on AMD GPUs (NEW)
8:49
Host Your Own Restream Server With Nginx
10:23
Все Смартфоны vivo Серии V30!
24:54
Просмотров 22 тыс.
iPhone перегрелся, что делать?!
1:01