stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Feature Request]: Add a auto update

Open manwesC72 opened this issue 2 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

We can update the app ver. without download on github

Proposed workflow

  1. Go to settings
  2. Press Update

Additional information

No response

manwesC72 avatar May 13 '23 10:05 manwesC72

Want to add that currently there is no clear guide on how to update, there are tips and tricks circling around in the community, and can be hard to get it right. So any process to automate this would help, and also maybe reduce issues related to venv and dependency issues (given that the updater handles everything).

ecker00 avatar May 13 '23 21:05 ecker00

git pull

missionfloyd avatar May 14 '23 20:05 missionfloyd

Git pull doesn't update other dependencies (for example torch), unless you change the launch flag to reinstall it. It works, but feels a bit janky and there is not any instructions on how to go about updating currently. I'm not bothered by this myself, but think the UX could be improved.

ecker00 avatar May 14 '23 21:05 ecker00

first you'll need to fork it in your repository

Then upstream the remote content to keep it in sync

create a new branch with your feature

create a new virtual environment python -m venv .venv

Install requirements pip install -r requirements_versions.txt

Iheuzio avatar May 17 '23 04:05 Iheuzio

Updating is left up to the user. As part of the recommended install, it includes an update.bat file, and if installed via git, it's a matter of running git pull.

catboxanon avatar Aug 25 '23 02:08 catboxanon