Fix ugly error at startup due to clip model loading. #13667
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: