Stable Diffusion ForgeUI | 全新的SD版本,AI绘画神器,为拯救低显存用户而生 | 0到1安装教程!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Hello everyone, today we are going to introduce a new painting tool , which is the Stable Diffusion WebUI Forge. So what does this thing do? It actually belongs to the same project as the SD project. This Forge is its branch project, so these two In fact , the two projects are actually the same, so their layout and usage methods on the webui are almost exactly the same. Look at this, this is Forge's WebUI. Is it exactly the same as our SD's UI? There is nothing wrong with it. What's the difference ? What's the advantage of Forge? It's fast. It 's done a lot of optimization on the video memory. For example, if we have 8G, the inference speed will be increased by 30% to 45%. The drawing speed is very fast. Moreover, the related usage of the GPU will also decrease , and the diffusion resolution will increase by 2-3 times. OOM means that the memory will not explode. Then, for example, if you have 6G , the improvement speed will be the maximum 60% to 75% . The drawing speed is really very fast. If you say 4090 24G , it will only increase by 3% to 6%. Judging from this data, in fact, this Forge project is more suitable for users with relatively small video memory. If you originally If the video memory is large enough , then you don’t actually need to use this thing, because if you toss and toss, the speed of improvement is not too much, and there is no great need. So you can choose this by yourself , and I will not go into details about the following. If you are interested in this, you can take a look at it yourself. Then we will directly talk about how to use and install it. Here, the official has given a one-click installation package, so here you can download it directly . After downloading it, we must first Update: This is the official prompt. Here is this version. Because I have already made one before, so in order to demonstrate it to everyone, I deleted the one I made before and then we started from 0 and told you how to do it again. How to make relevant settings after downloading? Just unzip it. Now that the unzipping is complete, we double-click to enter. Then we update according to the official prompts. Double-click here and it is finished. It means that my project is the latest. There is nothing. It needs to be updated. Then we click this run to start. Everyone, look here. He is downloading some related things. We need to wait. You can see that the top is downloading some files. The bottom is mainly a model. This model 1.99 The G model must be downloaded, so everyone waits for it to be downloaded before coming in. Then we first do some settings. The first thing we need to do is definitely the Chinese version because it is an English interface. Click this last item and then click this third item. Second item , then cancel this check mark , and then we click the button above. Then it will refresh all. Then let's search for our Chinese version. You can type these few letters and then it will be done . Here, it retrieves two files. The following is simplified and the top is traditional. You can choose one by yourself. If we are here, of course, choose the simplified Chinese below and click this installation. Then you will find that the following item is no longer available. Then the above tells us that the Chinese plug-in has been installed. Then What if we are prompted here that the installation failed ? Then we can click on the previous item to open it , and we will come to this page. Click on the code and copy this address. Click this copy to return to here . Then what? Let's copy and paste it from this URL and then click this item directly. You can also install it. You can choose a method. It does n't make any difference. After the installation is completed here , it prompts us that we need to restart. So we Find this setting, click this reload to restart our UI interface . Now we have restarted, click this setting, and then find this item. Pay attention to this name, click on it, and then the first item. Then here is the Chinese version we just installed. Click one and then click the confirmation above and then click restart . It has been translated. This is the Chinese version. We have set it up . Then let's make a picture to try here. We don't write anything and let him make the picture to see. As you can see, its speed is very fast. Then a picture comes out. Then click on the picture . The speed of drawing is indeed very, very fast. This is also a feature of Forge. Then we need to share the model because everyone I found that I only have one model here, which is definitely not possible. Normally, we need to download it on the website , but I guess everyone should have tried this AI painting tool before, such as this SD. Everyone should have it . So what do we do here? Let 's share the large model here so that we don't have to download it again. Or if you make a copy, it actually takes up a lot of space. In this case, we need to open the Forge folder. Select this folder and come in. Then pull this to the bottom. There is this file here . Please be careful not to choose the wrong name. Then right-click and edit it . After we open it, there is such a big list in the middle. Let's copy it. Copy these above. Don't copy this sentence and paste it below. Then let's cancel the previous symbol and remove everything. In this way, we can start the next step of setting. Then the meaning of this sentence is the previous one. The string A1111 is home and this long string represents the path of our SD folder, so let’s find where our folder is. Then my folder is in this place. You can find it on your own machine. Don't choose me for the path . Then let's copy it over here. We need to put a double quote. This double quote. It must be in the English input method. Please don't make a mistake. Paste it and the sentence will be set. Then the following words will have this A1111. Pay attention to this string of strings. This means that it means the front. This string of paths is a variable . Then let's see if our large model has been shared here. You save it first and then you need to restart it. Then turn it off and then restart it. You can see that we are not there. This model has been all shared. This is how to share the model. Then here on the VAE side, we also need to share it. Let's open this file, copy this line, and here we change it to VAE VAE. Let's go find it. Where is the path of this VAE ? This VAE should be in the models folder. There is a VAE folder here. Just copy this. Then if we are here, just change the name. This way , we can set the VAE. After that, we can also set up the ControlNet that we often use. If there is no such model here , you can see if you refresh it, there is no model of this ControlNet. We can also share it over here. Then here I go. Copy another one , and then let's make a ControlNet here and copy this one. It's all lowercase , so we change it to lowercase. Please note that the last line of this symbol does not have this symbol, but the previous line does . So, We need to copy it and paste it together , and then paste it again . The last line seems to leave this. We need to find the path of this ControlNet to see where it is . The path of ControlNet in my file is Here , here , here, and then there is a ControlNet folder. Where is it? So let's copy this path and the next two will be fine . Then I paste it over. Pay attention to this symbol. This symbol needs to be changed. Come here , this is the path in my file. Please take a look at it because there are generally two paths to ControlNet. One is here. There is another one here. It is in this, uh, in this model folder. There is a ControlNet folder here. Well, some people's ControlNet model is here. You must pay attention to where your machine is. Don't choose the wrong one. That's fine. Then, let's save it, close it, and restart the UI. We have now restarted. Let 's take a look at the two shares just now. This is our VAE share. There is no problem. This ControlNet share has come over . Let's take a look at it. Select one here and refresh this. It didn’t come over, did it? Look , it didn’t come over here . So let’s take a look at where the mistake was made. Let’s open the file just now and edit it and look at the path. This one has not been removed . If you look at me, I accidentally made a mistake like this. Then Well, let's start it up again. Let's take a look at ControlNet . Then the depth is good. We have the model here, right? Everyone has seen the ControlNet model and shared it. This is the content shared by our model. So let's make another picture. Let's take a look at it now. How about this. The drawing speed is very fast and there is no problem. Let’s change a model. Select this to change to a new model and then run it again. The drawing speed is still very fast and there is no problem. Let’s share the model and set it up. That's it. Then let's take a look at some migrations of this other plug-in , because we must have installed a lot of plug-ins in it before. If you want to migrate it , it is relatively simple because all our plug-ins are in this folder. Copy it. Come here, I will copy all the plug-ins in this folder , and then copy them to the same folder on my Forge side . Inside this, we originally installed a Chinese version , so we have copied them all. Our ControlNet has also copied this one. We delete it because we have done model sharing, so we remove this and don’t want it. Then we restart it to see if our plug-in can run normally. Now we have started it . The previous one downloaded and configured the ecological environment because we migrated it directly. There must be some things that need to be downloaded again. Look here. All the configurations related to some plug-ins I have installed before have been migrated. After coming over , we can use it normally without any problems. Then we will make a demonstration of a girl. Then we will generate this without changing it. Just make a picture. You can see the speed and the effect is also very good. Then we can select multiple For the two ages, choose the adult. Then add a baby face to the face . Then, the scene is in this planetarium. The lens, upper body and lower body, select all of them. Then let's run it again . You can see the effect, right? The speed of drawing is very good. And then there is another problem here . I just forgot to mention that the plug-in we just copied will actually have problems. Have you seen these two? I have installed a Chinese plug-in before , and I just demonstrated it to you. When I installed the following Chinese plug-in , it may cause plug-in conflicts. Although this can run normally , there is no guarantee that there will be no problems later, so when you migrate this plug-in Note that if you have the same type of plug-in, you'd better delete one and keep one, otherwise there may be some weird problems. So for me, I will just use the one I installed before. Deleted here , that’s all our content. You can try it out. The speed of Forge is indeed very fast and very good.
Info
Channel: AI工坊#十个骑士
Views: 4,336
Rating: undefined out of 5
Keywords:
Id: OT7ypvGV5H4
Channel Id: undefined
Length: 12min 13sec (733 seconds)
Published: Fri Mar 15 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.