How to update Stable Diffusion Web UI, models and extensions

In this article, I will explain these things, so that by the end, you will know how to complete the update smoothly and keep Stable Diffusion update.

How to update Stable Diffusion Web UI, models and extensions
How to update Stable Diffusion Web UI, models and extensions

 Stable Diffusion Web UI

The Stable Diffusion Web UI is updated fairly frequently. If you use the old version, you may get an error because you can't support new extensions. I would like to keep it as up-to-date as possible.

If you are a beginner or have any questions about Stable Diffusion, please read the following articles. It explains in detail how to download and use Stable Diffusion

3 preparations to make before updating Stable Diffusion Web UI

Before updating the Stable Diffusion Web UI, make the following three preparations :

  • Check if the latest version exists
  • Check if there are any errors in the updated version
  • save backup
I will explain in order.

Check if the latest Stable Diffusion Web UI version exists

Find out if there is a newer version than the Stable Diffusion Web UI you are using. If you are using the latest version in the first place, there is no update destination.

Stable Diffusion Web UI
Stable Diffusion Web UI
To check if you have the latest version, right-click on the batch file called "webui-user" (the one you always click on startup) in the stable-diffusion-webui folder and select Edit.
update Stable Diffusion Web UI
update Stable Diffusion Web UI

Since the file is opened with Notepad etc., in the column of "COMMANDLINE_ARGS=" set --update-check.
and enter If you start Stable Diffusion in this state, it will automatically check for updates.
Stable Diffusion updates
 Stable Diffusion updates

You are not up to date with the most recent release. Consider running git pull to update. that means your Stable Diffusion Web UI is already updated.

Check if there are any errors in the updated version :

Even if the latest version of Stable Diffusion Web UI is released, it is dangerous to update immediately. There are cases where errors occur frequently due to bugs.

While checking user reviews, let's start updating after judging that there seems to be no problem.

save backup

It is recommended to save a backup before updating. If something happens, you may need to downgrade or reinstall in the worst case, so be prepared for a smooth transition.
Stable Diffusion
Stable Diffusion

Especially, I want you to save the commit hash value. It will be displayed at startup, so please copy and paste it into Notepad. Handy when downgrading.

How to update the Stable Diffusion Web UI

How to update the Stable Diffusion Web UI
How to update the Stable Diffusion Web UI

Updating Stable Diffusion Web UI is very easy. Right-click inside the stable-diffusion-webui folder and launch Git Bash Here.
Updating Stable Diffusion Web UI
Updating Stable Diffusion Web UI
Then a small window will appear, type "git pull" and press Enter.

Stable Diffusion Web
 Stable Diffusion Web

Now just wait for the web UI to update. When the "$" mark is displayed on the left side, it is completed.

start Stable Diffusion
start Stable Diffusion

When you start Stable Diffusion Web UI as usual, you should be able to confirm that the version is new.

How to downgrade Stable Diffusion Web UI

Updates to the Stable Diffusion Web UI may introduce new errors due to bugs. In that case, downgrading may be your best bet.

When the Web UI has just been updated, there is little information, and the cause is often unknown. It's a common story that even if you try to solve the error unreasonably, only time passes and you don't understand it in the end.

In such a case, let's downgrade Stable Diffusion Web UI once and see how it goes.

After that, when the latest version with the bug fixed is released, it is OK to update again.

Diffusion Web UI is not developed by a large company, so it's natural that you can't receive generous support. It is basic to respond flexibly to yourself or other users. I want you to remember that you are allowed to use it without paying a single yen.

Stable Diffusion Web UI downgrade procedure

downgrade Stable Diffusion Web UI
downgrade Stable Diffusion Web UI

Just like when updating, right-click inside the stable-diffusion-webui folder and open "Git Bash Here".

The commit hash value you wrote down is useful here.
Stable Diffusion Web UI downgrade
Stable Diffusion Web UI downgrade

  • git reset –hard commit hash value
and press Enter to complete the downgrade in an instant.
Stable Diffusion Web UI
Stable Diffusion Web UI

If you downgrade, the contents that have not been entered in webui-user until now will be cleared, so if you used xformer etc., please enter the command again.

How to update the LoRA And Stable Diffusion model

In addition, I will also tell you how to update LoRA and Stable Diffusion model.

However, it is actually a file exchange work rather than an update. Just throw the downloaded latest version file into the folder where the model LoRA is stored and delete the old file.

Check for Stable Diffusion model and LoRA updates

Normally, you would have to go to each download page and check if there is a newer version.

However, if you have the extension "Civitai Helper", you can check and update all at once, which is convenient. If you haven't installed it yet, please refer to the article below to install it.

As the name suggests, Civitai Helper can only search for things on Civitai, so you need to check individually if you got it from another site such as Hugging Face.

How to update extensions

How to update extensions
How to update extensions

Click the Extensions tab → Check for updates button to automatically check the checked extensions :
  • latest
  • new commits (the latest version is available)
Either of these will be displayed.
update stablediffusion extensions
update stablediffusion extensions

Features with new commits can be updated.
stablediffusion update
stablediffusion update
To update the extension just press the Apply and restart UI button on the left. It will update extensions in bulk and restart the UI.
update extensions
update extensions
After restarting, if you try Check again, you can see that everything is "latest".

In particular, ControlNet has a demon-like update speed, so check and update frequently. The number of preprocessors is steadily increasing.

If you want to generate ai illustrations more smoothly

generating AI illustrations
generating AI illustrations
If you are not satisfied with the current illustration generation speed, it is recommended to review Grabo.

Gravo is the most important part of generating AI illustrations. No matter how high the CPU and memory are, if the graphics board is poor, it will be fatal.

If you are going to work on it in earnest, don't be stingy and invest in Grabo.

The RTX 3060 is the most cost-effective grabo for generating AI illustrations. Despite having 12GB of VRAM capacity, the price is less than 50,000 yen! It's an order of magnitude smoother than a Gravo with less than 4GB of VRAM.

Easily manage a large number of generated ai illustrations

manage a large number of generated ai illustrations
manage a large number of generated ai illustrations

If you want to efficiently manage a large number of illustrations generated by Stable Diffusion, we recommend a tool called "Eagle".
generated ai illustrations
generated ai illustrations

When you generate an illustration, metadata is automatically sent to Eagle and saved as tags and notes. Search and management is very easy by using this tag.
ai illustrations
ai illustrations

For example, if you search for the tag "a dog", you can display only the ai illustrations generated by that prompt. "What prompt did you use to generate that illustration? You don't have to worry about "I forgot the LoRA trigger word".



Next Post Previous Post
No Comment
Add Comment
comment url