Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use gfpgan stable codebase #12252

Closed
wants to merge 1 commit into from
Closed

chore: use gfpgan stable codebase #12252

wants to merge 1 commit into from

Conversation

soulteary
Copy link

Description

The WebUI project, currently using the GFPGAN code version, comes from an unstable version, taken from a temporary commit after the release of 1.3.5.

For consistency, refer to the requirements file, it is recommended to use version 1.3.8 of the stable version.

Checklist:

@soulteary soulteary changed the base branch from master to dev August 2, 2023 09:08
@soulteary
Copy link
Author

it seems i can not re trigger the https://github.com/AUTOMATIC1111/stable-diffusion-webui/actions/runs/5736676815/job/15546757906?pr=12252 , since i change the target branch to dev. @AUTOMATIC1111

@w-e-w
Copy link
Collaborator

w-e-w commented Aug 2, 2023

the workflow it's only triggered on opened synchronize and reopened
unless you close and reopen or push new changes to your PR it won't rerun the the workflow

that workflow is only meant as a warning triggered when someone tries to commit to the master branch
you have already changed your targets to dev so don't worry about it

if you really want the warning gone, close then re-open the this pr

@AUTOMATIC1111
Copy link
Owner

is something improved

@w-e-w
Copy link
Collaborator

w-e-w commented Aug 3, 2023

if this gets merged I would suggest using the hash as opposed to the tag

@soulteary soulteary closed this Aug 5, 2023
@soulteary soulteary reopened this Aug 5, 2023
@soulteary
Copy link
Author

i've try to close and reopen this PR, but the warnning CI job not disappear. @w-e-w lol

1 similar comment
@soulteary
Copy link
Author

i've try to close and reopen this PR, but the warnning CI job not disappear. @w-e-w lol

@w-e-w
Copy link
Collaborator

w-e-w commented Aug 5, 2023

ah I see
since the job was already run it's not going to be rerunned and ceared so it's still error is there
I'll see what I can do about this in the future

but it's really just something that to tell new developers that you should base your code off of dev branch instead of master
as depending on where we are in the development cycle, we have seen people submit PR that's trying to fix stuff in master that's already been fixed in dev

@soulteary
Copy link
Author

emmmm, Is there anything else I need to do on this?

@AUTOMATIC1111
Copy link
Owner

You need to explain what the reason is for updating to a newer version of GFPGAN.

@AUTOMATIC1111
Copy link
Owner

Actually I think 1.3.8 is what we use - it's in requirements_versions.txt. Maybe we don't need that installation code in the launcher at all.

@soulteary
Copy link
Author

Ok, I initially thought this was designed to use a fixed version of the software, as a feature supplement

But after reading the commit record and requirement file, it seems that this is the place that is left out.

Currently the requirement file contains the correct 1.3.8 version, but this is ignored in launch?

Perhaps the same version should be installed when installing in the bottom of the bag here?

@AUTOMATIC1111
Copy link
Owner

no, no, it's not ignored, if you check your installed pip version in webui's venv you would probably have 1.3.8 - I do. it is installed in launch_utils.py, line 399.

@AUTOMATIC1111
Copy link
Owner

I checked on a new installation that GFPGAN_PACKAGE is not needed and pushed a change that removes that part of launch_utils.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants