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

Fix ugly error at startup due to clip model loading. #13667

Closed
wants to merge 1 commit into from

Conversation

Ph0rk0z
Copy link

@Ph0rk0z Ph0rk0z commented Oct 17, 2023

Description

I have a problem with both dev and master where the clip model loading errors out here and proceeds to download the pickle anyway.

Once you have d/l the model it never stops making this error because this doesn't really disable anything, it just makes it load the "slow" way.

see:
#13245

It may not save you from downloading the 2 clip models for both SD and SDXL but at least it stops the command line from spamming every time I run SD.

If anyone has a better fix to prevent CLIP model loading entirely...

Checklist:

clip model loads anyway
@Ph0rk0z Ph0rk0z changed the base branch from master to dev October 17, 2023 13:54
@AUTOMATIC1111
Copy link
Owner

This line changed is meant to prevent the download, and it is working for me - the change would cause the model to be downloaded. Until I can reproduce the problem, I can't fix it.

@Ph0rk0z
Copy link
Author

Ph0rk0z commented Nov 4, 2023

I think for me it happens due to repositories/stability-ai. Even when it fails due to this line, it still finds another way to d/l the clip models.

@AUTOMATIC1111
Copy link
Owner

closing because I can't reproduce the problem; reopen if there's more

@Ph0rk0z
Copy link
Author

Ph0rk0z commented Jan 1, 2024

Yea.. it still does it for me. I am greeted every time by this message when loading the UI.

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.

2 participants