ffxvs / sd-webui-complete-setup

Jupyter notebook for Stable Diffusion Web UI and Stable Diffusion Web UI Forge.
https://ffxvs.github.io/sd-webui-complete-setup/
MIT License
29 stars 1 forks source link

Clarification on Updating the Container #18

Closed RON-SAE closed 4 days ago

RON-SAE commented 4 days ago

Hi there,

Thanks so much for the guide on setting up Stable Diffusion Web UI - it’s been incredibly helpful and worked perfectly! Definitely the easiest guide I’ve come across.

I just had a quick question about updating the container. You mention that when a new version is available, "you have to create a new installation again." Does this mean I need to create a new notebook and reinstall the WebUI from scratch?

Thanks again for all your hard work!

ffxvs commented 4 days ago

Does this mean I need to create a new notebook and reinstall the WebUI from scratch?

The short answer is yes, but I'll try to explain it further. It would be better if you read this first.

For example, currently Forge uses pytorch 2.3.1. Let's say next month the Forge maintainer decides to update pytorch to version 2.4.0. We can still use pytorch 2.3.1, but it might not perform as well as2.4.0. Because of that, I have no choice but to build a new container and name it according to the build date, for example ffxvs/sd-webui-containers:forge-2024.10.25

In that case, you'll need to create a new installation from scratch with the new container.

What will be lost? WebUI and all installed extensions

What will stay? All files stored in shared-storage, in other words models, lora, controlNet, configurations, etc, unless you use temporary storage.

This will be a rare occurrence, maybe once every few months.

RON-SAE commented 4 days ago

Okay :D Thanks a lot for your quick and thorough answer!