How to Install & Use Stable Diffusion on Windows

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

ความคิดเห็น • 1.8K

  • @gar-alternatevids4006
    @gar-alternatevids4006 ปีที่แล้ว +640

    Great video. In case anyone runs into the same problem I had, when I launched the "webui-user.bat" file, it couldn't find python, even though I clicked the path box as stated in the video. Good news is that the fix is easy and simple. Just edit the .bat file the same way the video instructs you to add the git pull, but this time find the command line "set PYTHON=". After the =, put the path to your python.exe (wherever you installed it to). For example, "set PYTHON=C:\Users\MainUser\AppData\Local\Programs\Python\Python310\python.exe"

    • @toothchatter1
      @toothchatter1 ปีที่แล้ว +19

      you are a saint! thank you for posting this

    • @katchinska
      @katchinska ปีที่แล้ว +8

      For me the 'set PYTHON' command was already there. So adding another command actually didnt work. But assigning the file path to the set PYTHON command that was there already worked. Thanks for the help

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

      thanks

    • @JulDuk
      @JulDuk ปีที่แล้ว +16

      I have the same error but doing this does not work for me, it keeps telling me Couldn't launch python

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

      @@JulDuk Same for me bro, could you fix it?

  • @carlangelotardecilla8675
    @carlangelotardecilla8675 ปีที่แล้ว +573

    The best, most detailed, and no BS tutorial I've ever watched thanks Kevin for this video!

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

      same here. well done

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

      Right I was gonna comment the same thing, he explains why you get python and git and what they do, and actually explains things clearly and slowly.

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

      yep

  • @derekfurst6233
    @derekfurst6233 ปีที่แล้ว +99

    The problem with many videos like this is that they're usually too focused. "ok i'm gonna show you how to do this with a very obscure git project". But you explained WHY we're using this fork, what this fork is, and explained every stop along the way. well done

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

      what makes you think that this GIT project is obscure??

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

      @@VitasLoWang it isn't. That's the point I'm making. I'm comparing this video to others

  • @hunterbydin-xk9ug
    @hunterbydin-xk9ug 7 หลายเดือนก่อน +6

    Why can't everyone clearly explain things like this? best video ever.

  • @jtomnii
    @jtomnii ปีที่แล้ว +137

    If you are having trouble installing torch after launching the .bat file try deleting the venv folder in your stable diffusion webui folder and a new one should be generated after launching the webui-user bat file which will install a compatible version of torch.

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

      I am getting this error:
      ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu117 (from versions: none)
      ERROR: No matching distribution found for torch==1.13.1+cu117

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

      thanks homie

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

      Ur amazing brother

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

      You the man
      😉

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

      holy shit this seems to be working so far

  • @jeffscott2970
    @jeffscott2970 ปีที่แล้ว +39

    This guy deserves credit no joke, I'm an IT engineer and still didn't know some of the useful keyboard shortcuts he uses so there's plenty of added benefit when watching his tutorials. Subscribed and highly recommend. Kevin, if you haven't already please make a tutorial for M1/2 Macs.

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

      Welcome to IT, where you know all the things you need to know, but you can't keep up with all the damn shortcuts!
      I never would've thought to use that command prompt shortcut in file explorer. This guy's a genius.

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

      i am a cyber security students and my professor always discuss with his students about new things in cyber industry.
      even tho you got a title and become a teacher, you always have to learn new things about it, its the fun part of this industry.

  • @groar6169
    @groar6169 ปีที่แล้ว +17

    Kevin is always my go-to guy for all tech knowledge that I need for the demands of my job. He provides a clear guide, breaks it down into simpler, understandable chunks, and is very straight forward and professional. Thank you, Kevin!

  • @djkrazay7791
    @djkrazay7791 ปีที่แล้ว +14

    After 2 attempts of installing it, your made it simple and to the point. Thanks so much for the time you put into your tutorials! Gotta go play!

  • @michaell.9027
    @michaell.9027 ปีที่แล้ว +35

    Very good instructions. Few things that didn't work: 1) using cmd "git clone" led to "permission denied", so I had to run cmd as admin. 2) double click on webui-user.bat didn't have any effect, so I had to run it via "git CMD". But it worked, thank you very much!

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

      how did you run number 2 with git CMD can you explain a little?

    • @michaell.9027
      @michaell.9027 ปีที่แล้ว +8

      @@krezen3588
      I opened "git cmd" as administrator (this is a program you installed), drilled to the right directory (the inner one of stable) and then typed the name of the file (with bat extension)

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

      @@michaell.9027 thank you for your help!

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

      @@michaell.9027 I tried this but in both CMD and Git CMD (cd d/ X:\...) it gives an error:
      ======================================
      Already up to date
      Couldn't launch Python
      exit code: 9009
      stderr:
      Python not found, run without arguments to install from Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases
      ======================================
      I install both Git 64 bit & Python 3.10.7, and checked the Path box. Any idea why it won't launch Python?
      Is it because it's on a different SSD on Dir X:\ rather than C:\ or D:\ ?

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

      @@ElioRose Same Problem here... Any advice??

  • @Jawsbyte01
    @Jawsbyte01 ปีที่แล้ว +16

    Dude, Kevin, what a great video. Super easy to follow, no needless nothing talk, helpful info and tips. Super awesome man, keep it up.

  • @RavenZamir
    @RavenZamir ปีที่แล้ว +162

    Long process, but well and clearly explained. Totally new product for me. The presentation made it quite interesting. For those that may complain about it being difficult to install i would say that it is not an application for everyone, like Word or PowerPoint. Thanks Kevin. Great video.

    • @jameslewis2635
      @jameslewis2635 ปีที่แล้ว +15

      I would disagree. Having seen what it can do this kind of program is great for many people, especially creatives who are not always very tech savvy. Saying it's not for everyone is just trying to justify gate-keeping.

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

      Lol bro it took me 20 minutes. Its not long at all.

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

      @@majicMix911 My point exactly. Just follow the steps. But some seem to feel that it is too comlicated and long. They want everything automated.😂😂

    • @Kadum122
      @Kadum122 ปีที่แล้ว +11

      No reason for ANY application to be difficult to install, it's MAYBE complicated now cause it's not really widespread, in a year or two it will be a one click thing, like every other piece of software.

    • @Fahad-mj1vd
      @Fahad-mj1vd ปีที่แล้ว +1

      I disagree with the statement that the installation process for the product is long. It could be made more efficient and user-friendly for a wider audience. Everyone should have access to use it easily, regardless of their technical skill level. It should not be considered an application only for advanced users.

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

    I had errors. I had the python 3.10.6... But when i deleted venv it all took its place. Thank you for great installation tutorial.

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

    5/5 clarity and thoroughness it's amazing how few quality how to videos on this site, well done

  • @bbasmdc
    @bbasmdc ปีที่แล้ว +11

    Kevin - thank you so much for the excellent explanation. Like a few people here I had a Python 310/311 issue with the path. I solved it by renaming the Python 310 app folder to 311 and referring to 311 in the BAT file (even though it was Python 310).

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

      up! thank u this works

  • @SamRiseman
    @SamRiseman ปีที่แล้ว +59

    I can't believe how easy you just made this set-up! Thanks for your clear, easy-to-follow, step-by-step instructions. You skipped me ahead to the fun part! 🙂👍

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

    Thank you for the clear and concise explanations. I tried installing this before by myself and gave up with out video. Your video actually made it seem really simple, and thank you for explaining why you need each of the programs.

  • @Alex-md5zd
    @Alex-md5zd ปีที่แล้ว +563

    Sometimes I think Kevin is an AI

    • @miguelalvesmacedo
      @miguelalvesmacedo ปีที่แล้ว +17

      aren't we all?

    • @timaden3916
      @timaden3916 ปีที่แล้ว +13

      We're all Turing machines

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

      Why Its still not working even 3.10.6
      Is my pc too old or something im on windows 10

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

      @@the_proffesional1713 what gpu u using ? its not working on my gtx660 with 2gb vram

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

      @@niloyck2540 your 2gb of vram is probably the problem.

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

    Awesomesauce 👏🏻👏🏻 very easy to follow.
    Also if anyone is facing a Runtime error installing torch, delete the venv file which was downloaded for the wrong python version.

    • @PeterParker-df6ce
      @PeterParker-df6ce ปีที่แล้ว +1

      Thank you sir, you saved me!

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

      man you saved me a lot of trouble, thanks

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

      What the hell is venv file? I can't find it anywhere

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

      @@saltysalt844 It’s suppose to be in the folder where you downloaded stable diffusion. However, if you can’t find it in yours, it might be caused by a different issue.

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

      Man im getting this error again and again after deletion of venv folder too... help me how to solve this?

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

    Thanks for a great vid!!!
    For all of you who asked about the -"Torch is not able to use GPU" .... what did the job for me was updating my nvidia driver - try it

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

      its updated but still does not work. Any idea?

  • @Aaron-fj2hw
    @Aaron-fj2hw ปีที่แล้ว +3

    Thank you so much for this! This is the best tutorial I've seen on getting stable diffusion running. I was so confused on what to do until I found your tutorial

  • @CharlotteGrossin
    @CharlotteGrossin ปีที่แล้ว +38

    Super detailed explanation - made simple. Really interesting and thorough. Great job!

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

    FINALLY someone who gives a full explanation rather than "fkn figure it out yourself". THANK YOU.

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

    Awesome tutorial, went from not knowing anything to having it working in one sitting! Thanks for all the help

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

    Thanks for the hard work on putting this together! One thing. None of the URLs will be copy-pasteable because of YT "needing" to screw them all up. You'll probably need to just right-click them and open in a new tab/window and copy them that way.

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

    Coming from outside the space this AI-art field seems extremely daunting. Thanks to you I can now try my hands at creating my first image. You are a hero.

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

    I learned more than "how to download and use SD". Very efficient and useful. Thank you

  • @AineCaptain
    @AineCaptain ปีที่แล้ว +27

    Hello there! Very good tutorial! I'm going to link it in my media for the people who ask me how to install my models :)
    However, just a quick detail, there's no need to rename the downloaded model as 'model', actually that can lead to confusion of people thinking they have to rename any model, and if you use many models keeping original names helps you keep things organised.

  • @youdontknowme-b9u
    @youdontknowme-b9u ปีที่แล้ว +10

    Thanks for accepting my request and talking about ai arts. Love your videos ❤

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

    THANK YOU so much for the easiest and clearest step-by-step guide to installing this. I'm a novice myself, and following your steps made so much more sense than all the other videos and documents I found online.

  • @p.venkataraman4473
    @p.venkataraman4473 ปีที่แล้ว +4

    Wonderful precise step by step process with explanation. It was an adventure for me as I had to walk through it several times because of a python problem. It finally worked after i got rid of anaconda3, anaconda2, miniconda3, and their env variables.

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

      I'm guessing I have the same problem... When executing the bat file, it won't run because it tells me python is not found. Sadly I need anaconda for my studies....

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

    Kevin - this is the best stable diffusion beginner's tutorial I've found. Incredible work and thank you for being so precise with your words and instructions.

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

    I really like how you explain each part short and clear! I've followed another DS installation video before for my old PC but it didn't cover any explaination.

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

    What a great tutorial! 👍Not just instructions, but also explanations.
    I did have some errors. But it was all my faults, e.g. didn't ensure my old Python version having been removed.
    Again, that's a super good video. Thanks for making such great effort to illustrate the process 👍👍👍

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

      i got error. ill try to remove mine too

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

      how to remove? can you help?

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

      Ah, thanks for this. I couldn't figure out what was wrong, forgot I installed python ages ago for something else.

  • @John-o5r1h
    @John-o5r1h ปีที่แล้ว

    I've been trying to install for weeks. This is the first video that took step by step in an understandable way. Thank you.

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

    If you have an error with "torch==1.13.1+cu117 ", it's because you downloaded a "too recent" version of python. Follow these steps :
    -Delete the "venv" folder in stable diffusion
    -Uninstall python
    -Install python 3.10.6

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

      Yes I was just about to post this too. Downgraded python from 3.11+ to 3.10.6 fixed it for me :)

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

      unfortunately did not work ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu117 (from versions: none)
      ERROR: No matching distribution found for torch==1.13.1+cu117

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

      @@bluecobaltbackup woops, I forgot to mention that you have to uninstall python. It seems that stable diffusion auto chooses the latest version of python. Try again with these steps

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

      @@supermariosupermayhem ah i figured it out! my PC had python 3.8 downloaded and was automatically using that instead of 3.10.6

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

      i couldn't find the venc folder where is it

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

    I didn't understand the hype reading the comments but now I see what it's all about. Thanks to your clear and concise tutorial I had it running in less than 10 minutes! Keep doing what you're doing!

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

    00:00 Learn how to install and use Stable Diffusion for AI-generated images
    01:49 Two pre-requisites required for Stable Diffusion installation
    03:24 Install Stable Diffusion and WebUI for easy interaction.
    05:03 Download the base model for Stable Diffusion.
    06:35 Install and launch Stable Diffusion
    08:02 Using Stable Diffusion to generate photorealistic images from text prompts
    09:33 Adjust parameters for Stable Diffusion image generation
    10:59 Stable Diffusion generates different images for each prompt
    Crafted by Merlin AI.

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

    I'm pretty computer illiterate and this seemed like a really daunting endeavor. However, it worked the first time through for me. Thank you for the video!!

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

    If you can't find the .bat file there is pretty good chance you have not check the file name extension in the view option

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

      Thank you! You are right, I couldn't find it at all :( Where should I change these settings and run a model again? Sorry for asking, I wish to be as smart as you guys! Will appreciate any help. Thanks to Kevin that even people like me can at least try their chances here!

    • @RichieRich-e9q
      @RichieRich-e9q ปีที่แล้ว

      LEGENED

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

    This whole 'beginner' tutorial is such a painstaking process for non-Nvidia users. AMD users, let's group hug.

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

      Question. How do I know that it's actually doing something after I click 'Generate'? Is there some sort of a progress bar or some 'Please wait...' animation... thing? I just wanna know that it's processing something and not me waiting for nothing like an idiot for hours.

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

      HUG! I'm just encountering the issues, wish me luck!

  • @nirk4005
    @nirk4005 ปีที่แล้ว +13

    I had a problem at 7:43 in the video where i waited very long and nothing happened (i checked my D and C drive data transfer on the task manager, but there was no data transfer). So the hint i can give you is to restart your computer after installing everything before doing the cmd thing at 7:43. Now it worked for me. And i set the name of the data "webui-user" to "webui-user.bat" because in my folder the name of the data was "webui-user". I hope this helps someone with the same problem.

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

      Youre a fucking saint god bless you, stranger

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

      I have the same problem, that step takes forever, with no progress. I restarted my pc, and the file is indeed called "webui-user.bat''. But I am still stuck...

    • @Foodd-for-Thought
      @Foodd-for-Thought ปีที่แล้ว +1

      Thanks man, it worked!!

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

    Extremely detailed video, loved your style, First time watching it and you're in the deserved list of subscribing, Thankyou kevin

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

    So concise and helpful. Thank you!

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

      Glad it was helpful!

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

      @@KevinStratvert What is "a while" to complete? Seems to be stuck on "Model loaded in 121.4s (load weights from disk: 82.4s, create model: 4.6s, apply weights to model: 4.7s, apply half(): 3.6s, apply dtype to VAE: 0.2s, load VAE: 0.5s, move model to device: 13.1s, hijack: 0.3s, load textual inversion embeddings: 2.3s, calculate empty prompt: 9.6s)." and I am not seeing much use in CPU, GPU,. or disk.

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

    Wow. Really thorough. Lots of information in such a small amount of time. My A.D.D. brain is a BIG fan. Thank you!!!

  • @james.telfer
    @james.telfer ปีที่แล้ว +16

    Perfect timimg, was looking for a guide on it this week 👍 3090 space heater mode engaged 😁

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

    As always a nice and helpful video, this is no the first time I'm installing a software and initiate with a new journey of knowledge thanks to your tutorials.
    Thank you very much for sharing your knowledge, you do a great job guiding us step by step, to get to the final result.

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

    I have absolute zero no clue and can follow this video to make ai art, this is absolute great guide

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

    Another good one, thanks Kevin!

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

      I look in the comments.....and I find my great Maths teacher!!!! What a lovely coincidence.

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

    It worked after I uninstalled all of my other python versions :)

  • @leroydanilov
    @leroydanilov 11 หลายเดือนก่อน +6

    IF DON'T HAVE GPU:
    Very good, 4/5 just because I had to reclone the git repository for having python 3.11 and not 3.10. Also, I'm a laptop user and have no GPU in my laptop, following the tutorial has helped my greatly but I got stuck on PyTorch not letting me proceed and all I had to do was to change in the webui-user.bat file the set COMMANDLINE_ARGS= --skip-torch-cuda-test --no-half
    And everything worked perfectly fine.

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

      OMG you are are a saint, tried the skip test and that got it to open but then was getting the lowvram error....added the no-half and it works!!!!!

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

      @@RealityNonSequitur I’m glad I could help ☺️

    • @Random_-th5vr
      @Random_-th5vr หลายเดือนก่อน +1

      Sending you digital cookies
      digital hugs as well coz gosh was I tired from trying to find what is wrong with this shit

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

      @@Random_-th5vr yeah it was really annoying, glad I could help

    • @tudorstefan5762
      @tudorstefan5762 5 วันที่ผ่านมา

      @@leroydanilov where exactly do I change the text? Do I change --skip-torch-cuda-test with --no half? I must add that everytime I try to write something in the webui-user it crashes/closes.
      Thank you for help.

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

    Salute to Techies out there for spending a lot of time for installing a lot of python packages

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

    Kevin, always like your presentation knowledge base. Just installed Stable Diffusion and ran into a glitch. Installed the model but it failed not finding a torch 2.0.1. Wondering if my python might be a later version than 3.10.6?

  • @RitikVarshney-b8w
    @RitikVarshney-b8w 11 หลายเดือนก่อน

    Waiting for full tutorial to learn Stable Diffusion , Special thanks to kevin for this wonderful tutorial.

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

    A week ago my car broke down in the middle of the night and a car full of mobggers pulled up and started giving me trouble. Thankfully Kevin was driving by. He pulled over and came to help. Not only did he save my life but he got those mobster muggers to turn their life around.
    Thank you Kevin

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

    I've been trying to get stable diffusion over the past few days. I keep running into an issue that doesn't allow me to download torch. I'm not sure if I messed with the code so that it doesn't work or if the torch download folder changed locations, preventing the previous path from working. I'm not sure what I'm doing wrong here.
    ~~~
    Edit: I figured it out. I had the current version of Python, but it needed to be the 3.10.6 version. In order for the program to work, I also needed to redownload the stable diffusion folder so the system wouldn't check for the current version.
    I still don't know how to update to the 2.0 or 2.1 version of stable diffusion without causing crashes, but I'll figure it out by the time the next version comes out.

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

    THANK YOU SOOOO MUCH, I had to reinstall it due to issues and your guide is so much easier than the others.

  • @maxouventura
    @maxouventura 8 หลายเดือนก่อน +4

    Does your GPU have to be an Nvidia GPU to use stable diffusion? Mine is an AMD Radeon GPU but it has 12 gig memory and should be more than capable of running stable diffusion. I keep getting an error saying torch is unable to use my GPU.

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

    The best VDO so far. You make it so simple and easy for new learners ;)

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

    Would you consider making an alternative version of this tutorial for owners of AMD Radeon video cards ? thanks!

  • @16888kevinlee
    @16888kevinlee ปีที่แล้ว

    Professionally done. One of the best video tutorials I've every come across. BRAVO!

  • @yusufhamzaahmed735
    @yusufhamzaahmed735 ปีที่แล้ว +8

    I tried to follow the video, which was very detailed, however, when I started stable diffusion I got an error about creating torch. Any suggestions. I put the stable diffusion on and external SDD.

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

      same problem

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

      Make sure you install Python 3.10.6
      The link is in his description. Also you have to uninstall newer versions of python before you use the "git clone" function.
      Hope this helps

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

    PSA: I got a permission error while trying to clone, I had my SD folder inside of my program files folder, which didn't have permission. I made a new folder in C and it worked perfectly.
    Thanks for the video, it was a great help!

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

    Doesn't work for AMD GPUs. There is a workaround to use your CPU instead but that is not at all optimal

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

    Wow, best guide I've seen for this yet. Subscribed, thank you!

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

    raise RuntimeError("Cannot add middleware after an application has started"_
    RuntimeError: Cannot add middleware after an application has started.
    Local URL: wont launch. Pls help

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

    Clearest explanation on youtube, thanks👍👍

  • @fkdany
    @fkdany ปีที่แล้ว +12

    On the 7:33 min, I got the "exit code: 3" , launch unsuccessful. Exiting
    How can I fix this ? :/ thanks for the help !

  • @Ja-mbi
    @Ja-mbi ปีที่แล้ว

    thank you so much man. incredible tutorial. i am familiar with installing things on a pc but i know that there are some people out there that struggle with file placement and i know that even this is about as simple and great of a tutorial as there can be,

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

    im so lucky to find you with a guide i need

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

    I get some error with something called "torch" anyone else?

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

      try deleting the venv folder in your stable diffusion webui folder, will generate another one after you execute de webui-user again.

  • @FORMEDIA-AI
    @FORMEDIA-AI ปีที่แล้ว

    One of the best and most clear tutorials ever!!

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

    How to fix: Torch is not able to use GPU!
    I have python 3.10.6 so python isn't the problem
    Anyone knows how to fix this?

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

      I tried this and got further webui-user.bat file and under the arguments type "--skip-torch-cuda-test"....but then got Warning: caught exception 'Found no NVIDIA driver on your system. Basically think the video fails to stress this won't work on AMD!

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

    this is how a tutorial should be !

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

    Hello, please I need your help, I tried to install 3 versions of stable diffusion 1.4, 1.5, and 2.0 and yet I have the same error message ( Stable diffusion model failed to load, exiting ). Thank you in advance for your help.

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

    My dude, I have been struggling with stable diffusion and this video helped so much. Thank you, thank you, thank you!

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

    When trying to run the webui-user.bat file these errors pop up
    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
    Its also detecting python version 3.12.1 even though I have version 3.10.6 installed onto my computer alreadt. Anyone know the fix for this?

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

    Thank you so much, really helpful and easy to follow video. Honestly you got me into AI and this will change my life so thank you again. Only negative I would say which isn't huge is just get all downloads at the start so you don't have to wait when following the tutorial but other than that absolutely perfect.

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

    This was pretty difficult to get working for me since I have an AMD GPU and the PyTorch that came with stability diffusion didn't want to work with my version of python even though I made sure to uninstall the current version/s I had and removed everything from the environment variables before installing. The solution I found was that PyTorch actually has a version 2.0 now that works with the new versions of python and it's completely backwards compatible with the pervious versions of PyTorch. So instead of using the provided PyTorch I used the new version. Search for "stable diffusion pytorch 2.0"

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

    "PERMISSION DENIED". Useful. I'm crying holy shit

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

    I'm running a desktop 3080, but out of curiosity since you only mentioned NVIDIA at 1:20, would someone running an AMD Radeon discrete GPU be able to use stable diffusion?

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

    thanks for this , saved me the headache of trying to get it working on my own . plz make follow ups for more ways to uses and different models and so on

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

    I had error message :[notice] A new release of pip is available: 23.2.1 -> 23.3.2
    [notice] To update, run: C:\Stable diffusion\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip. if you have the same issue open a CMD in the C:\Stable diffusion\stable-diffusion-webui\venv\Scripts then type python.exe -m pip install --upgrade pip

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

      Thank you for this 👍

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

      i have that problem but i don't understand wat to do

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

    Grateful for this video. Not only did it really dumb down (lol) Stable Diffusion installation, I now understand how the hell I am supposed to download anything on Git Hub. I have wanted to download things from there before but I'd open the window, see a bunch of random files with extensions I am not even familiar with, and I'd say nevermind and close it. lol. I am going to watch your other videos on it. Much appreciated!

  • @MrMagicznyMAG
    @MrMagicznyMAG 2 หลายเดือนก่อน +4

    "Download model / checkpoint" redirects to 404

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

    Thank you Kevin. Your clear step-by-step explanation is very helpful.

  • @Königsteich
    @Königsteich ปีที่แล้ว +5

    thx for the Video greatly appreciated. Is there any way to use your Instructions with the 2.1 ckpt files ?

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

    Great tutorial, love your teaching style, right to the point. Thank you!

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

    When i launch my webui-user i got an error 9009 where python was not found
    how do i solve this?

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

      did you figure out?

  • @TraptiGupta-s2s
    @TraptiGupta-s2s 10 หลายเดือนก่อน

    really good video .I was stuck while downloading stable diffusion , but this video saved a lot of my time , plus it was easy as everything was so systematic...

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

    Nice video! I am seeing many videos on version 1111. Is this just a different UI, or is something better in the code ?

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

      Automatic1111 includes a nice UX and also contains performance optimizations for consumer grade hardware. Base Stable Diffusion is all command line and runs into performance issues.

  • @ArnoldSig
    @ArnoldSig 2 วันที่ผ่านมา

    Great video. To the point. You managed somehow to be enthusiastic about something this monotonic xD Nice!

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

    git clone doesnt work seems like the github page show 404

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

      I got the same problem

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

    This is very well done. Thank you for explaining this so well wiht clear steps and just the right amount of detail.

  • @Beast-Little-Kids
    @Beast-Little-Kids ปีที่แล้ว +7

    im getting this error when I run the .bat file
    AssertionError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check

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

    Thanks so much for this your the Best youtube tutorial guy I have seen in a while

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

    Fantastic, thank you. Whatever your field of expertise is, you're also an expert at teaching. Slick work.

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

    Great video, but I am getting 2 errors that are preventing me from continuing.
    1. Fatal error about dubious ownership in repository.
    2. The "Python was not found" error. I have tried re-installing the version in the video multiple times.

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

      Make sure you install it on the C Drive?

  • @KickenItOldSchool
    @KickenItOldSchool ปีที่แล้ว +28

    Not sure if you forgot to mention this in the video or not but does this tutorial cover how to install this for non NVIDIA GPU users? Is there anyway to get SD running natively with an AMD GPU or are we stuck with long wait times using the CPU? Could you do a tutorial on this if thats the case? I appreciate your help.

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

    One of the best tutorial videos ever

  • @ArchefluxxMusic
    @ArchefluxxMusic ปีที่แล้ว +35

    What the hell is wrong with one simple exe file.

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

      ?

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

      ​@@Daily-e2d?

    • @Daily-e2d
      @Daily-e2d 6 หลายเดือนก่อน

      @@oldgold8247 ?

    • @Meemzeh
      @Meemzeh 6 หลายเดือนก่อน +3

      real.

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

      Wdym