Install Stable Diffusion Locally (In 3 minutes!!)

preview_player
Показать описание
For those of you with custom built PCs, here's how to install Stable Diffusion in less than 5 minutes -
Github Website Link:
Hugging Face Website Link:
Link to GitBash for windows:
Stable Diffusion WebUI Link:
Hugging Face Stable Diffusion v1-4 Downlaod Link:
GFPGAN Face Restoration Link:
Python 3.10.6 Download Link:
Code for Gitbash Commands:
"cd /c/ai"
Code Edit for less powerful computers
--opt-split-attention --precision full --no-half --medvram
Stable Diffusion Official Website:

AI Generated Art - (Commissions OPEN) Contact:
My Art-Station Store Link:

If you enjoyed this video, please consider becoming a Member :)
Or joining the Patreon Squad directly:
It makes a huge difference, and really helps ensure I'm able to make the best videos I possibly can Free for everyone here on YouTube -
If you'd like to join the Community Discord, we'd love to have you here at:

Blender RIGGING & ANIMATION SERIES:
Intro To Unity Programming FULL Series:

I also have a steam game that combines Starfox with Ikaruga gameplay!
It took over 3 years to create :)

As always, thank you so much for watching, please have a fantastic day, and see you around!

- Royal Skies -
#stablediffusion #aiart #art
---
Рекомендации по теме
Комментарии
Автор

NEW: There is a new method of installation that is much simpler and faster - You can find my new 60 second tutorial for it here:
For those of you interested in learning how to train your own AI model with Stable Diffusion FAST, I have a playlist for it right here:
Also, we have a new discord specifically for anyone new needing general AI help usage/installation/etc here as well -
---
If you'd like to try and see what the most common 'installation error' messages are and their solution, you might have some luck with the following:
---
For those wondering about my computer's specs, I'm operating on a Windows 10 Pro 64-Bit, AMD Ryzen 7 3700X 8-Core Processor, 32 Gigs of Ram, And a GForce RTX 2070 Super Graphics Card -
BIG Shoutouts to Penguin Dragon for taking so much time to walk me through the whole installation process -
Here are all the materials demonstrated in the video:
Github Website Link:
Hugging Face Website Link:
Link to GitBash for windows:
Stable Diffusion WebUI Link:
Hugging Face Stable Diffusion v1-4 Downlaod Link:
GFPGAN Face Restoration Link:
Python 3.10.6 Download Link:
Code for Gitbash Commands:
"cd /c/ai"
Code Edit for less powerful computers
--opt-split-attention --precision full --no-half --medvram

Common Error Messages and their solutions:
0-Problem: RuntimeError: Couldn't install Torch.
0-Solution: multiple versions of python confusing the system, you need to remove the older version (This is most likely because some versions of Windows come with Python installed by default)
---
1-Problem: when i launch the webui-user.bat file it says: "couldn't launch python"
1-Solution: you have to the edit webui-user file via note editor or some text editor, then you need to enter the file path of python to where it says "set PYTHON=" should look like : "set
---
2-Problem: If you get error code 9009, Python not found.
2-Solution: Uninstall Python using the executable, then go to the windows store and download the same Python version from there.
---
3-Problem: it say "Couldn't launch python"
3-Solution: press "add python to path" when i installed -
---
4-Problem: "No matching distribution found for torch==1.12.1+cu113"
4-Solution: You probably have a previously installed version of python already on my computer, so it was trying to use the old python to run the script. You need to uninstall any and all versions of python, and then delete the ai folder you created and start all over from the beginning.
---
5-Problem: Couldn't launch python, exit code: 9009
5-Solution: going into: start> type: manage app execution aliases> and turn off app installer
---
6-Problem: Creating venv in directory venv using python "C:\Python27\python.exe"
Unable to create venv in directory venv
exit code: 1
stderr:
C:\Python27\python.exe: No module named venv
6-Solution: Try renaming your sd-v1-4.ckpt file to "model.ckpt"
---
7-Problem: it says python not found after installing it
7-Solution: you have to the edit webui-user file via note editor or some text editor, then you need to enter the file path of python to where it says "set PYTHON=" should look like : "set then safe it and it should work (make sure that its the actual python, not some shortcut)

Hope that helps :)

TheRoyalSkies
Автор

This should be the worldwide baseline standard for how tutorial videos are made. Thank you for this comprehensive, easy-to-follow setup guide.

crabmothflunderbum
Автор

This is the way every tutorial should be! I had no trouble with this and it was all thanks to you and the patron! Had I taken any other tutorial this would've taken me days! Thank you so much! May your bounty be plentiful and your hunger satiated!

MrStatic
Автор

Great Tutorial! Unlike other tutorials, this one is actually straight to the point with no useless nonsense information. Great job, this is worth a subscribe!

RadiKaroum-dikt
Автор

Hey, I just wanted to say thank you so much for making this tutorial. Without dropping names, I tried a few other tutorials and they didn't work/give me what I want, and I just happened to stumble upon this one. I have been trying to set this up for a week and I finally got it working with this video. I will definitely be looking through the rest of your Stable Diffusion playlist as I want to learn more about this program and how to use it. Awesome video! Thank you so much again ♥️

teddychadgimichaelidis
Автор

Short, straight to the point, actually has useful extra information...You really nailed the tutorial format, worth a subscribe!

kazrik
Автор

One of the best tutorials of any kind. Straight to the point, no useless talking. Thank You!

shortping
Автор

gonna be honest, I don't often give videos likes. This has absolutely earned it and I've installed SD twice on two computers from this tutorial. This is the clearest tutorial I think I've seen on youtube, no nonsense, no bs, just step by step. Thank you a million, man!

Grimleal-wsmk
Автор

Great tutorial: Straight to the point, no filler, everything you need is shown and explained and links are in the description. Wow! Thank you so much!

Marvinscreed
Автор

I have followed many other installation tutorials trying to set it up..
Yours work perfectly! Thanks a lot!

dragovian
Автор

A note from someone who uses the Windows CMD console a LOT at work: It is safer to press space than enter, if you think the terminal is frozen.
Enter may "accept" a command, whereas space will simply just type a space if it has frozen at a command input prompt.

Can't tell you how many times I accidentally accepted a default value by pressing enter before I realized any input works to "unfreeze" the screen...

morphman
Автор

Finally a tutorial that is concise, doesn't skip important details, and doesn't bombard me with information I didn't click for. Thanks so much!

Cantersoft
Автор

You have no idea how much I appreciate a tutorial that gets to the point. Thank you!

darelparker
Автор

Thanks for the quick and easy walkthrough, truly appreciate your effort in making this.

CrabBattle
Автор

it looked intimidating at first but it's super easy to follow. thanks!

Arrkail
Автор

My friend linked me this guide and boy I was never disappointed
All guides I've seen are hours and etc
This one is straightforward easy and works like a charm
Thank u

Custarddolphin
Автор

Thought something in this process would most probably go wrong - but it was indeed just easy like this. Done after 30 minutes. Thank you so much!

PurpleHandkerchief
Автор

very straightforward tutorial, found no issues and the only problem is the waiting part. which to me took some 2 hours... but thats due to my sucky internet provider.
Thanks for the simple tutorial!

alanmf
Автор

The best instructions videos on the Internet. Fast, clear, to the point. With a slight dose of humor. Love it.

sergiopeixoto
Автор

Guys, if you seem to get far but then an error message comes up about something not being able to access the GPU, this is something you should try:

right-click the 'webui-user' file and select 'edit' this will take you to the 'batch file'. Add the command "--skip-torch-cuda-test" after 'set COMMANDLINE_ARGS='. This worked for me, after being stuck for a pretty long time. (I think maybe 1 hour in total).

Good luck guys! I'm gonna finally test it all out!

driesvanheeswijk