Mastering Stable Diffusion: Common Errors and Easy Fixes

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

Комментарии • 283

  • @thebodycambeat
    @thebodycambeat Год назад +181

    Thanks man! This is for everyone who forgot the v like I did.
    --lowvram --precision full --no-half --skip-torch-cuda-test

  • @oldluk
    @oldluk Год назад +9

    your video was the only to be actually helpful and straight to the point, thanks!

  • @bongbongbe7505
    @bongbongbe7505 Год назад +4

    Oh my gosh, I really appreciate you so much. Just one of your videos solved my troubles for many days. Thank you very much. Have a good day

  • @gab_moraex
    @gab_moraex 7 дней назад

    You were the only one who saved me, a hug from Brazil 🇧🇷

  • @2ru2pacFan
    @2ru2pacFan Год назад +7

    Although my problem wasn't what you mentioned in the video but seeing that "venv ...." at the top of your command line made me notice that the folder wasn't created in my directory so thanks man!! You helped me as I've been trying to sort this out for the past 2 days!!

    • @owouwu0
      @owouwu0 Год назад +1

      How do you fix that?

  • @AlexCheshireGame
    @AlexCheshireGame Год назад +8

    It worked, downloaded after these changes a lot of just 15 minutes and then everything worked in the browser. Thank you very much!

  • @aarainmusic
    @aarainmusic 4 месяца назад +2

    it's working, thank you so much. I searched 3 days this problem's resolve.

  • @fire2299
    @fire2299 21 день назад

    I love you man. I've been looking for a solution to this problem for 4 days.

  • @Faysall369
    @Faysall369 4 месяца назад +1

    Thank you man, You deserve more thousands of likes. After a week I have found your video and it's really worked for me. Love you bro! huge respect for your efforts and genuine information 🎉

  • @mariaclara8871
    @mariaclara8871 Год назад

    Thank you very much!!!!! Your video was the only one on RUclips that solved this error.

  • @rico-228
    @rico-228 Год назад +43

    --lowvram --precision full --no-half --skip-torch-cuda-test

    • @erwinngo
      @erwinngo 8 месяцев назад

      Pin this!

  • @lyonfps_
    @lyonfps_ 5 месяцев назад

    Man, thank you so much, you don't know how much you helped me, God bless you brother

  • @deltagta
    @deltagta 7 месяцев назад

    Fixed a ton of my issues. Thank you!

  • @HonestAdonis2
    @HonestAdonis2 Год назад +2

    thanks for the pip fix

  • @Howtofewithlove
    @Howtofewithlove 8 дней назад

    Unsung hero! To others, i got a error after installing the later release of python, so delete the stable-diffusion-webui folder and extract again from the rar file.

  • @OhYeah3D
    @OhYeah3D 6 месяцев назад

    Thank you this video actually helped me set up my stable diffusion from home laptop.

  • @jean-caillou7941
    @jean-caillou7941 10 месяцев назад +1

    Thank you bro 👍🔥

  • @Jesse-Livermore-Lagrange
    @Jesse-Livermore-Lagrange Год назад

    many thx, this video solved a problem I hadn't solved in two hours!

  • @marcihuppi
    @marcihuppi Год назад +1

    i use comfy ui and after a "update all" i get this error: "AssertionError: Torch not compiled with CUDA enabled" any ideas?

  • @johnshedIetsky
    @johnshedIetsky 8 месяцев назад +1

    when i upgraded the pip and then tried to run the web ui, it still says that i havent upgraded it. and when i try to upgrade it again it says that i have already upgraded it.

  • @naimishranderi
    @naimishranderi 11 месяцев назад

    Thank it worked for me. Very helpful and straight forward.

  • @SpaceTunis
    @SpaceTunis Год назад

    Where can i find your desktop wallpaper please ??

  • @soft-giant
    @soft-giant 10 месяцев назад

    After rendering in sd deforum long video, on my SSD disk c left a little space. Where to delete those cache files or redirect?

  • @zzCC-g7y
    @zzCC-g7y 3 месяца назад

    Thank you very much!!!!!!!! Very successful!!!!!!!!

  • @todomundojogaoficial
    @todomundojogaoficial 6 месяцев назад

    WHERE DO I GET THIS WALLPAPER FROM YOUR PC?

  • @eybroo685
    @eybroo685 Год назад +4

    hi im getting a Error: ''int' object is not callable'. Check your schedules/ init values please. Also make sure you don't have a backwards slash in any of your PATHs - use / instead of \. Full error message is in your terminal/ cli. how can i fix it

  • @larv6398
    @larv6398 Год назад +6

    need help with this error: 'A tensor with all NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.'. Check your schedules/ init values please. Also make sure you don't have a backwards slash in any of your PATHs - use / instead of \. Full error message is in your terminal/ cli.

    • @towen87
      @towen87 Год назад +1

      This one!!

    • @MEmio3
      @MEmio3 Год назад

      @larv6398 did you find any solve for that except for that
      COMMAND_ARG=--no_half --Disable_nan_check
      ?

    • @psicodeimos
      @psicodeimos Год назад

      works for a while ,but is not a fix@@MEmio3

  • @GabrielFranciscoFulgoni
    @GabrielFranciscoFulgoni Год назад +1

    Thanks a lot, your video helped me a lot!

  • @SURREALMOOKIE
    @SURREALMOOKIE Год назад +1

    Good job

  • @zibrankhan2671
    @zibrankhan2671 Год назад

    Thank you so much, it fixed all of my problem.

  • @Frank-Walker
    @Frank-Walker 2 месяца назад +1

    I followed your tutorial. Insyalled successfull. i wrote some prompt & clicked on generate. Now it's saying "runtime error. found no nvidia driver on your system" why it's searching for Nvidia card ? Mine is amd vega 8.

  • @I_am_Pathos
    @I_am_Pathos Год назад +1

    Thank you, very much!!!

  • @6H111G9
    @6H111G9 Год назад

    legendary! this was driving a crazy. thank you

  • @VirtueArts
    @VirtueArts Год назад +2

    Very helpful! Thankyou

  • @Grimmjow-VI
    @Grimmjow-VI Год назад

    Thanks bro! it worked perfectly.

  • @chintankapadia8555
    @chintankapadia8555 Год назад +2

    Hey I get stuck on diffusionwrapper, can you help me with that
    "DiffusionWrapper has 859.52 M params." This is the error
    I tried going in etag and removing the value too but that doesnt help either

    • @kap1pa
      @kap1pa Год назад +1

      hey I am stuck there as well, did you find a solution?

  • @Steven-Wilder
    @Steven-Wilder Год назад

    Holy savior!!! ❤❤❤
    Thank you so much :3. My head just tired of trying to fix the error untill i found your video. Your explanation is so damn smooth and being the best one so far. Love your vid, keep up the good work :>

  • @SleepyReviewer
    @SleepyReviewer 6 месяцев назад

    OH MY GOD BRO THANKS YOU SHOULD LIVE FOREVER!!!

  • @sujandangol3508
    @sujandangol3508 Год назад

    how do i install the background wallpaper that you have in this video currently...

  • @Viczang
    @Viczang Год назад

    thanks man finally fixed!!!! you rock!!!

  • @mixonium3134
    @mixonium3134 Год назад +1

    Thank you, Bro!

  • @workfromhome69
    @workfromhome69 Год назад +8

    "A tensor with all NaNs was produced in VAE.
    Web UI will now convert VAE into 32-bit float and retry.
    To disable this behavior, disable the 'Automaticlly revert VAE to 32-bit floats' setting.
    To always start with 32-bit VAE, use --no-half-vae commandline flag."
    I got this error in Stable Diffusion with the model SDXL V1.0. Can you please explain what does it mean and how to solve it?

  • @amin.dailylife
    @amin.dailylife 10 месяцев назад

    thanks man really helpful

  • @repositorytutorial3d50
    @repositorytutorial3d50 Год назад +1

    What about this error:
    I entered the AI from webui, it worked 5 6 times, and then now is only saying queueing, end nothing is generated, what might be the issue? shouldn't be this web user interface running only locally? what is this "queue" meaning?

  • @LowJackAP
    @LowJackAP Год назад

    THANKS! My error said something about my GPU couldn't use no-half this tutorial fixed it !!

    • @Handler643
      @Handler643 Год назад

      Did you find a solution for this?

    • @LowJackAP
      @LowJackAP Год назад

      @@Handler643 yeah all I did was copy his arguments into the webui-user batch file at 2:00

  • @Saif_king760
    @Saif_king760 Год назад +2

    I have error and I can't solve the error source code string cannot contain null bytes

  • @dziku2222
    @dziku2222 Год назад

    Fantastic, thanks man

  • @waqarwiki682
    @waqarwiki682 Год назад +1

    how long it takes to install gfpgan usually? and can it be done manually

  • @YahiaChettibi
    @YahiaChettibi 9 месяцев назад

    Thanks brooooooo u saved my day

  • @vanth7456
    @vanth7456 Год назад

    Awesome, thanks! It worked!

  • @joja374
    @joja374 Год назад

    i had the exact same problem. thank you so much!

  • @visionXai
    @visionXai Год назад

    worked for me, thanks a bunch :D

  • @superduper8795
    @superduper8795 6 месяцев назад

    how do i fix the nividia gpu on a laptop not being used for stable diffusion and how do i know if its used or not

  • @MissMisha-yx1gb
    @MissMisha-yx1gb Год назад +2

    I am getting error after installing the temporalkit in stable defusion :- ModuleNotFoundError: No module named 'tqdm.auto'
    Press any key to continue . . .

  • @immortal4034
    @immortal4034 Год назад

    you are the best bro thank you

  • @robinnami-m7u
    @robinnami-m7u 2 месяца назад

    can i ask u, why my terminal do not appear. im so confused

  • @waqarwiki682
    @waqarwiki682 Год назад

    that was pretty helpful, thanks man

  • @namdinh6352
    @namdinh6352 3 месяца назад

    thank you so much!

  • @vectorjani8634
    @vectorjani8634 11 месяцев назад

    Thanks it work perfectly❤

  • @albab425
    @albab425 8 месяцев назад +1

    I have installed Automatic 1111, my trial image gave me the below message which I'm not tech-ey enough to understand; I have 4gb Nvidia GPU. If you're able to help me with a straightforward solution I'd be very appreciative. Thanks.
    NansException: A tensor with all NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.

  • @ryanstephenson1418
    @ryanstephenson1418 Год назад

    I moved fooocus files from one external drive to another, a lacie rugged as E: drive to a different lacie rugged F: --now I get an error when I run the .bat. Thoughts? Fixes?

  • @KarlaEnriquezfire
    @KarlaEnriquezfire Год назад

    it's working Thank you! Thank you!!!

  • @문동원공방
    @문동원공방 4 месяца назад

    thank you ~ finaly i did God bless you~

  • @thevoworld
    @thevoworld 11 месяцев назад

    Didn't find the google cloud set up for SD to run every day for 2 hours, please make a video on that too.

  • @jhonysteak5512
    @jhonysteak5512 Месяц назад

    nothing to work for me, but I confess not to have understood all. Should I try the versions of Python one by one between the oldest and most recent among all that it mentions?

  • @joguland
    @joguland 11 месяцев назад

    I have this error "ValueError: max() arg is an empty sequence" how do I fix it?

  • @keepitshort4208
    @keepitshort4208 Год назад

    Having connection error running fooocus, using a 1660ti is there a way to fix the connection error ?

  • @sujandangol3508
    @sujandangol3508 Год назад +1

    ERROR: Could not find a version that satisfies the requirement torch==2.0.1 (from versions: none)
    ERROR: No matching distribution found for torch==2.0.1,
    what does this mean?

    • @1hpduck462
      @1hpduck462 Год назад

      rez bro i have the same problem

    • @Yokenshiro11
      @Yokenshiro11 Год назад

      i think u need a python version that is compatible with torch so not the later ones, try 3.10.6

    • @Yokenshiro11
      @Yokenshiro11 Год назад

      same answer @@1hpduck462

    • @VVVVV99611
      @VVVVV99611 9 месяцев назад

      @@Yokenshiro11 Yes, I've done this and it still does the same thing.

  • @Собственник-т3к
    @Собственник-т3к Год назад

    helped me, thanks dude

  • @gravitycattcgshop9312
    @gravitycattcgshop9312 7 месяцев назад

    it worked thank you very much

  • @GFXDesigners
    @GFXDesigners 7 месяцев назад

    my inpaint is not working
    whaen I paint on image and add a prompt then i generate a image it comes same how i painted in generated one
    how to fix this

  • @marcoslasaye5709
    @marcoslasaye5709 9 месяцев назад

    definitely one of the best helping videos i ever seen, I have another error, ''error connection out'' while pressing "generate" why this happen? I have already delte all cookies and change browser but this persist

  • @tgazo5874
    @tgazo5874 Год назад

    Great video! Nice clear English, talking slowly, not missing steps in the instruction, no (I'm not joking about this) frkn rooster or highway noises in the background... def. a 10/10

  • @LeoPaints
    @LeoPaints Год назад

    Oh, man! Thank you, i got it.

  • @rpaiii7712
    @rpaiii7712 Год назад

    Thank you so much!

  • @beStoic1
    @beStoic1 7 месяцев назад

    Thank you for help, including comment heroes

  • @AlniyatStar
    @AlniyatStar Год назад

    Thanks! It worked!

  • @SuperFoxerYT
    @SuperFoxerYT 11 месяцев назад

    Youre a life saver

  • @davidcantalejo-jung667
    @davidcantalejo-jung667 8 месяцев назад

    It worked like magic. :)

  • @MozTheBoz
    @MozTheBoz 11 месяцев назад

    Hi I'm a newbie and I tried installing a generative fill plug-in for Krita but whenever I try to generate the one I wrote on it's prompt it's giving me this error message:
    Server execution error: Error while deserializing HeaderTooLarge
    Do you know any fix for this?

  • @tuaha9578
    @tuaha9578 Год назад

    im having an issue here
    stable diffusion model says LayerNormKernelImpl" not implemented for 'Half'
    any chance you can help me plz

    • @mqxp
      @mqxp Год назад

      edit the webui-user.bat file and copy "--precision full --no-half" into the args like this "set COMMANDLINE_ARGS= --precision full --no-half"

  • @Beamzers
    @Beamzers 4 месяца назад

    I'm getting a "stable diffusion model failed to load" error. Stable diffusion still opens up but I cannot generate any images. I tried downloading the model directly from hugging face website but it has a 404 error on the page. It no longer exists or it was removed.

  • @ushiro2031
    @ushiro2031 10 месяцев назад

    hello, how r u? i have this error for SD directml olive onnx , raise AttributeError(f"module '{__name__}' has no attribute '{name}'")
    AttributeError: module 'torch' has no attribute 'dml', help please

  • @Terrencetheterrible
    @Terrencetheterrible 6 месяцев назад

    i have 2 versions of puthon, 3.10 and 3.12, yet every time it runs I get an error since the program runs on 3.12 and not 3.10. How do I fix it so that it runs on 3.10?

  • @LaVoce_delcuore
    @LaVoce_delcuore Год назад +1

    After I had install Temporal Kit my Stable Diffusion don't want no more to restart... give me this error: ModuleNotFoundError: No module named 'tqdm.auto'. I tried to reinstall SD 4 times already

    • @MarylandDevin
      @MarylandDevin Год назад

      Any luck? I'm having the same issue. I can get SD back to running deleting a folder. But I can not get it to run with Temporal Kit.

  • @xzypergods9867
    @xzypergods9867 8 месяцев назад

    Can you help me with this one. Whenever I run stable diffusion and use a negative embeddings, this error always occur. "runtimeerror: expected scalar type half but found float"
    But when I don't use negative embeddings it runs fine. Please help

  • @pumpkinheadghoul
    @pumpkinheadghoul Год назад

    When I open Stable Diffusion and type in a command to the prompt window, like "woman walking down sidewalk" or anything else I type in there, it never returns with an image. It just gives me the following. RuntimeError: "LayerNormKernelImpl" not implemented for 'Half
    I have no idea what I've done wrong.

  • @Ulibert
    @Ulibert Год назад

    Stable diffusion model failed to load

  • @huseyingultekin5481
    @huseyingultekin5481 Год назад

    this bro is genius

  • @Kurdroyce
    @Kurdroyce 9 месяцев назад +1

    It is not work for me , can help me ?

  • @GhostriderBA877
    @GhostriderBA877 Год назад

    I also get an error about the package not having the right or expected hashes for pytorch 2.0.1. I have tried to search for the right version and manually load it, I have tried to use Conda to load it, deleted the venv folder and a host of other things that I've found. Any help you can provide would be great.

    • @AI-jf1st
      @AI-jf1st Год назад +1

      By removing the pip cache folder you can remove hash mismatch error.
      Cache Folder will usually in c://user/user-id/pip/cache
      Don't know the exact path you can search for path online.

    • @GhostriderBA877
      @GhostriderBA877 Год назад

      @@AI-jf1st thanks for replying. I did attempt this earlier with no success . The solution that worked for me was to find the version of pytorch with the correct hash and download that directly from the web. I put the error code into Bing AI Chat and it gave the correct download link.

  • @ninllot
    @ninllot Год назад

    GRACIAS!!!! me funciono

  • @iulianpartenie6260
    @iulianpartenie6260 Год назад

    Hy! Great explanation! Could you tell me please how to fix this error? Thank you! "RuntimeError: mat1 and mat2 must have the same dtype"

  • @priyanshu690
    @priyanshu690 Год назад

    it worked for me thank you

  • @Scaveger
    @Scaveger Год назад

    Is there a way to manually download pytorch my system freeze and crashes then restarts

  • @A.RSTUDIOS
    @A.RSTUDIOS Год назад

    Due to my network being unstable , I downloaded d torch file locally and installed it. But whenever I click on the webui-user.bat file it tries to download it all over again. How to I make it Skipp that part

    • @aantole3470
      @aantole3470 Год назад

      can you fix this problem? i have the same issue

  • @henrysingletary
    @henrysingletary 3 месяца назад

    I uninstalled python, git, and all the installers but it says "a folder or file in it is open" so I can't delete it which doesn't make sense because I don't have any program open. HELP!

  • @TheContentKingdom96
    @TheContentKingdom96 Год назад +2

    great explanation 1 sub from me

  • @amity3404
    @amity3404 Год назад

    thank you so much

  • @ThEmptinessMachine
    @ThEmptinessMachine 6 месяцев назад

    nice, thx man