Skip to content

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

Closed
Ph0rk0z wants to merge 1 commit intoAUTOMATIC1111:devfrom
Ph0rk0z:patch-1
Closed

Fix ugly error at startup due to clip model loading.#13667
Ph0rk0z wants to merge 1 commit intoAUTOMATIC1111:devfrom
Ph0rk0z:patch-1

Conversation

@Ph0rk0z
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Owner

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

@Ph0rk0z
Copy link
Copy Markdown
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