How to Install Stable Diffusion with ComfyUI in 7 minutes

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys in this video we're going to take a look at how to install stable diffusion using comy UI now comy UI is not only one of the fastest versions of stable diffusion it's also one of the easiest to install especially if you're going to do a standalone installation for use with a CPU or more comfortably with an Nvidia GPU we are going to take a look at the in installation technique we're going to have access to all the files and I'll have links to all the downloads you need to do in the description below we'll start off at the comfy UI site on GitHub and what we need to do here is to go down to the installation and clicking on installing comfy UI we are taken to the windows section and we have to focus on the direct link to download merely clicking on this will start downloading the file it's a couple of gigaby and you need to extract it using 7zip or some other uh ZIP management file you can right click and choose save as and that's something that you can do for all the files we're going to take a look at today once you've started downloading that we also want to start downloading another large file over at civit AI I want you to download dream shaper the latest one is number eight and to download that one we come here to the file we can right click and choose download or we can click on the download button here now this is a 2 gbyte file and it is the one that we're going to use in place of the sort of official Runway uh file that was released when stable diffusion 1.5 first came out whilst this is downloading let's download another file which we might need to use and which is very useful and that one is from hugging face this one is from stability AI themselves the guys who give us stable diffusion and it's the vae file so we can go down here and we can choose either the pickle or the safe tensor uh again just click on the download icon or right click and save as I would recommend going with the save tensor option those files will give us everything that we need to actually set up and start using stable diffusion as a standalone package however there are some other files that I want to take a look at which I would recommend installing they're not going to be large uh downloads whil these guys are downloading you may want to install those to get everything ready and the first one is going to be git for Windows those now this guy here is usually going to be the latest one so we can go to the 64-bit version just start downloading that one and we also want to download python now python is used in artificial intelligence git for Windows is used for communicating with GitHub so they are very useful files to have installed and ready to use you might already have python installed however for comfy UI the very latest one that you need to use is 3.11 you cannot go beyond that that cuz it's not going to you're going to face some compatibility issues I'm currently using 3.10.7 and i' recommend this one because it is highly compatible with a whole bunch of different stable diffusion installations and the one we need is the one for the windows installer 64-bit and once those are downloading good time maybe to let you know that I have a number of courses over at UD to me these courses cover stable diffusion with automatic 1111 with sdxl and comfor UI and also we go into advanced uh sdxl and comy UI and even Mastery if you want to become a real expert in the subject I'll have a link to these down below and a discount for you if you want to use uh the the courses to improve your learning now when it comes to installing git for Windows the default settings will be fine but I want you to take notice of this setting here this is the Windows Explorer integration make sure that this option and that option are both ticked otherwise you you can go with the default settings for all the other options that are available when it comes to installing python you're going to have some options uh here I've already installed it and if I choose modify what we'll find is that the options here when you get to this part for a fresh install you'll have an option to add python to path make sure that that option is ticked it's not available here cuz I've already ticked it and the other option the other feature to remember is that you can choose a custom install location you may want to do that if you have problems sometimes python will not work properly if it is not installed in a path that has spaces so you may want to find a path that has no spaces and that guarantees it's going to work just fine now once the zip file from comy UI has finished downloading make sure you unzip it it will give you a file that looks like this uh or folder that looks like this we want to take the dream shaper and we want to copy it it from where it's downloaded and we want to go into the installation here now inside of this folder we'll find two options one is to run CPU bat and the other one is to run the GPU bat we're going to be running GPU bat for Invidia and that's something we do after we've copied the file that we have just copied into the comy UI folder we go to models and we choose checkpoint and that is where we paste the dream shaper 8 safe tensil now that gives us an option to start working with stable diffusion with a valid file for the checkpoint with a valid model now there was another file let's go back up and that was the vae file let's go to vae folder and we can actually paste that file the vae file inside of this folder now that's the setup that we need and once we finished that we can go back up all the way into this directory here where we have the Run Nvidia GPU dobat obviously this guy here is for the ones who want to use the CPU we're going to be using the GPU and we just double click on that one to get going now this file the Run Nvidia GPU dobat that can actually be edited and you can edit it in a notpad editor any any text editor notepad++ and if you wanted to change the settings for you know if you have a low vram GPU or if you want to use the CPU this is the file that you would actually edit the instructions are over on the comfy UI GitHub page and I'll actually link to a video where I discuss some of the settings that you can change if you have a lower power GPU or if you have a lower power system now what we do is that we double click on this guy here and initially what it's going to do it it it may take a little bit of time to start uh running and what you'll see is those instructions inside of the batch file uh we can actually see them here you can alter those to fit your system so that your system runs better and you'll see for the first time that it runs it may download a whole bunch of files it may take a little bit longer than usual now once your startup has finished you'll have comfy UI opening up inside your browser and it's going to look something like this and if you want to get started you might want to check out some of the videos that I've got on YouTube or you might want to sign up for one of the lectures on udemy it's up to you hope to see you [Music] around
Info
Channel: Pixovert
Views: 5,124
Rating: undefined out of 5
Keywords: Stable Diffusion Tutorial, COMFYUI Installation, AI Model Setup, Beginner Tech Guide, Machine Learning Basics, Easy AI Installation, AI Tutorial 2023, Stable Diffusion Beginners, COMFYUI Setup Guide, Artificial Intelligence Learning, Open Source AI, Neural Networks Explained, Image Generation AI, Tech Education, AI For Beginners, AI Model Implementation., education comfyui stable diffusion beginners
Id: CEOB144IDzk
Channel Id: undefined
Length: 8min 3sec (483 seconds)
Published: Wed Nov 15 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.