How to Install Stable Diffusion on AMD GPUs (NEW)

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ค. 2024
  • In today's ai tutorial I'll show you to install Stable Diffusion on AMD GPU's including Radeon 9700 Pro, 7900 XTX and more!
    Git For Windows - gitforwindows.org/
    Python Download - www.python.org/downloads/
    Github Rep - github.com/AUTOMATIC1111/stab...
    DreamShaper Model - civitai.com/models/4384/dream...
    Models - stable-diffusion-art.com/models/
    Copy This Text - git clone github.com/lshqqytiger/stable... && cd stable-diffusion-webui-directml && git submodule init && git submodule update
    ➡️Follow Me On Twitter - / thekingdom_yt
    ➡️Discord - / discord
    ✅Subscribe Here - / @trentkingdom
    Don't forget to LIKE👍and Subscribe❤ If you Enjoyed this Video!
    For anything business related👉 visit the about section on my TH-cam Channel for my email!
    0:00 Intro & Error Help
    1:00 Install Python & Git
    1:59 Install Stable Diffusion For AMD
    2:36 Pick a Model
    5:45 Change Arguments
    6:41 Run The BAT File
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 723

  • @LuckThorfin
    @LuckThorfin 8 หลายเดือนก่อน +22

    Valeu!

    • @TrentKingdom
      @TrentKingdom  8 หลายเดือนก่อน

      Thank You!!!

    • @3starsfell
      @3starsfell 7 หลายเดือนก่อน +1

      I kept getting the same message , didn't know where the venv files are. So I deleted Python. Went to the python download page on the Python site. After it was deleted off my PC. Then I downloaded version 3.9.0, and set this as my new path when prompted to upon installing. Then went to the webui and double clicked. Works perfectly I'm now in sd

    • @andrealvesf
      @andrealvesf 3 หลายเดือนก่อน

      como resolvo essa questão de rumtimeerror ? você pode me ajudar

    • @HosannaSookra
      @HosannaSookra 14 วันที่ผ่านมา

      The runtime error, maybe you need Microsoft redistributables 14 and up

  • @brandonkelly791
    @brandonkelly791 10 หลายเดือนก่อน +4

    Hello thank you very much for your help. I just bought a AMD GPU and didn't know they weren't supported and I downloaded stable diffusion and it didn't notice my GPU. I found your channel and I have stable diffusion running on my system now thanks to you. I will definitely be watching your channel on how to use Stable Diffusion.

  • @_scroller
    @_scroller 5 หลายเดือนก่อน +139

    To anyone getting a runtime error about Torch not using the GPU, go edit the webuser.bat file and add this.
    set COMMANDLINE_ARGS=--use-directml --disable-model-loading-ram-optimization --opt-sub-quad-attention --lowvram --disable-nan-check
    Trent Kingdom can you plz pin this so others can see

    • @kori7795
      @kori7795 5 หลายเดือนก่อน +2

      THANK UU

    • @wenbozhao7427
      @wenbozhao7427 5 หลายเดือนก่อน +2

      BRO YOU ARE THE FUCKING 🐐🐐🐐🐐🐐🐐

    • @Freelancer177
      @Freelancer177 5 หลายเดือนก่อน

      THANK U SO MUCH OMGGGG

    • @TheFRBublitz
      @TheFRBublitz 4 หลายเดือนก่อน +22

      i've tried, but then i'm getting this error "Could not install packages due to an OSError: [WinError 5] Acess Denied: 'C:\\Stable Diffusion\\webui\\stable-diffusion-webui-directml\\venv\\Lib\\site-packages\\onnxruntime\\capi\\onnxruntime_providers_shared.dll'"
      But the entire Stable Diffusion is with permissions for everyone and on FullControl
      EDIT:========================================
      Solved by deleting the onnxruntime Folder and trying to run WebUi again.
      Then I got Torch_directml not installed error message.
      Then you need to go to .venv\Scripts, open CMD in this folder then run activate.bat file.
      and then you type pip install torch-directml.
      Now your Stable DIffussion shoud be working and running in your AMD GPU

    • @IceLom
      @IceLom 4 หลายเดือนก่อน +1

      @@TheFRBublitz thanks so much this worked for my 6800xt it is using the the GPU. The only difference is that i only added --use-directml to COMMANDLINE_ARGS= as i did not want to run in low vram mode. MY gpu usage hits %76 while generating.

  • @toyjesus
    @toyjesus ปีที่แล้ว +32

    I can't thank you enough for this. i was running stable diffusion on my CPU until now and it took ages for any images to load. everything seems to work so far, I occasionally get weird errors about the model failing to load for some reason though.

    • @jonnym4670
      @jonnym4670 11 หลายเดือนก่อน +1

      from my understanding you can't use normal purned models on amd is that true how did you get your models loaded

  • @paulw7738
    @paulw7738 ปีที่แล้ว +3

    Thanks, installing now! Can't wait to try on 23.5.2 drivers - AMD reporting 2X performance with DirectML for this driver version

  • @thunderbittenwolf
    @thunderbittenwolf ปีที่แล้ว +10

    Actually worked for me!! Thank you so much!!!! Your video was very professionally well done and easy to follow. Good job! :)

  • @shushkomrinmoy2483
    @shushkomrinmoy2483 ปีที่แล้ว +6

    Thanks A lot man, working nicely and fast in my Ryzen 5 with Asus Radeon Rx 590 8GB.

  • @furryfan87243
    @furryfan87243 ปีที่แล้ว +1

    After some time and tinkering I got it to work and I can't thank you enough for the tutorial ♥♥♥♥

  • @obesePETE
    @obesePETE ปีที่แล้ว +2

    Legend!
    I spent all day trying to install the version for NIVIDIA. was bashing my brain against brick.
    excellent tutorial. number 1 best excelent video.

    • @kempart8991
      @kempart8991 7 หลายเดือนก่อน

      same :c

  • @Chino45A
    @Chino45A ปีที่แล้ว +5

    2 days searching for this tutorial thank you !

  • @jarod1231
    @jarod1231 ปีที่แล้ว +52

    FYI if you initially ignored the python versions and just installed the newest version assuming it would work.. then attempted to uninstall the newest version of python and downgrade to the correct version you will start getting an error saying "venv python not found" or something along those lines... the fix is to delete the contents of the "venv" folder and run webui-user.bat again... it will forget that you had the wrong version of python installed and work after that

    • @antylife
      @antylife ปีที่แล้ว +1

      Love you babe

    • @RomboDawg
      @RomboDawg 11 หลายเดือนก่อน +3

      THIS, THIS IS THE FUCKING BEST COMMENT. This is the only comment that fixed all my problems ❤❤

    • @thomasmoreau8297
      @thomasmoreau8297 11 หลายเดือนก่อน +1

      ​@@RomboDawgI don't even have an AMD card but I wanted to recognise a solid comment with a tactical upvote

    • @1.618_Murphy
      @1.618_Murphy 10 หลายเดือนก่อน +3

      This should be the pinned comment. I myself also learned it the hard way on Windows 10.

    • @MuNaSu
      @MuNaSu 10 หลายเดือนก่อน

      ​@@RomboDawgI don't recommend doing that if you have a lot of files within the "venv" folder which stable diffusion puts in automatically to run properly. A much much better alternative is to go within the "venv" folder and delete the "script" or "scripts" folder (Not sure if it has an S or not lol).
      This is where python itself is initialized in SD.

  • @dede_gibbs
    @dede_gibbs ปีที่แล้ว +3

    I encountered many problems in my attempts before this video. This video has become my hero, everything may sound the same but I think the biggest problem is downloading "stabble diffusion" to a random directory. In this video, since we downloaded it to our main user's directory, we can easily download and unpack packages, which probably require many permissions, via cmd, so the application runs on amd gpu without any problems.

  • @angelrosso7685
    @angelrosso7685 ปีที่แล้ว +9

    Thank you very much. My trip to using stable diffussion with an AMD card has been exhausting. Several ubuntu installations, and a lot of tutorials without success. This finally worked!! If that was not enough, even the stable diffusion model you suggested is great. Thanks a lot!!!

    • @SpacenSpooks
      @SpacenSpooks 9 หลายเดือนก่อน +2

      ". My trip to using stable diffussion with an AMD card has been exhausting."
      EXACTLY the same!

    • @bhootpurvmanusya
      @bhootpurvmanusya 3 หลายเดือนก่อน

      imagine what u did and some more part extra for rdna1 gpus

  • @fllomasta
    @fllomasta 7 หลายเดือนก่อน

    This really did work for me.
    I tried everything in this video BUT without actually watching the video or googling it.
    I got errors then watched the video, done everything again and it worked.
    Am I stupid?
    Thank you, man, saved the day.

  • @godakai1080
    @godakai1080 10 หลายเดือนก่อน

    Finallt got it working thenks to you, good video. Also if some of you are getting trouble whit the text, copy it straigh from the link in the dresciption

  • @margobelorukova
    @margobelorukova 11 หลายเดือนก่อน

    It worked! This is amazing, thank you for this video!

  • @nightfr09
    @nightfr09 9 หลายเดือนก่อน +8

    Absolute chad, thanks!
    I normally draw, but i think using AI will help me generate images for my D&D campaign much faster and more aesthetically than what I'm capable of doing on a weekly basis :)))))

    • @botarakutabi1199
      @botarakutabi1199 7 หลายเดือนก่อน +2

      Exactly same here! Been mostly trying to use stable diffusion for backgrounds and elements I'm not super excited to draw. I'm running a campaign using Low Fantasy Gaming where the party starts and maintains a cult in a town I made.

  • @greg_richrd
    @greg_richrd ปีที่แล้ว +5

    thanks man! worked fine for me with my amd 6700XT!

  • @raffygarnica7995
    @raffygarnica7995 ปีที่แล้ว +7

    Thank you man! after a couple of days of searching for a fix, it finally works! it went from 10-20 minutes of generating to about 50 seconds on my RX570!

    • @GamingGD5600
      @GamingGD5600 11 หลายเดือนก่อน

      Do you think this will work for a 500?

  • @Max-cg5fp
    @Max-cg5fp ปีที่แล้ว +3

    Dude I've spent like three hours trying to fix repetitive python and pip errors but it finally seems to work :D

  • @samoed998
    @samoed998 8 หลายเดือนก่อน +2

    You explained it very clearly and concisely, thank you.

  • @lukavg_34
    @lukavg_34 ปีที่แล้ว +3

    OMG love you. After 3hours searching a tutorial that works

  • @SoundOfHistoryVWE
    @SoundOfHistoryVWE ปีที่แล้ว

    This is legit the most helpful video I've ever watched - thanks man!

  • @InnaMonsta
    @InnaMonsta 7 หลายเดือนก่อน

    Thank you! I like your calm, educative and concise voice.

  • @zygimantastauras
    @zygimantastauras 10 หลายเดือนก่อน

    Thanks! Very happy to share with you my joy!

  • @quini7
    @quini7 8 หลายเดือนก่อน

    Worked for me, every step is very easy to follow. Thank you a lot!

  • @alexcannella9438
    @alexcannella9438 7 หลายเดือนก่อน

    🙏🙏🙏🙏🙏 Thanks, I've been looking for a tutorial like this for a few months now. You're the best. 😁😁😁😁

  • @hdawod
    @hdawod ปีที่แล้ว +1

    Hey man, I came here especially to say thanks a million.

  • @yeastydynasty
    @yeastydynasty 11 หลายเดือนก่อน

    THANK YOU for this tutorial. I'm up and running!

  • @zoricgames
    @zoricgames ปีที่แล้ว +1

    This was so easy to do thanks to your video, thanks man!

  • @Ryan-be2nv
    @Ryan-be2nv 9 หลายเดือนก่อน

    Awesome! Worked. Image does take 2m on average but it works.

  • @MishkaLightmist
    @MishkaLightmist ปีที่แล้ว

    I got it working!!! Awesome! Thank you so much ❤

  • @ishmaelisaac4579
    @ishmaelisaac4579 ปีที่แล้ว

    awesome tutorial. I wasted about a hour and a half on other tutorials with many errors. I finished your video in about 15 minutes with minimal hassle.

  • @mechamochi9627
    @mechamochi9627 หลายเดือนก่อน +1

    Bro your video actually is so clear and concise, and helped me through this complicated process. Thank you for creating it, and also thank you to the helpful comments leaving tips on how to solve specific errors. Everyone here is goated 🐐🐐🐐

  • @adhdgamedevlog
    @adhdgamedevlog ปีที่แล้ว

    thanks dude, this is working great on a Ryzen 5 5600x + Radeon 6600xt 32gb Ram - less than 30 secs to generate an image with 20 sampling steps !

  • @dustboii
    @dustboii ปีที่แล้ว

    Worked after some troubleshooting. Thanks.

  • @Eternal-Woe
    @Eternal-Woe ปีที่แล้ว +17

    You absolute chad, thanks for the guide to get this working on amd. For anyone who may have issues with python being detected you'll want to edit: (set PYTHON=) and direct the path to the python.exe I had the same issue for my nividia install

    • @DarthLeopard
      @DarthLeopard ปีที่แล้ว

      Thank you!!

    • @pdaj
      @pdaj 11 หลายเดือนก่อน

      Thank you so much this worked for me!

    • @Max77189
      @Max77189 11 หลายเดือนก่อน

      you are a gentleman and a scholar

    • @007agentas
      @007agentas 5 หลายเดือนก่อน

      Which RX model do you have?

  • @Facha115
    @Facha115 ปีที่แล้ว

    you are incredible my guy, really nice tutorial 🙌

  • @TheWilliam3227
    @TheWilliam3227 9 หลายเดือนก่อน

    It works on my AMD GPU. Thank you very much.

  • @KingofDaba
    @KingofDaba ปีที่แล้ว

    Thanks a lot.
    Yesterday was half a day, and I've been trying since this morning, but Stable Diffusion didn't work well.
    Watching your video solved all my problems.
    thank you very much.😄
    (Ryzen7 2700X Radeon RX590)

  • @Nukhebuk
    @Nukhebuk ปีที่แล้ว +2

    Absolute king! after trying for over half a year, I can finally run SD on my 5700 xt and pretty fast at that!

    • @otherside1279
      @otherside1279 ปีที่แล้ว

      boy are you able to do that, can you shoot your specs the power supply ??? and cpu ??

  • @maxivma
    @maxivma ปีที่แล้ว +3

    it really works, right now I'm using amd rx580 gpu with 4gb vram and no issues whatsoever. Thank you so much.

  • @silvertruenoobs340
    @silvertruenoobs340 11 หลายเดือนก่อน +1

    Dude, you're just the best. I've looked through a few other guides. I was browsing a forum dedicated to problem solving. I spent almost 6 hours on it, and I still managed to get the sd card running, but it was running so slow that it was almost torture. He spent 4 minutes creating an image in 512x512 resolution. 😔
    Now I have reinstalled it according to your guidance, and it not only started immediately without any errors, but also started working much faster. Now an image in the same resolution (512x512) is generated in 30 seconds🙂

    • @patozarantonello8572
      @patozarantonello8572 9 หลายเดือนก่อน

      Hi there , what gpu do you have , asking for refence

    • @silvertruenoobs340
      @silvertruenoobs340 9 หลายเดือนก่อน

      @@patozarantonello8572 I had a RX 6750 XT, but I have already changed it because it did not work on it some animation modules such as deforum, as well as generation in high resolutions. When working constantly went into defense and shutdown

    • @patozarantonello8572
      @patozarantonello8572 9 หลายเดือนก่อน

      @@silvertruenoobs340 thanks for responding ,sad it didnt work out with amd, i guess nvidia works a lot better in that field

  • @CedricF33
    @CedricF33 9 หลายเดือนก่อน

    Finally a really good tutorial that works. You are the best thank you bro 🤩🤩🥳🥳

  • @shengsun5916
    @shengsun5916 10 หลายเดือนก่อน

    You're a CHAMP, much appreciate your help!

  • @Rodritoledo94
    @Rodritoledo94 ปีที่แล้ว

    Thanks, it worked flawlessly

  • @CharlieTheA
    @CharlieTheA 9 หลายเดือนก่อน

    Thanks so much Trent. Now it's playtime.

  • @mathews9958
    @mathews9958 8 หลายเดือนก่อน

    BRO THANK YOU SOO MUCH YOURS IS THE ONLY USEFUL VIDEO I FOUND YOURE THE BEST LOVE YOU MAN

  • @uniquetraveller01
    @uniquetraveller01 ปีที่แล้ว

    Finally something worked!!!! Thank you so much...

  • @darknessblades
    @darknessblades 11 หลายเดือนก่อน +2

    Thank you for the amazing tuturial.
    Was looking on how to get it working on my RX7900XT
    Currently installing, and will test it out soon

    • @granatoff3917
      @granatoff3917 11 หลายเดือนก่อน

      me too..installed it a few ago!

    • @zer0xll
      @zer0xll 6 หลายเดือนก่อน

      ever get it to work on that 7900XT? I was on 5700xt running just fine but upgraded to a 7900xt no matter what i get error of RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check, which make it just use the CPU

    • @user-bz6jy1ji9i
      @user-bz6jy1ji9i 4 หลายเดือนก่อน +1

      @@zer0xllI own 7900xtx, it opens the browser but doesn’t allow to generate any images because of “runtimeerror found no nvidia driver on your system” did you have any experience with that?

    • @Yenyen666
      @Yenyen666 3 หลายเดือนก่อน

      @@user-bz6jy1ji9i same here with 6800XT, the skip cuda argument makes it slow because it runs on CPU, can't use my GPU properly yet

  • @user-nz5iu3qm2r
    @user-nz5iu3qm2r 9 หลายเดือนก่อน

    Thank you so much! This video was super helpful!

  • @manojkchauhan
    @manojkchauhan ปีที่แล้ว

    Thanks, Installed with RX590 8gb Intel i9, Working fine,

  • @user-pm1cx1ec9w
    @user-pm1cx1ec9w ปีที่แล้ว

    Holy fukaroli!!! It finally worked!!! I have been trying to get AMD SDiffusion running for freaking hours then found your vid...Thanks dude!

  • @user-he8eq6yi9v
    @user-he8eq6yi9v ปีที่แล้ว

    Damnnnnn my guy actually made it work. Legend

  • @zeynepseyhan9144
    @zeynepseyhan9144 ปีที่แล้ว +1

    I have no idea what I have done but I think it works :D thanks a lot!

  • @VAKAY
    @VAKAY 7 หลายเดือนก่อน

    God-tier video, thank you soooo sooo much!!!

  • @cjimene5767
    @cjimene5767 หลายเดือนก่อน

    Holy cow! Using Stable Diffusion with an ancient AMD R9 380!!!! Much faster than rendering using the CPU. Thanks for the tutorial!

  • @AnthonyWashingtonX2K
    @AnthonyWashingtonX2K 9 หลายเดือนก่อน

    Thanks for the video. I am looking at it 4 months after you posted and it's still good. I got it to work using my RX 480 with 8GC VRAM and the argument: --medvram --precision full --no-half --no-half-vae --opt-split-attention-v1 --opt-sub-quad-attention --disable-nan-check . Try to figure out max resolution. Render times are barrable. I am currently using PlagroundAI. Thanks again for a great video.

    • @Kitten_Genocide
      @Kitten_Genocide 7 หลายเดือนก่อน

      how do you make it work without the "--onnx --backend directml"? If I don't run it with this arguments, it still run on only CPU.

  • @peterecker3599
    @peterecker3599 ปีที่แล้ว

    Tanks! U deserve more likes man!

  • @cguiux
    @cguiux 11 หลายเดือนก่อน

    it worked! beautiful 👌i had low vram and I ran into few errors because of that, but after adding those flags, it all seems to be working well .. now need to try out with different models .. heard amd gpus won't work with every models ..

  • @hudbaoir3610
    @hudbaoir3610 26 วันที่ผ่านมา

    Thank you. And everyone in the comments that helped solve issues.

  • @kelvinj7045
    @kelvinj7045 11 หลายเดือนก่อน +1

    It works for me on r5 5600x and rx 6750 xt. Thank you. I just had to change the python directory inside the .bat file.

    • @16thSD
      @16thSD 11 หลายเดือนก่อน +2

      how did you do it? it keeps telling me to update my pip, when i do i get the No such option: -u?? any ideas?

    • @kelvinj7045
      @kelvinj7045 11 หลายเดือนก่อน

      @@16thSD I went to the properties of the python executable, copied the address. I opened the .bat file and pasted it after SET PYTHON=, that's all I did differently

    • @hudbaoir3610
      @hudbaoir3610 26 วันที่ผ่านมา

      OMG THANK YOU!!! I was wondering why there is nothing happening after I try to run the .bat file lol

  • @kelumon1
    @kelumon1 10 หลายเดือนก่อน

    Thank you very much. It worked like a charm.

  • @jaimegonzalez1395
    @jaimegonzalez1395 ปีที่แล้ว

    WOW I really love you man!! Thank U

  • @meworlds8216
    @meworlds8216 7 หลายเดือนก่อน

    Thank you so much for the tutorial nice job brother! Just a feedback about the sound. Please make sure your sound levels are constant. I have to change my volume cuz you are very silent sometimes then it gets loud. Not good in the night when everything is silent haha :)

  • @p1body723
    @p1body723 ปีที่แล้ว

    thanks, everything works perfect

  • @eddan9025
    @eddan9025 ปีที่แล้ว

    Thanks man, working on a 5700XT :)

  • @ReptillianStrike
    @ReptillianStrike 10 หลายเดือนก่อน

    This is a god send. Thank you.

  • @albay_zagloba
    @albay_zagloba ปีที่แล้ว +2

    Thank you it is working for AMD 6750xt. I was about to go crazy. You saved my sanity lol

    • @MeowMeowYu
      @MeowMeowYu ปีที่แล้ว

      same card,what about the speed?

    • @magik97
      @magik97 ปีที่แล้ว

      ​@@albay_zaglobawhat's the size of images you're generating?

    • @Movierecap998
      @Movierecap998 11 หลายเดือนก่อน

      Will it work on 6800xt i have the xfx merc 319 version

    • @albay_zagloba
      @albay_zagloba 11 หลายเดือนก่อน

      @@Movierecap998 I didn’t use for a month. Updated can change everything

    • @albay_zagloba
      @albay_zagloba 11 หลายเดือนก่อน

      @@magik97 didnt try big ones yet.

  • @lucian6172
    @lucian6172 2 หลายเดือนก่อน +9

    --use-directml --autolaunch are missing from the command line arguments. If you don't add those it will run on the cpu. You also have to add --no-half --no-half-vae if you want inpainting to work. Your command line arguments should look something like this... set COMMANDLINE_ARGS= --use-directml --disable-model-loading-ram-optimization --opt-sub-quad-attention --lowvram --disable-nan-check --skip-torch-cuda-test --no-half --no-half-vae --reinstall-torch --autolaunch

    • @sadcat8237
      @sadcat8237 2 หลายเดือนก่อน

      Broooooooooooo I love you!!!

    • @lucian6172
      @lucian6172 2 หลายเดือนก่อน

      @@sadcat8237 Don't use --lowvram if it runs fine without it because it makes it slower. Try --medvram or remove that option completely and see which way works faster without errors. You can also try Krita Ai because it makes everything more simple.

    • @hyde_1974
      @hyde_1974 2 หลายเดือนก่อน

      @@lucian6172 worked for me, thanks my dude

    • @PsychoBenches
      @PsychoBenches 2 หลายเดือนก่อน

      @@lucian6172 it doesnt recognize --highvram, thats not a real parameter apparently

    • @lucian6172
      @lucian6172 2 หลายเดือนก่อน

      @@PsychoBenches --highvram is only available in ComfyUI. Try --medvram or --lowvram if you are in WebUI. Or check the available options using --help and see which one works in your case.

  • @whiteZORA1
    @whiteZORA1 ปีที่แล้ว

    Very helpful, thanks

  • @carlollos2635
    @carlollos2635 ปีที่แล้ว

    Thank you buddy! ur the best

  • @carlosan6965
    @carlosan6965 ปีที่แล้ว +2

    thanks, it worked for me on an RX 6600

    • @RaeSanira
      @RaeSanira 11 หลายเดือนก่อน

      how? I followed all the steps and is not working

    • @RaeSanira
      @RaeSanira 11 หลายเดือนก่อน

      it renders on CPU

    • @RaeSanira
      @RaeSanira 11 หลายเดือนก่อน

      It works, I discovered I had installed NVIDIA Drivers, causing the issue for the AMD installation.

  • @robertgoldbornatyout
    @robertgoldbornatyout 10 หลายเดือนก่อน +1

    Excellent upload, I got it working, on rx580 8 gbram, takes about 1minite to generate 512 x 512, image, now i just have to learn all about the interface. thanks for the upload liked subed,

    • @LazyNinjaZ
      @LazyNinjaZ 10 หลายเดือนก่อน +1

      i have the same card and followed the same steps in the video but the final image looks burned out... did you face any issues?

  • @DevanshSharma-wx6zy
    @DevanshSharma-wx6zy 11 หลายเดือนก่อน +3

    ImportError: cannot import name 'opts' from partially initialized module 'modules.shared' (most likely due to a circular import) (D:\Stable Diffusion\stable-diffusion-webui-directml\modules\shared.py)
    Any solutions ?

  • @DRUNKALOT66
    @DRUNKALOT66 ปีที่แล้ว

    Thank you so much. I made it right now xD

    • @TrentKingdom
      @TrentKingdom  ปีที่แล้ว +1

      No Problem! Make sure to subscribe if you like Ai Content!!

  • @RaeSanira
    @RaeSanira 11 หลายเดือนก่อน +1

    Thanks for the Video, works perfectly with RX 6600

    • @einstien2409
      @einstien2409 11 หลายเดือนก่อน

      What is your iteration speed? how long does it take you to create the image he created?

    • @RaeSanira
      @RaeSanira 11 หลายเดือนก่อน

      @@einstien2409 35 seconds

    • @nocifer
      @nocifer 4 หลายเดือนก่อน

      hey bro, im trying to run it on my rx 6650m, it keeps showing an issue with use-directml... any workarounds?

    • @RaeSanira
      @RaeSanira 4 หลายเดือนก่อน

      @@nocifer uninstall Nvidia drivers if you have some

  • @joshuastories
    @joshuastories 10 หลายเดือนก่อน

    thank you so very much for this video

  • @blazeaster
    @blazeaster ปีที่แล้ว

    9/10 tutorial my friend. try and level the sound effect to the same level as your voice if i was wearing the headphones i'd be having a buzz in my ears fs. beside that i managed to get it running. also you should clarify the problem with the link shortening in the description and that people should copy and paste the link. idk if it would work if you put it in quotes

  • @leftylou4693
    @leftylou4693 10 หลายเดือนก่อน +1

    if you add " --autolaunch" will launch the browser for you when loaded, and you have a great tutorial but with the error pointed out before, you need Python 3.10.6 for all the things (torch) in SD to work, and also you did towards the end remembere about the model about 3 mins after, but you forgot to tell people what folder to put the model into at that point, so some could have left the video after that, just for the future so it's more step by step you know, and let's be real you are not the only one with tut for AMD. But anyways, Thank you ;)

  • @MichaelR1975
    @MichaelR1975 9 วันที่ผ่านมา

    thanks, I got SD to work with My CPU which was very slow and not to great quality. But now working much better using my RX6600.

  • @sm0let
    @sm0let 11 หลายเดือนก่อน

    Thanks to the video creator❤

  • @UchihaMadara-wz7jo
    @UchihaMadara-wz7jo ปีที่แล้ว

    Thanks a lot dude !!

  • @ZakStudio_
    @ZakStudio_ 10 หลายเดือนก่อน

    Thx for this video. Did you find something to use ComfyUI or ControlNet?

  • @fraimy5204
    @fraimy5204 11 หลายเดือนก่อน

    Genius, it works somehow

  • @BruceCullen
    @BruceCullen 7 หลายเดือนก่อน +1

    I can't figure out why I keep getting this error when trying to launch A1111 ---> RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
    I have two GPUs but when it loads it seems to want to use the AMD not my Nvidia, but still unsure why I can't ever produce 1 image yet with any model.
    I have an AMD Radeon RX5700 XT (8GB)
    and
    Nvidia GeForce GT 710

  • @MustardPimp.
    @MustardPimp. ปีที่แล้ว +5

    I remember I tried it a long time ago and I had errors everywhere, but today thanks to your tutorial I've succeeded and what's more I've understood, thank you very much for your video!
    6700xt there

    • @pfnieks
      @pfnieks ปีที่แล้ว +2

      Really? I have the same gpu and it throws an error. What version of python do you have?

    • @iliaPayne
      @iliaPayne ปีที่แล้ว +2

      What's your generation speed on 6700xt in s/it ?

    • @freakdeer2486
      @freakdeer2486 11 หลายเดือนก่อน

      Leaving a dot cuz I also have that GPU. .

    • @pfnieks
      @pfnieks 11 หลายเดือนก่อน +1

      @@freakdeer2486 If you have a different version of python uninstall it and install version 3.10.6
      I couldn't get it to work with both versions installed, even changing the path settings in windows, it would always point to python 3.11 and eventually the installation would fail.

    • @pfnieks
      @pfnieks 11 หลายเดือนก่อน +4

      @@iliaPayne For me with 25 steps, 512x768 resolution and let's say a control net, it's usually less than a minute. Though if you add more controlnets, loras, or increase resolution, you can expect a few minutes.
      Using directml not only is slower but it's got an annoying issue where it doesnt't flush ram/vram so it fills the memory very fast and you are forced to restart the program.

  • @duckybm9935
    @duckybm9935 10 หลายเดือนก่อน

    Dude, thank you so much

  • @PatRose
    @PatRose ปีที่แล้ว

    thank you so much it worked

  • @jonnyconcrete5002
    @jonnyconcrete5002 ปีที่แล้ว +3

    * Please help* I get cmd message, it says " fatal: could not create work tree dir 'stable...': invalid argument" I have tried granting admin permissions for Python & Git, reinstalling Python with "add path"..im stuck someone please help me as i need this for my work... TIA

  • @user-jf5uv9ir5k
    @user-jf5uv9ir5k 8 หลายเดือนก่อน

    Do you visit that IP link each time you want to run it after computer closes or any processes before each time you want to start the program?

  • @julianelagrimas6261
    @julianelagrimas6261 7 หลายเดือนก่อน +1

    No module named pip
    Launch unsuccessful. Exiting.
    Press any key to continue . . .
    im getting this error help

  • @marilub9001
    @marilub9001 ปีที่แล้ว

    thank u , you save me really

  • @spitfireXT
    @spitfireXT 6 หลายเดือนก่อน +1

    tried this and when installing the fork it says
    "fatal: could not create work tree dir 'stable...': Invalid argument" any idea as to why?

  • @johnlondon8462
    @johnlondon8462 11 หลายเดือนก่อน +3

    Had a question. At 6:35 you put the argument --medvram. I have 8GB vram and did this and am running into runtime errors due to not enough VRAM, any suggestion?

    • @ted_van_loon
      @ted_van_loon 5 หลายเดือนก่อน

      first use: --lowvram instead of --medvram.
      -medvram is more of a setting for a rtx 4090TI or such, or a intel arc A770, most other GPU's are much better of using --lowvram. generally in AI anything with less than 16gb of vram is concidered low VRAM, even though in this version of stable diffusion, you can still run it with even integrated gpu's with 1gb or 2gb of vram by adding that --lowvram setting and staying to 512x512p and not higher.
      just be aware that the GPU's which are used by datacenters and such to run AI actually advertise with calling 80gb of vram low vram and advertising of up to 1.3TB of Vram for a single node, in general with almost all consumer cards there isn't much gain in not using --lowvram, and in general there is a lot to gain by using --lowvram.
      I know people like to boast about their systems by saying they use setting more for datacenter grade hardware, but honnestly it will in general only harm you.
      the only consumer gpu's which might actually work well with --medvram are cards like the a770 or rtx 4090ti and that is only if you only render low resolution images, if you render higher resolution images you should also use --lowvram on those.
      ofcource there are exceptions since you can offload VRAM into normal ram, that is what most people do, so they just have enough free normal ram so that they can handle better settings and resolutions by offloading in normal ram.
      what resolution do you try to render at?
      and how much normal ram does your system have?
      also do you have VRAM offloading enabled?
      first just try to render at 512x512p, first try it with DDIM as sampling method, and just try something like 12 to 20 steps.
      while more steps or the sampling method shouldn't affect ram requirements to much, DDIM is fast and gives good results, also lower steps go faster, with DDIM you get okay results at those steps for testing purposes, so when trying setting try to use that first, later on you can try other ones as well.
      also make sure VRAM offloading is enabled and that you have sufficient normal ram as well, so for example 16gb of ram so you have around 8 gb or normal ram free for stable diffusion to use.
      by default however in most operating systems the VRAM offloading will automatically work on a APU, but you might need to add a parameter in your case if you have a dedicated gpu, easy way to test it, is by just running it letting it generate something at a low

  • @dennik8374
    @dennik8374 7 หลายเดือนก่อน

    Great Video maybe u can add that you have to make python registered to windows path but thanks for the video works now!!!!!

  • @rafa-lk6lf
    @rafa-lk6lf 6 หลายเดือนก่อน +2

    yes it worked good but when i try to generate my prompt, the final result is always a black screen image on output :/

  • @ShadowClan1965
    @ShadowClan1965 11 หลายเดือนก่อน

    I have to say, I wholeheartely thank you, using cpu was just.... so so slow.

  • @gamingtrpro
    @gamingtrpro ปีที่แล้ว

    Works good on ryzen 5 3500x 16 gb ram rx6600 8gb !!! Usually takes around 1 min

  • @Ridersodyssey_63
    @Ridersodyssey_63 ปีที่แล้ว +6

    runs smoothly on amd 580 rx. thanks