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

[Feature Request]: Update pip dependency requirements

Open HinaHyugaHime opened this issue 1 year ago • 6 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 ?

for advice on updating all existing pip dependencies use

pip --disable-pip-version-check list --outdated --format=json | python -c "import json, sys; print('\n'.join([x['name'] for x in json.load(sys.stdin)]))" | xargs -n1 pip install -U

on a fresh install

Proposed workflow

  1. Go to ....
  2. Press ....
  3. ...

Additional information

No response

HinaHyugaHime avatar Dec 20 '23 07:12 HinaHyugaHime

my source:https://stackoverflow.com/questions/2720014/how-to-upgrade-all-python-packages-with-pip

HinaHyugaHime avatar Dec 20 '23 07:12 HinaHyugaHime

lots of outdated packages

HinaHyugaHime avatar Dec 20 '23 07:12 HinaHyugaHime

ofcourse this might require changing a bit of code here or there to fix versions

HinaHyugaHime avatar Dec 20 '23 07:12 HinaHyugaHime

also a second thing is add a option for a rocm install instead of most of the nvidia stuff

HinaHyugaHime avatar Dec 20 '23 08:12 HinaHyugaHime

isn't this going to update the packages regardless of what webui specifies? we pin certain package versions for various reasons, sometimes it's due to incompatibility https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/requirements_versions.txt

w-e-w avatar Dec 20 '23 15:12 w-e-w

seems like requirements.txt file has version-specific requirements mentioned. Where requirements_version.txt has current version of packages used which can be upgraded without any issues. We can generate a new requriments_versions.txt file based on current specific requirements using pip-tools.

rkarmaka98 avatar Dec 20 '23 20:12 rkarmaka98

gonna have to reopen this, torch was updated to 2.1.0 and soonTM for 2.2.0 and 2.0.1 to 2.1.0 breaks some things because its not updated/compatable with 2.1.0 current version. @AUTOMATIC1111 you dont have to update everything just fix the deps

HinaHyugaHime avatar Jan 07 '24 04:01 HinaHyugaHime

@hqnicolas please stop thank you for creating a docker container and sharing it with the community but you have pop up in my notification four times in last 30 minutes and I can only imagine there are more image

  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/12234#issuecomment-2101242560
  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14182#issuecomment-2101210697
  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14329#issuecomment-2101201214
  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14374#issuecomment-2101197988

you're even posting on stilled or closed post if you continue to post messages like this I will consider you as spamming if you wish to share your project open a new discussion post

w-e-w avatar May 08 '24 19:05 w-e-w

@w-e-w ok, I will open a new discussion post. I had a lot of problems running this repository on AMD, I'm looking for people to help only on ROCm

hqnicolas avatar May 08 '24 19:05 hqnicolas