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

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

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

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

    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 th-cam.com/video/TJ98hAIN5io/w-d-xo.html

  • @artymusoke1352
    @artymusoke1352 11 หลายเดือนก่อน +5

    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  11 หลายเดือนก่อน +1

      Hi,
      Thanks for reaching out, are you getting this issue on Windows 11?

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

      @@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

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

      @@matthewfuller9760ofc not.

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

      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.
      th-cam.com/video/TJ98hAIN5io/w-d-xo.html

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

      @artymusoke1352
      @matthewfuller9760
      @BulbOfSalad
      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.
      th-cam.com/video/TJ98hAIN5io/w-d-xo.html

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

    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  11 หลายเดือนก่อน

      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.
      th-cam.com/video/TJ98hAIN5io/w-d-xo.html

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

    rocm is supported in windows now
    have you looked into it
    running on directml is really slow

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

    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.

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

    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 11 หลายเดือนก่อน

      i have a 4gb RX 570

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

      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  11 หลายเดือนก่อน

      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 11 หลายเดือนก่อน

      @@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 11 หลายเดือนก่อน

      I had python 3.11 and I downgraded it, could it be that I did something wrong?

  • @barzoul-fr
    @barzoul-fr ปีที่แล้ว +2

    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  ปีที่แล้ว

      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 ปีที่แล้ว +1

      @@stuffaboutstuff4045 What is the correct version of python? I'm using version 3.10.6

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

    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 11 หลายเดือนก่อน

      Same.

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

      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 11 หลายเดือนก่อน

      @@elementpricee Thanks for your help! But now I have:
      "AttributeError: module 'torch' has no attribute 'dml'"

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

      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 11 หลายเดือนก่อน

      @@stuffaboutstuff4045 yeah

  • @mrmiereter
    @mrmiereter ปีที่แล้ว +4

    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  ปีที่แล้ว

      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

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

    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  ปีที่แล้ว +3

      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 ปีที่แล้ว +1

      @@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.

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

      @@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 ปีที่แล้ว +1

      @@Storygospel533Thank 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 ปีที่แล้ว

      remove the medvram option

  • @kanekiken-fb1hm
    @kanekiken-fb1hm 11 หลายเดือนก่อน

    have 7900xt getting an error: "Torch is not able to use GPU; add --skip-torch-cuda-test " when i reun webui

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

      Hi,
      Thanks for reaching out, are you getting this issue on Windows 11?

    • @kanekiken-fb1hm
      @kanekiken-fb1hm 11 หลายเดือนก่อน

      yes sir@@stuffaboutstuff4045

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

      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.
      th-cam.com/video/TJ98hAIN5io/w-d-xo.html

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

    Getting this error running webui-user.bat - TypeError: AsyncConnectionPool._init_() got and unexpected keyword argument 'socket option" Any advice? Thanks!

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

      Figured it out! Needed to install a compatible version of httpx

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

      @@dlawrence How did you manage to make it work, the same thing happens to me.

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

      @@Ayaplian8 Try typing these two lines:
      cd stable-diffusion-webui && source venv/bin/activate
      pip3 install httpx==0.24.1

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

      Glad you hear you got this resolved.

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

    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  11 หลายเดือนก่อน

      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  11 หลายเดือนก่อน

      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.
      th-cam.com/video/TJ98hAIN5io/w-d-xo.html

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

    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  ปีที่แล้ว

      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 ปีที่แล้ว

      I have the exact same issue bro

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

      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

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

    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  10 หลายเดือนก่อน

      Hi, you can try this fix posted by @karikaturdigital6123 on the SD Fix Torch Video. Check the video on the channel.
      th-cam.com/video/TJ98hAIN5io/w-d-xo.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

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

    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  11 หลายเดือนก่อน

      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...

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

    Did you consider using Torch-dorectml with stable diffusion ??

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

      Hi, thanks for reaching out. I did in the second video. th-cam.com/video/TJ98hAIN5io/w-d-xo.html I will build SD again and maybe just make an updated video with consolidated current steps..

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

      @@stuffaboutstuff4045 Thank you very much.

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

    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 ปีที่แล้ว

      are you trying to (run it with administrator) settings??

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

      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?

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

    Do u also have a guide to use this with MS olive translation? It gives 10 times the performance they say

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

      Hi,
      Currently looking into into it. I will let you know when I have something ready.

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

      @@stuffaboutstuff4045 Great!

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

    2:58 there is no link in my cmd promt

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

      Hi, this means your webserver is not loading. Any error before this you can share. Let me know if you managed to resolve this. Thanks for reaching out.

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

    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  ปีที่แล้ว

      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...

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

    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  ปีที่แล้ว +2

      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 ปีที่แล้ว

      @@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.

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

      --skip-torch-cuda-test command makes it so the program uses the cpu instead of gpu

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

    Worked like a charm! Thanks oom

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

    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  10 หลายเดือนก่อน

      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 10 หลายเดือนก่อน

      @@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  10 หลายเดือนก่อน

      Hi, Did you check this video below. Is this not the issue you are sitting with?
      th-cam.com/video/TJ98hAIN5io/w-d-xo.html
      This video should resolve your issue.

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

      Hi, Did you check this video below. Is this not the issue you are sitting with?
      th-cam.com/video/TJ98hAIN5io/w-d-xo.html
      This video should resolve your issue.

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

    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  8 หลายเดือนก่อน

      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 th-cam.com/video/TJ98hAIN5io/w-d-xo.html

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

    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  ปีที่แล้ว +1

      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 ปีที่แล้ว

      @@Celenwen Have you found a solution?

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

    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  ปีที่แล้ว

      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 ปีที่แล้ว +1

      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.

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

    Thanks its worked on my gpu RX 5600XT

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

      Thanks for the feedback!

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

      hey do you still use stable diffusion? i have same GPU. which model should i install? Shark or Dreamshaper?

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

      I am using the Dreamshaper model.

  • @__-fi6xg
    @__-fi6xg ปีที่แล้ว

    hy you didnt install rocm? does this not take advantage of the ai cores of the 6000 series?

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

      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 ปีที่แล้ว

      @@stuffaboutstuff4045 i installed rocm, but i turned off ai acceleration because i dont want SD to break.

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

    Hello, I followed all the steps, it works but it uses the CPU resources and not my RX 6700XT GPU. Because?

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

      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  11 หลายเดือนก่อน

      Hi,
      Can you check if this applies to your problem?
      th-cam.com/video/TJ98hAIN5io/w-d-xo.html

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

    how do you execute the webuiuserbat file ??? sorry for my ignorance but im stucked

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

      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...

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

    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  ปีที่แล้ว

      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?

  • @Dan-bl3tc
    @Dan-bl3tc ปีที่แล้ว

    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 ปีที่แล้ว

      Same here, any solution?

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

      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  ปีที่แล้ว

      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...

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

    This was extremely helpful, thank you very much ❤

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

    train isnt working for me is there a way to fix it

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

      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

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

    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  9 หลายเดือนก่อน

      Hi, can you check if this video applies? th-cam.com/video/TJ98hAIN5io/w-d-xo.html Otherwise share your command line arguments used for the GPU. Let me know...

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

    Me aparece esto NotImplementedError: Cannot copy out of meta tensor; no data!

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

      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

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

    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  8 หลายเดือนก่อน

      Hi, Did you check out this video. Is this the issue you have...
      th-cam.com/video/TJ98hAIN5io/w-d-xo.html

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

    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  ปีที่แล้ว +1

      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 ปีที่แล้ว

      @@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.

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

    I cant tell if you are an aussie or an indian guy

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

      😉 lol neither. But the aussie guess is closer.

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

    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  ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      @@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  11 หลายเดือนก่อน

      Pleasure!

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

    How did you add the stable diffusion onto the back screen

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

      Hi, bit of late reply, can you clarify the question..

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

      @@stuffaboutstuff4045 he asked about DARK THEME

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

    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  ปีที่แล้ว +3

      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 ปีที่แล้ว

      @@stuffaboutstuff4045 thanks for the video!

  • @125kamil2
    @125kamil2 ปีที่แล้ว

    why me run on cpu? i have rx 6600 gpu but its running on my cpu lmao, how to fix it?

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

      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

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

    Dumb question. Does it have to be this exact version of Python or can we download newer ones (if available)?

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

      Hi, Yep it has to match the prescribed version on the repo.

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

      @@stuffaboutstuff4045 Thanks for this info. SD didn't work on my end though. Hope I'll get a proper card soon.

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

    what gpu did you use to test this?

  • @Gae-qw1fc
    @Gae-qw1fc ปีที่แล้ว

    I did the whole procedure, but at the end it gives an error

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

      Hi,
      If you followed this step by step it should work fine. Can you share the error.

    • @Gae-qw1fc
      @Gae-qw1fc ปีที่แล้ว

      @@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 ปีที่แล้ว

      @@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).

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

    Anyone know how to make comply ui work on AMD?

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

    wow !!! saludos desde México, muchas gracias amigo.

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

    Thanks. Appreciated.

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

    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  ปีที่แล้ว

      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!

  • @mr.diontoahmed1134
    @mr.diontoahmed1134 ปีที่แล้ว

    WebUI doesn't even run with AMD GPUs! What kind of tutorial is this?

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

      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...

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

    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  ปีที่แล้ว +2

      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 ปีที่แล้ว +1

      Yes updated the config file, everything works with v1-5. Thanks! Unfortunately it works not with SDXL 1.0 on my machine.

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

      @@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

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

    That has nothing to do with AMD GPU, it runs on the CPU now..

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

      Hi, just check if this applies to you did you check this SD video..
      th-cam.com/video/TJ98hAIN5io/w-d-xo.html

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

    Gracias, funciona :D

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

    Yeah.. it can work with AMD but didnt use the GPU at all xd it use ram :'v

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

      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..

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

    How do i do this? th-cam.com/video/POtAB5uXO-w/w-d-xo.htmlsi=7XdxB3eWTq0xnMTi&t=152

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

      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.
      th-cam.com/video/TJ98hAIN5io/w-d-xo.html

  • @Gutov-cw2hx
    @Gutov-cw2hx ปีที่แล้ว

    man ty

  • @3DArtist-Indie_Game_Developer
    @3DArtist-Indie_Game_Developer ปีที่แล้ว

    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  ปีที่แล้ว

      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 ปีที่แล้ว

    I follow the steps, buy always I get a black image :(

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

      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 ปีที่แล้ว

      @@stuffaboutstuff4045 I have a Radeon RX-480 8GB