Install Stable Diffusion Locally (Quick Setup Guide)

Sdílet
Vložit
  • čas přidán 19. 02. 2023
  • In this video I'm going to walk you through how to install Stable Diffusion locally on your computer as well as how to run a cloud install if your computer isn't quite up to par to run Stable Diffusion. Once you have Stable Diffusion installed, it opens up so many possibilities. You can run ControlNet, use your own models, make videos with Deforum, and much more!
    Resources:
    Hugging Face: huggingface.co
    GitHub: github.com
    Stable Diffusion Model: huggingface.co/CompVis/stable...
    GitHub Install Link: github.com/AUTOMATIC1111/stab...
    RunDiffusion: www.futuretools.io/tools/rund...
    🛠️ Explore hundreds of AI Tools: futuretools.io/
    📰 Weekly Newsletter: www.futuretools.io/newsletter
    😊 Discord Community: futuretools.io/discord
    🐤 Follow me on Twitter: / mreflow
    🐺 My personal blog: mattwolfe.com/
    🌯 Buy me a burrito: ko-fi.com/mattwolfe
    🍭 My Backgrounds: www.futuretools.io/desktop-ba...
    Outro music generated by Mubert mubert.com/render
    #AIArt #StableDiffusion #generativeart
  • Věda a technologie

Komentáře • 1,4K

  • @luckyme5122
    @luckyme5122 Před rokem +1115

    If any one is having an "ERROR 9009" code after installing Python, just uninstall, then reinstall and select "ADD PATH" at the installer promote… Remember, we’re all in this together

  • @auronchernobog7460
    @auronchernobog7460 Před rokem +193

    If you're using this guide, it doesn't matter which version of python you select, just ensure to enable 'Add Python 3.1x to PATH' and you enable Python to be used for all users. Took me about 3 hours to figure second part out.

    • @mansouraldarei9860
      @mansouraldarei9860 Před rokem

      this solved the issue for me thanks

    • @kiragemini
      @kiragemini Před rokem

      How to enable this "Add Python 3.1x to PATH", is it something that i need to select before the installation or its an further step?

    • @auronchernobog7460
      @auronchernobog7460 Před rokem +5

      @@kiragemini it's selected during the initial setup.

    • @axiomdesign1
      @axiomdesign1 Před rokem +1

      this Solved my Issue. thanks Bro.

    • @subtlehal9061
      @subtlehal9061 Před rokem +1

      you are a godsend

  • @pure9873
    @pure9873 Před rokem +122

    For people getting the Wheel Error about the tourch requirment.
    Uninstall python completly, both in the control panel and in your %appdata folder delete pip folder then python in the programs folder (look up how to get to %appdata if you dont know how).
    Delete the AI folder you made.
    Redo the entire videos instruction BUT download version 3.10.6 instead.
    Durring the install select Add to path / install to path.
    Just continue and youll be good !

    • @zanderalberto3576
      @zanderalberto3576 Před rokem +7

      unable to use gpu issue?

    • @JBeamGT3
      @JBeamGT3 Před rokem

      Thank You!!!

    • @alanmichael2667
      @alanmichael2667 Před rokem

      Thanks!

    • @darrenrennie96
      @darrenrennie96 Před rokem

      Thank you!

    • @robertsolomon3328
      @robertsolomon3328 Před rokem +1

      This comment is gold. I had python issues for so long and this fixed it. Deleted the folders in appdata, uninstalled all python versions and deleted the paths in the env variables, reinstalled and now it works. Thanks so much!

  • @Sunbreaker7
    @Sunbreaker7 Před rokem +121

    Finally a tutorial that is simple, clear, and straightforward in explaining step-by-step on how to get stable diffusion locally. Thank you!

    • @emmanode
      @emmanode Před rokem +1

      how do i run it next time ? do i have to ren whole installer again?

    • @johnepling3664
      @johnepling3664 Před rokem +5

      @@emmanode you open the webui-user windows batch file in the stable diffusion folder, then put the IP it gives into the browser when its ready. It wont reinstall everything, itll skip straight to the end after the 1st time.

    • @KATZDIM
      @KATZDIM Před 9 měsíci

      ​@@johnepling3664❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤ all

  • @vadenallen4873
    @vadenallen4873 Před rokem +5

    So, everything on my to-do list has been moved to the back burner in the attempt to follow along with these tools, tips and tricks as they make their way down the fire hose that I am drinking from! I NEED MORE CAFFEINE!!! Keep them coming! You are a phenom!

  • @VinayVernekar93
    @VinayVernekar93 Před 6 měsíci +7

    People getting the pytorch error on Windows 11, follow below steps:
    1. Delete the venv directory from git directory
    2. Install Python 3.10.06
    3. Run webui.bat to re-establish the stable-diffusion-webui virtual environment (venv directory will be recreated with Python 3.10.6).

  • @musicforvideolibrary
    @musicforvideolibrary Před rokem +1

    Hi Matt, I've got RuntimeError: "upsample_nearest2d_channels_last" not implemented for 'Half' error. Any thoughts?

  • @friendfacemcriffhard000
    @friendfacemcriffhard000 Před rokem +10

    Hey Matt, just wanted to thank you for your content. Amazing world we live in today - thank you for sharing this with us!

    • @SoZo
      @SoZo Před rokem

      why it's says python error when i installed everything

  • @dictatorrich3412
    @dictatorrich3412 Před rokem +43

    Great tutorial, I finally got it working, but you really shouldn't have jump skipped the install process for all the programs. It took me like an hour before I saw the pinned comment telling me to have that checkbox. I could have had a lot of time and frustration saved. Also, installing git was a bit of a process, and had me decide between more things than I was comfortable with. I was not confident with all of my choices, and even though everything was right, it was confusing, and I could see someone slipping at this part. Otherwise, it got me where I needed to be, so thank you :)

  • @MrMrMrEFE
    @MrMrMrEFE Před rokem +10

    Thanks a lot man!! I followed every step, and it was super clear and easy to follow. It works 100%!!
    Thank you again for taking the time to explain this to us. You have a new follower

  • @creatorsmafia
    @creatorsmafia Před rokem +1

    The step-by-step instructions were clear and easy to follow, so I successfully installed Stable Diffusion and experimented with different settings.

  • @davidodunlami9374
    @davidodunlami9374 Před rokem

    I'm barely 4 min into the video , and I'm already loving its content.... Thank you so much !!!!

  • @louiscifer3317
    @louiscifer3317 Před rokem +9

    Excellent guide. Got it up and running in minutes and producing images just like Midjourney. Thanks

    • @mildmethod
      @mildmethod Před rokem +1

      Just like MJ? That wasn't my experience. What settings/keywords are you using to get MJ-like images?

    • @pineapplepawnch523
      @pineapplepawnch523 Před rokem

      @@mildmethod use lexica to get some good prompts

  • @seraiahdaniella3755
    @seraiahdaniella3755 Před rokem +3

    Matt, you are so awesome. Thank you for sharing this tutorial! Cheers 🥂

  • @robertgoldbornatyout
    @robertgoldbornatyout Před 10 měsíci

    ME TOO I AGREE ,Finally a tutorial that is simple, clear, and straightforward in explaining step-by-step on how to get stable diffusion locally. Thank you!

  • @babakheshmatsaran7474
    @babakheshmatsaran7474 Před rokem +1

    I saw too many videos, but I couldn't install it, but with your video, I did it. Thanks, you are awesome

  • @CosmosWorld
    @CosmosWorld Před rokem +4

    Thank you for the tutorial! It was plain simple and nice!

  • @Simplypallets
    @Simplypallets Před 5 měsíci +11

    I got mine to work However, at the @6:02 talking about the .BAT file. Make sure you download the Python version 3.10 not the newest. It will tell you to downgrade to make it work. Also another big thing I had to figure out. That BAT file couldnt launch Python at first. If you right click the file and click "edit" I had to edit it to run. Change the line "set PYTHON=" to add "py" at the end. entire thing should look like "set PYTHON=py". Save and close, Open again. Hope that helps anyone

  • @nickeng
    @nickeng Před rokem +1

    Thanks a lot for such a detailed tutorial. Don't know a thing about all this stuff, gits, python and so on. I just followed all the steps and now going to play with that thing.

  • @jerryjack6976
    @jerryjack6976 Před rokem +2

    I cannot thank you enough for this and the custom model tutorial!!

  • @rundiffusion
    @rundiffusion Před rokem +154

    Hey Matt! Great video! Thanks for showing your users our service! We've worked hard to make our service accessible to everyone all over the world. Those without the means to purchase a huge graphics card. We just released an update that brought our boot times down to a minute and 30 seconds! So now we're stable diffusion in sub 2 minutes!

    • @springbreakflorida
      @springbreakflorida Před rokem +2

      That's awesome! ♥

    • @Timmydw
      @Timmydw Před rokem +2

      Thank you for creating stable diffusion

    • @bambolinazaza6051
      @bambolinazaza6051 Před rokem +6

      hi run Diffusion, awesome product.. but have run into an issue.. maybe you can help.. ??
      RuntimeError(message)
      RuntimeError: Error running command.
      Command: "C:\AI\stable-diffusion-webui\venv\Scripts\python.exe" -c "import torch; assert torch.cuda.is_available(), 'Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check'"
      Error code: 1
      stdout:
      stderr: Traceback (most recent call last):
      File "", line 1, in
      AssertionError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check... any idea as to the solution ?? Lee

    • @Haradeas
      @Haradeas Před rokem +2

      Be careful with Run Diffusion, I advice to read their terms and conditions, they are horrible imo. As fas as I understood them, everything you make will be their property + you cant use it commercially. (correct me if I am wrong ofc, but that is what I read)

    • @thewireheadmechanist
      @thewireheadmechanist Před rokem +4

      @@Haradeas Section 8: "We do not assert any ownership over your Contributions. You retain full ownership of all of your Contributions and any intellectual property rights or other proprietary rights associated with your Contributions. "

  • @trabay86
    @trabay86 Před rokem +9

    I am soooo very grateful for this video!! I'm an old school computer programmer (think COBOL) and I had NO CLUE how to get started but I went right along with you and I'm up and running!!! so thankful!!! You're doing the lord's work out here LOL (by lord I mean our AI overlord, I for one welcome our AI overlords.... lol)

    • @dercrokk
      @dercrokk Před rokem

      AS being in cobol too since a long too, modern interface (everything past 90) are pretty confusing

  • @JadRaouda
    @JadRaouda Před rokem

    I mean...I can't say enough about how perfect thsi video was- It's exactly what i was looking for - I'll be bacl to figure out how to install and use additional models and tools - THANKS!!

  • @XNY_Music
    @XNY_Music Před rokem

    Your enthusiasm is infectious.

  • @onlinebaas
    @onlinebaas Před rokem +10

    Works great. For those struggling with Python, remember to update your environment variables.

    • @bambolinazaza6051
      @bambolinazaza6051 Před rokem +3

      Hi JJ.. having problems with python, can you elaberate what you mean update your environment variables.

    • @woberttodd
      @woberttodd Před rokem

      @@bambolinazaza6051 there's a box to check in the installation of Python. It says Add Python to environment variables in the advanced options. So go back and modify the installer.

    • @MM-we5qb
      @MM-we5qb Před rokem +2

      How do you do that?

    • @joebloe1643
      @joebloe1643 Před rokem

      @@MM-we5qb solved in pinned comment btw

    • @cosmotect
      @cosmotect Před rokem +2

      ​@@bambolinazaza6051 there is a checkbox for that when installing python

  • @iampoot
    @iampoot Před 11 měsíci +6

    Just to save some people time:
    GIT: To make Ctrl+V work in GIT, click menue top left of GIT, properties, and enable the CTRL+V option
    Python: When installing, check the 'path' box at the start of the installer options dialogue, or you wont be able to run the batch file sucessfully.

    • @pedro-ideia1437
      @pedro-ideia1437 Před 7 měsíci

      Thanks a bunch for your comment! I had Python installed but without that feature, and it woudn't work...

  • @Solo92762
    @Solo92762 Před rokem

    Thank you for your Video Sir - I have tried 3 other installation tutorial videos and non of them was working for me, after I have followed your steps - BOOM!!!!, there its working!!!!!! Thanks again good Sir

  • @tingliasmr
    @tingliasmr Před 2 měsíci

    You are an absolute hero! I've got a mac and did start going down the Homebrew installation route but hit a brick wall straight away and as I'm not techy at all I thought ffs but then remembered about this video and the cloud etc so thanks a mil! I've just started working on a project and need stable Diffusion so this really is a life/sanity saver! ;)

  • @BelaMadeira
    @BelaMadeira Před rokem +9

    Mind = blown, great stuff Matt, thank you for this! Do the latter iterations of Stable Diffusion already contain the previous versions or are are they entirely different things?

    • @MiTreasureHunter
      @MiTreasureHunter Před rokem +1

      Seems they do not since have to download each separately.

  • @mugennam1
    @mugennam1 Před rokem +29

    for those that are wondering about machine requirements: You'll need a PC with a modern AMD or Intel processor, 16 gigabytes of RAM, an NVIDIA RTX GPU with 8 gigabytes of memory, and a minimum of 10 gigabytes of free storage space available. A GPU with more memory will be able to generate larger images without requiring upscaling

    • @nigelhancock3580
      @nigelhancock3580 Před rokem +2

      You mention NVIDIA specifically, is that why I can't get it running with my AMD Radeon 6950?

    • @Haradeas
      @Haradeas Před rokem

      @@nigelhancock3580 technically it is possible to use AMD. But Nvidia has a special hardware in the GPU that makes it faster. I tryed it with an RX 580 but the time that was need was horrible. 1 picture 10 min. So I gave up on that and gonna upgrade my pc ^^

    • @elyakimlev
      @elyakimlev Před rokem

      I have an RTX 2060 6GB. Would it work? Is the 8GB a minimum requirement?

    • @elvira-irinareisinger6370
      @elvira-irinareisinger6370 Před rokem +3

      Hello, how can this be when a big online tutorial claims that that first number is nearly meaningless? I'm a beginner and did 95% of that tut and just stuck with an error but it's not connected to the RAM

    • @tomschuelke7955
      @tomschuelke7955 Před rokem

      Well so with a Geforce 1080, i am outdated? I wouldnt mind if it is slower... but wouldnt it work at all? or do i have to steal the computer of my son?

  • @user-xt3mx6yi4y
    @user-xt3mx6yi4y Před rokem

    Love your videos and the style you bring. Keep up the great work!!!!

  • @greggdaly967
    @greggdaly967 Před 7 měsíci

    Outstanding video! I have my Stable Difussion build running on my Win10-i9-9900K-2080 TI system. It just took a few minutes (I had python and git already installed, making it quicker!). Thank you! This is great!

    • @ijayraj
      @ijayraj Před 7 měsíci

      did you got any error i have got two and can't get rid of them could you please help

  • @whyjordie
    @whyjordie Před 8 měsíci +4

    I keep getting the error at the last step, it won't run the 30 min download thing, it keeps saying ERROR: Could not find a version that satisfies the requirement torch==2.0.1 (from versions: none) ..... I'm not sure what to do. Earlier it said it needed an update to pip and i did that but then this happened.

  • @JBuchmann
    @JBuchmann Před rokem +46

    Don't make the mistake I made by installing Python 3.11 (the latest verion). It has to be 3.10.9. Otherwise you'll get an error when runnint the .bat file.

    • @josephchaney519
      @josephchaney519 Před rokem +1

      was looking for this comment. just had the same issue. tried 3.10.10 after and still no luck. trying 3.10.9 now

    • @JBuchmann
      @JBuchmann Před rokem

      @@josephchaney519 At the end of the day, no luck for me... I get a somewhat cryptic error in the terminal (at the end of the .bat file processing) that is probably about a too small of a GPU. Oh well, it was worth a shot. I guess it's off to that web app alternative. :)

    • @florianl6764
      @florianl6764 Před rokem +2

      Installed 3.11 first as well and installed 3.10 afterward, but still had an issue. The problem was fixed after I uninstalled 3.11 and renamed the folder with python 3.10 to pythong311

    • @JBuchmann
      @JBuchmann Před rokem

      @@florianl6764 Oh right, I had to do that also; I thought I had just made a mistake or the 3.11 didn't uninstall correctly.

    • @dizisnotavailable
      @dizisnotavailable Před rokem

      it worked with 3.11 eventually. i also got error messages, but chatGPT could help.

  • @tomkent4656
    @tomkent4656 Před rokem +2

    Love how you call it a quick setup guide!

    • @hatapp4729
      @hatapp4729 Před rokem

      ❤️❤️✍️Hi! Tell Expert Jim that you were referred for the right strategy to financial freedom WhatsApp✟𝟏𝟒𝟑𝟏𝟑𝟏𝟗𝟔𝟐𝟓𝟕 Thanks for the review.❤️💬💬💬💯......

  • @blindedjourneyman
    @blindedjourneyman Před rokem

    been meaning to get this for a while now, thank you for the guide on setting it up

  • @beamngcrazy
    @beamngcrazy Před 8 měsíci +10

    got this err
    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

    • @greenflamingoentertainment8613
      @greenflamingoentertainment8613 Před 3 měsíci

      I used version 1.4, and had the same problem. I needed to close everything down in order to get enough memory not to get the error 2. It wouldnt download anything. I ended up shutting down the pc. Everything closed. Restarting the pc. Then I installed java script 3.10.6 over again. I had to delete the venv and delete pip folder in user/username/appdata/local. After doing all of that It finally downloaded. I have 8gb vram on an rtx 3060 and 64 gb cpu ram. Shouldnt be having that issue i would think. But i did. Absolutely clear up vram and restart and then do a fresh java install on the older java versions.

  • @bearlyphased
    @bearlyphased Před rokem

    Thanks Matte! So glad I subbed to you a while back, great vids!

  • @YouTube-Administrator
    @YouTube-Administrator Před rokem +1

    This was so easy to follow! Thank you very much!

  • @hodgemann
    @hodgemann Před rokem +7

    I'm running Stable Diffusion, plus tons of other AI creation tools, and fractal exploration with Visions Of Chaos. A really fun and fantastic program from Down Under.

    • @mreflow
      @mreflow  Před rokem +4

      I'll have to look into Visions Of Chaos. I haven't heard of that yet.

    • @hodgemann
      @hodgemann Před rokem

      @@ianPedlar Did I mention that Visions Of Chaos is free? Best price!

  • @zeloguy
    @zeloguy Před rokem +5

    I could not get this to work with Python > 3.10.9 . Downgraded to 3.10.9 and had no problems. Great video as always!

    • @JoramVandebeld
      @JoramVandebeld Před rokem +2

      I had the same problem and also had to delete the 'venv' folder from the 'AI' folder

    • @EH21UTB
      @EH21UTB Před rokem

      Same, a bit of a newbie, can I just install also 3.10.9 or do I have do remove the 3.11 entirely? How is it done?

    • @Roanix1
      @Roanix1 Před 2 měsíci

      Same here

  • @user-yi5vh1op1n
    @user-yi5vh1op1n Před rokem

    Благодаря! Looking forward for your videos dude, the best AI channel I'm subscribed to so far!

  • @nicolerivera7221
    @nicolerivera7221 Před 4 měsíci +5

    Don't downloadthe latest python. It only works until python 3.10.6 version. If you installed the latest version just uninstall and delete the venv folder in webui

  • @tedmurphy2576
    @tedmurphy2576 Před 7 měsíci

    Thank you for helping me install stable diffusion locally. Was able to follow along easily. Liked and subscribed.

  • @cutout.pro.7230
    @cutout.pro.7230 Před rokem

    We are also working on Al Art recently, Al Art is the future! Thanks to the blogger for sharing.

  • @stephen3109
    @stephen3109 Před rokem +4

    How do you relaunch it after closing the tab? I book marked it but now it says it refuses to open. Do you have to reinstall it every time you wanna run it?

  • @Actaeonben
    @Actaeonben Před rokem +7

    Hey Matt thank you for everything, just wanted to ask you , when i run the webui-user, it gives me two errors
    ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu117 (from versions: 2.0.0, 2.0.0+cu117)
    ERROR: No matching distribution found for torch==1.13.1+cu117

  • @DDBM2023
    @DDBM2023 Před rokem

    Great! thank you. Finally install it after trying several websites

  • @brianjoseph8739
    @brianjoseph8739 Před rokem

    Wow, I have been trying to install control net, but had no idea on how to download Stable Diffusion. I scoured the internet for tutorials, but all of them assumed that we already downloaded stable diffusion. I thankfully found this video and am one step closer to getting control net. Thank you so much Matt!
    Clear, concise, easy steps, and funny too. Great content. You are a lifesaver.

  • @kalako-4821
    @kalako-4821 Před rokem +3

    Do i have to run the bat file every time i want to open stable diffusion locally? because i saved the local link and it worked the first time bun now that i want to open it again when i paste the link in the browser it doesn't open

  • @-Sev
    @-Sev Před 6 měsíci +8

    If you're getting error code 1, a possible problem is that the newest version may actually be too new. Going back and using 310 instead of 312 solved it for me. If it then starts giving you an error about not being able to find python at the prior directory, I worked around this by making a copy of the 310 directory and making it a 312 directory. It was none the wiser and I finally after hours of working on this was able to get it to actually run.
    -
    This also resolved my error about unable to find a compatible torch version

    • @bakirshakirov
      @bakirshakirov Před 6 měsíci

      how did you do it sir?

    • @TheHorodateur
      @TheHorodateur Před 5 měsíci

      1.) Install version 3.10
      2.) Make a copy of that install folder
      3.) Deinstall 3.10.11
      4.) Intall newest version and set "Add...to PATH"
      5.) Rename that folder and name the copy of version 3.10 into what ever the newest version is. @@bakirshakirov

    • @seyedmohammadaminkashanigh9611
      @seyedmohammadaminkashanigh9611 Před 5 měsíci

      Thanks it was very useful👏👏

  • @ClancyInkk
    @ClancyInkk Před 8 měsíci

    Previous guide for downloading to nvidia lead me to a 'jsonmerge' folder not beinng found... Several failed downloads later I deleted it all and decided to follow your steps as law and... thank you, it's finally up and running. Now i'll slowly download updates and check it still runs smooth. Thank you for your videos Matt!

  • @gregorylong685
    @gregorylong685 Před rokem

    Great video. It really helped me enormously and was really straight forward. Thank you.

  • @Abhishekkothari-bz7mr
    @Abhishekkothari-bz7mr Před rokem +6

    Hey Matt, I did everything as shown in the video and was able to complete the installation but I am getting an error when II try to open the local URL.
    Is there a fix for that?

    • @neilod
      @neilod Před rokem

      Hey mate, back in the stable-diffusion-webui folder, run the webui-user batch file first. Once it runs, you'll be able to open the url.

  • @wrillywonka1320
    @wrillywonka1320 Před rokem +3

    This took me forever to learn since i kno nothin bout comouters but if your getting the error while running the webui, you need to uninstall python (i had 3.11) and delete the "venv" folder in your stable diffusion folder and reinstall python 3.10.6 exactly and it will fix it

    • @AdiBoy_O9
      @AdiBoy_O9 Před rokem +1

      thanks mate fixed my problem but after this it is talking a lot of time and never completes that 2.3gb

    • @JasioTerminator
      @JasioTerminator Před 7 měsíci

      thank you it fix problem!

  • @renaissancejames
    @renaissancejames Před rokem

    Nice job, Matt. I have come across a couple of your videos and find them quite helpful. Thus...SUBSCRIBED. :D

  • @MemeKing44
    @MemeKing44 Před 8 měsíci

    i did, it ty so much, had to follow each detail including versions EXACTLY! but finally worked ty!

  • @mrpanicy
    @mrpanicy Před 7 měsíci +4

    I am having an issue running the webui-user.bat file. It's kicking back an error "ERROR: Could not find a version that satisfies the requirement torch==2.0.1 (from versions: none)" and "ERROR: No matching distribution found for torch==2.0.1". Then gives error code 1 at the end and states it cannot install torch.
    I don't know how to proceed. Does anyone have any advice?
    Great tutorial thus far though, there are a good number of steps but I never felt lost!

    • @MadHatterMercury
      @MadHatterMercury Před 4 měsíci

      I am having this same issue. I ended up getting around it *I think* by running this from elevated command prompt
      %yourpathhere%\AI\stable-diffusion-webui\venv\Scripts\python.exe -m pip install torch torchvision

  • @thevibe2985
    @thevibe2985 Před rokem +4

    Hey guys heads up if you get an error that says "cannot connect" make sure you install on the main drive instead of an SSD

  • @TzarBomb
    @TzarBomb Před 5 měsíci

    As a hobbyist artist I was avoiding it like the plague... I'm finally giving in... the genie is out of the bottle, maybe it will improve my creativity.

  • @DonnaODonoghue
    @DonnaODonoghue Před rokem

    Thank you, installed and looking forward to creating 😀

  • @ThatCrazyGuy39
    @ThatCrazyGuy39 Před rokem +5

    I followed your instructions however my batch file is telling me that Python cannot be found and was unsuccessful.

  • @yehoshuaberman
    @yehoshuaberman Před rokem +3

    Hi. I was able to execute all of your instructions until the part at 6:00 in the video where you say to find webui-user.bat file and click on it to run the scripts. I do not see any such file. Can you help me?

  • @RILLIENR_GO
    @RILLIENR_GO Před rokem

    Great videos, really enjoying. All the best.

  • @DirtyDD2023
    @DirtyDD2023 Před 9 měsíci

    Thank you Matt, really helpful and easy to following.

  • @Musashi_XIV
    @Musashi_XIV Před rokem +5

    whats the biggest difference in using 1.4 original over the new 1.5? And significant advantages or disadvantages?

    • @nesir82
      @nesir82 Před rokem

      I am interested in knowing this too. It says Runwayml which is really good tool for animations. I wonder if I can use just 1.5.

  • @zeloguy
    @zeloguy Před rokem +19

    I believe it's insanely important to let your users know AMD Graphics cards will not work. (although does have a workaround and technically works [eventually]). Even something as beefy as a 6800XT or something like that will take FOREVER to render and that is after using the workaround. This is because of the lack of CUDA cores on the GPU. Don't want to get too technical on y'all but if you have an AMD card (even a new one) I would not have high hopes.

    • @camar078
      @camar078 Před rokem +5

      I can confirm that. About 50% of the users here will not benefit from the local solution because the image generation via CPU simply takes too long. In the meantime, all arguments actually speak for nvidia in the graphics area, even if I have been satisfied with AMD cards for more than 20 years.

    • @zeloguy
      @zeloguy Před rokem +1

      @@camar078 I have bought a NVidia card to compare the 2. I will compare results between the two when I get everything setup and ready to go.

    • @Gaphalor
      @Gaphalor Před rokem

      ​@@zeloguy Does anyone else have the problem that when generating in SD the GPU ignores the templimits set? I have my temp limit in afterburner to 83°c and I never had any issue in every game or application it doesn't run over that limit, but then I used SD and it literally ignored it and went up to 95° and Hotspot even 105°. I tried a lot to downvolt set power to 80% and set even lower temp limit but it ignores it completely in SD and still went up to 90°
      What is this can't figure it out and why does it work in any apply cation but not in Stable Diffusion? Anyone else running in some GPU issues or is it just me?
      BTW I run a GTX1070ti 8GB, 16GB ddr4 3200 and AMD Ryzen 5 3600
      Might the 1070ti be too old at this point? It takes around 30-60s for a batch of 4 512 to 800 Pixel Images so I am happy with the speed, it's just I cannot get the heat limit to work. I might need to either invest in better cooling or just buy a newer GPU...

    • @zeloguy
      @zeloguy Před rokem

      @@Gaphalor What graphics card are you using? I would also use MSIAfterburner to create a custom curve. Those heat numbers will burn out your card in no time. Remember that a game is going up and down with the amount of graphics card usage it utilizes. A1111 will use 100% for however long you are rendering and if the fans are not set to handle that (or can't handle that) then you are going to get a toasty (and eventually dead) graphics card.

    • @Gaphalor
      @Gaphalor Před rokem

      @@zeloguy I have an Asus Rog Strix 1070ti 8GB, so with 3 Fans and I put all of them to 100% at even 80 degrees, it helped a bit but not enough. I just wonder why it keeps pushing 100% when I set heat limit, normally the card stays perfectly in the limit.
      So its basicly not possible to run stable Diffusion on less then a 100% card?
      If thats the case I think I will not use Stable Diffusion until I have another card, I wont risk to burn my GPU down

  • @MantisDing
    @MantisDing Před rokem

    Thank you so much for making this video and your comfortable voice~ 😘

  • @PurpleJersey999
    @PurpleJersey999 Před rokem +1

    AMAZING tutorial. You deserve this sub my man

    • @hatapp4729
      @hatapp4729 Před rokem

      ❤️❤️✍️Hi! Tell Expert Jim that you were referred for the right strategy to financial freedom WhatsApp✟𝟏𝟒𝟑𝟏𝟑𝟏𝟗𝟔𝟐𝟓𝟕 Thanks for the review.❤️💬💬💬💯......

  • @racinggames1
    @racinggames1 Před rokem +5

    are the pictures for commercial use then?

    • @mreflow
      @mreflow  Před rokem +3

      Yes. You own the images that you generate.

  • @jimberry7865
    @jimberry7865 Před rokem +3

    Is there a list somewhere that says what the minimum GPU specs are? I have an older computer I'd like to run this on so I don't have to install so much runtime stuff on my main PC.

    • @r34ct4
      @r34ct4 Před rokem +7

      NVIDIA RTX GPU with 8 gigabytes of memory.
      Very important NOTE: From what I have read, AMD cards are essentially NOT supported (I have an AMD card). adding "COMMANDLINE_ARGS= --lowvram --precision full --no-half --skip-torch-cuda-test" to webui-user.batch file is a work-around but ends up using your CPU for processing which drastically lowers performance.

    • @mreflow
      @mreflow  Před rokem +3

      Thanks for jumping in! Super helpful. :)

  • @JourneyWithAustin
    @JourneyWithAustin Před rokem

    Thanks for this great video Matt Wolfe

  • @VibeVaultMusic
    @VibeVaultMusic Před 5 měsíci

    Outstanding guide. Will be incorporating into my channel.

  • @rogerbruce2896
    @rogerbruce2896 Před rokem +14

    just a couple notes. Don't load python 3.11x I wanted the latest python version. However stable diffusion errors out when loading and asks you to load 3.10x I had to uninstall everything and start from scratch. Also for some reason I can't get 2.1 to work, however 2.0, 1.4 and 1.5 works fine. fyi

  • @gedion4000
    @gedion4000 Před rokem +4

    Are there some additional settings needed for python? i can open it, and see that its installed, but when i run the webui-user @6:00 the console tells me "python was not found"
    Edit: I installed 3.10 (64-bit) and tried both on my C drive, and the drive that contains the AI folder

    • @shokew2241
      @shokew2241 Před rokem

      same

    • @gedion4000
      @gedion4000 Před rokem +4

      @@shokew2241 so you're having the same issue of python not found? Did you download it from python themselves? Cause that was my issue. This video skips over a very important step, and can be fixed by uninstalling python, and then searching/installing it for it in Microsoft apps. It places everything correctly for stable diffusion to see.

    • @wfberkhof
      @wfberkhof Před rokem

      @@gedion4000 This solved the problem for me. I uninstalled python and then installed it via the Microsoft store and it worked.

  • @marcojakubowski4576
    @marcojakubowski4576 Před 11 měsíci

    Such an awesome tutorial!
    Thank you for the great explanations :)
    Greetings from Germany

  • @themerlefrenchies
    @themerlefrenchies Před rokem

    Awesome advice. United 🎉🎉🎉

  • @yoteslaya7296
    @yoteslaya7296 Před rokem +10

    *ONE THING YOU SHOULD ADD WHEN INSTALLING PYTHON MAKE SURE YOU CLICK **_ADD PATH_** AT THE BOTTOM OTHERWISE IT WONT SEE PYTHON*

  • @vincentlemineur
    @vincentlemineur Před rokem +5

    Thanks Matt! It's my first time trying this and I thought it would work if I followed your really precise intructions. I struggled with Python at some points but managed to "go to the final"... To finally read this at the and of the batch: "Stable diffusion model failed to load, exiting...". No clue about what I should do! I feel like I'm back to my mid 80s Commodore 64 issues...not for me 😂(I've checked a lot of solutions in the comments but I don't seem to find that specific problem). Any advices around?! ☺

    • @josefekelund6247
      @josefekelund6247 Před rokem +1

      I ran into the same problem 🤔

    • @vincentlemineur
      @vincentlemineur Před rokem +1

      @@josefekelund6247 are we cursed, Josef? 😁🤝

    • @RPiehli
      @RPiehli Před rokem

      Same here 🤔

    • @vincentlemineur
      @vincentlemineur Před rokem +1

      @@RPiehli It's a sign: Creativity and Photoshop will remain my tools! 😁

    • @superkarrtoon
      @superkarrtoon Před 10 měsíci

      cant believe noone has answered this

  • @congratsyourearestaurant

    Hey thanks for this video! I got to the part where I managed to get the .bat file to run, it installed everything. I got to the part where it says Running on Local URL, and then it gives me a URL. When I try to put it into browsers though, it doesn't load. Any ideas?
    EDIT: Solved it! After running the .bat file, press any key to close the cmd prompt (the DOS window). Then go back to your file explorer and open the .bat file again. Once that's open and showing you the URL, open the URL in a browser, it'll work!

    • @Geetotsav
      @Geetotsav Před rokem +1

      hey. i am not getting the .bat file , instead of that i am just getting webui-user file, not webui-user.bat. But the type of file , i can see in properties is .bat file. i hope that is ok
      the issue is on doble clicking on that webui-user file , it is showing error - "Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check". what should i do next ?

  • @MiTreasureHunter
    @MiTreasureHunter Před rokem

    Lots of steps But the benefits definitely make it worth the effort. I know I will be installing it on my new gaming pc.

    • @hatapp4729
      @hatapp4729 Před rokem

      ❤️❤️✍️Hi! Tell Expert Jim that you were referred for the right strategy to financial freedom WhatsApp✟𝟏𝟒𝟑𝟏𝟑𝟏𝟗𝟔𝟐𝟓𝟕 Thanks for the review.❤️💬💬💬💯......

  • @Thehouseoftatum
    @Thehouseoftatum Před 10 měsíci

    you are really the goat I always learn something new that no one else is talking about. You're doing God's work lol Thanks

  • @santonio7283
    @santonio7283 Před rokem +3

    Hi Matt, I followed the steps and was able to load Stable Diffusion in my browser. However, when Ii click generate, I got "Connection Errored Out" error. Do you have any ideas why?

    • @mreflow
      @mreflow  Před rokem +1

      I'm not sure. Do you have a decent GPU on your computer? You should have at least 8GB of VRAM to run the local version.

    • @nooo3333
      @nooo3333 Před rokem

      You have to keep the Python open. I closed python and tried running the stable Diffusion and got the same error. I Reopend the webui-user.bat and then it worked fine.

    • @FEARTHEFUTURE
      @FEARTHEFUTURE Před rokem

      It should say on the cmd window why it didn't run. If you have a slow GPU might have to close apps that aren't being used. I'm running it on a 4gb gtx1650 and I get that when they are looking for more vram

    • @buskavideo7149
      @buskavideo7149 Před rokem

      I had the same error. Followed other advice in these comments to uninstall Python 3.10.10 and install 3.10.09 instead. That seemed to fixed it as I can now generate images.

  • @doctorpipstone3047
    @doctorpipstone3047 Před rokem +3

    Great job providing another solution. But had challenges fulling loading it. When you ask to double click on "webui-user" batch file, nothing happens as the error states that python could not be found. Yet as per your instructions, python is fully loaded and in my system. Any advice? Many thanks. Cheers..

    • @glenyoung1809
      @glenyoung1809 Před rokem +1

      See the pinned comment. "When installing Python, make sure to enable the "Add Python 3.10 to PATH" checkbox. Otherwise, your .batch file may not find the Python installation".

    • @bettersideeffect153
      @bettersideeffect153 Před rokem

      @@glenyoung1809 thank you so much

  • @cblack5071
    @cblack5071 Před rokem +1

    Matt. You are the man. Thank you.

  • @bjornkeizers
    @bjornkeizers Před 6 měsíci

    Good stuff; very helpful. I've been interested in tools like these for a while, but it's always nicer to run your own thing with no restrictions rather than rely on some online thing which wants to censor any creativity to death.

  • @SirGriefALot
    @SirGriefALot Před rokem +5

    Why is this so goddamn complicated?! 😅
    It is the coolest thing I've ever seen so I don't want to be ungrateful, but how can they make something so amazing and not be able to put it into a file I can just double click on to install it?

  • @Itisrealtalk
    @Itisrealtalk Před rokem +21

    Hey Matt, this is an amazing video, loads of love from India. I'm getting two errors as below:
    ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu117 (from versions: 2.0.0, 2.0.0+cu117)
    ERROR: No matching distribution found for torch==1.13.1+cu117
    Error Code: 1
    Could you please help me with the same.

    • @masterbruce556
      @masterbruce556 Před rokem +4

      I have the same problem

    • @DoubtfulDex
      @DoubtfulDex Před rokem +2

      Same problem, anybody found the solution?

    • @pjponciano5931
      @pjponciano5931 Před rokem +2

      hey, same problem here.. Does anyone know how to go about this?

    • @tky546
      @tky546 Před rokem +1

      @@igemolpindo5653 ??

    • @alita8900
      @alita8900 Před rokem

      @@igemolpindo5653 what does that mean

  • @SteveRayDarrell
    @SteveRayDarrell Před rokem

    Thank you for these tutorials, keep it up

  • @lozsloot
    @lozsloot Před 11 měsíci

    Thank you so much, had no idea what I was doing but it worked :)

  • @internetshort3962
    @internetshort3962 Před rokem +3

    if anyone having python not found error, try to delete "venv" folder inside stablediffusion folder. the retry opening ".bat" file

    • @michaelvelez902
      @michaelvelez902 Před rokem

      This helped me. I was reinstallin python versions with no progress, until I deleted the venv to redirect to the right python path

    • @evgeniypupkin5763
      @evgeniypupkin5763 Před 5 měsíci

      that worked!

  • @ufoformdad5845
    @ufoformdad5845 Před 5 měsíci +5

    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 tried 3 computers, same error

  • @kirkwcowgill
    @kirkwcowgill Před rokem +3

    says Python was not found, but I installed it...

  • @cameronturner5564
    @cameronturner5564 Před rokem

    As always, an amazing and informative video my man....Thank you 🙏🏾🙏🏾🙏🏾

  • @dockdrumming
    @dockdrumming Před rokem

    Excellent. This video is exactly what I needed until I build my machine with a Nvidia 3090 GPU.

    • @hatapp4729
      @hatapp4729 Před rokem

      ❤️❤️✍️Hi! Tell Expert Jim that you were referred for the right strategy to financial freedom WhatsApp✟𝟏𝟒𝟑𝟏𝟑𝟏𝟗𝟔𝟐𝟓𝟕 Thanks for the review.❤️💬💬💬💯......

  • @bambolinazaza6051
    @bambolinazaza6051 Před rokem +5

    Love the video and all your channel and just how up-to-date you are Matt. have run into an issue.. I hope you can help me with, while installing python - got this error; raise RuntimeError(message)
    RuntimeError: Error running command.
    Command: "C:\AI\stable-diffusion-webui\venv\Scripts\python.exe" -c "import torch; assert torch.cuda.is_available(), 'Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check'"
    Error code: 1
    stdout:
    stderr: Traceback (most recent call last):
    File "", line 1, in
    AssertionError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check... any idea as to the solution Matt?? Lee

    • @dustinolson
      @dustinolson Před rokem +2

      right-click on the webui-user.bat file > choose edit > replace "set COMMANDLINE_ARGS=" with "set COMMANDLINE_ARGS= --skip-torch-cuda-test" > save > run the webui-user.bat file

    • @Daniellllllllllllllllllllllll
      @Daniellllllllllllllllllllllll Před rokem +1

      That seems to be working for me. Thanks!

  • @marcusj4641
    @marcusj4641 Před rokem +6

    I followed your instructions step by step. Everything went exactly as you said until I went back to the stable-diffusion-website folder. There is no webui-user.bat file the last two files are both webui-user.

    • @fabel213
      @fabel213 Před rokem +1

      Same for me 😅

    • @marcusj4641
      @marcusj4641 Před rokem

      @@fabel213 hopefully someone has an answer or fix. I really want to be able to install locally.

    • @surfcitizen
      @surfcitizen Před rokem

      Yep, same here too. Went back uninstalled python 3.11 and installed 3.10.9 as one user suggested but still no webui-user.bat file

    • @asmrfamily6505
      @asmrfamily6505 Před rokem

      me too so sad

    • @thestaf2001
      @thestaf2001 Před rokem

      i have the same isue has anybody found the solution?

  • @sammckenzie6760
    @sammckenzie6760 Před rokem

    Best tutorial I've ever seen

  • @LilithinMerria
    @LilithinMerria Před rokem

    Thank you for this tutorial. It was really useful ^^

  • @bryanpmcgowan
    @bryanpmcgowan Před rokem +4

    Matt, loving the videos. Is there anyway to get a private consultation? I have a procedure that I’m trying to figure out, but I’m more of an artist than a computer person. I’d of course be willing to pay you for your time. Please comment here if you’re interested. (This is also open to others who are experts in the field. If you’re interested, comment and I’ll give you the details)

    • @mreflow
      @mreflow  Před rokem +1

      Shoot me a DM on Twitter. I don't have a ton of time at the moment to do phone consultations but if I can offer advice or point you in the right direction, I will.

    • @rundiffusion
      @rundiffusion Před rokem +1

      We definitely don't want to take any business away from Matt, but if he can't help you we have a few people on our team that probably can. We have done work for clients all over the world. Just finished work for a car company in Poland and a job where we generated 650,000 high resolution images in 3 days! We can definitely help! (But again, make sure Matt get's a shot at the business first)