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 model #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix model #26

wants to merge 1 commit into from

Conversation

mykeehu
Copy link

@mykeehu mykeehu commented Jan 23, 2023

@l8doku patch. Read more here:
#21 (comment)

@l8doku
Copy link

l8doku commented Jan 23, 2023

I didn't submit my patch as a pull request because it's a workaround, not a real fix. It assumes that all models use "openai/clip-vit-large-patch14" as their text encoder. But, for example, Stable Diffusion 2.0+ uses OpenCLIP instead.

I don't know how to fix this properly, though. This is not to say that this pull request shouldn't be merged, more to state clearly what it does.

@mykeehu
Copy link
Author

mykeehu commented Jan 23, 2023

I put it in PR because two weeks ago this solution helped several people, but @AUTOMATIC1111 hasn't looked at it yet, until then this extension is available, it couldn't be used without it. If Automatic has a better solution, I will withdraw the PR.

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