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: Processing negative embeddings wrong #13207

Closed

Conversation

wpdong0727
Copy link

Description

  • When checkpoint switches from SDXL to other versions such as SD1.5, what is stored in embedding_db is the textual inversion of SDXL. If the model is loaded from already_loaded, the SD1.5 generation tasks will not be able to load the correct embeddings, and vice versa.
  • It is necessary to reload the textual inversion.
  • This could be the cause of this issue.

Screenshots/videos:

Checklist:

@wpdong0727 wpdong0727 changed the title load_textual_inversion_embeddings fix: load_textual_inversion_embeddings Sep 12, 2023
@wpdong0727 wpdong0727 changed the title fix: load_textual_inversion_embeddings fix: Processing negative embeddings wrong Sep 12, 2023
@AUTOMATIC1111
Copy link
Owner

I can't seem to reproduce the error on my side. I tried loading SD15, generating picture, loading SDXL, generating picture, and loading back to SD15 and generating picture - the generated picture matches the first one and TI hashes are present in the infotext. I also tried with persistent cond cache option on and off, and I tried starting with SDXL model already loaded - can't reproduce.

@AUTOMATIC1111
Copy link
Owner

closing due to no reply; reopen if needed.

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

2 participants