Skip to content

Fix merging embeddings - #226

Merged
lstein merged 3 commits into
invoke-ai:mainfrom
david-ford:training-optimizations-part-2
Aug 31, 2022
Merged

Fix merging embeddings#226
lstein merged 3 commits into
invoke-ai:mainfrom
david-ford:training-optimizations-part-2

Conversation

@david-ford

Copy link
Copy Markdown
Contributor

Fixed merging embeddings based on the changes made in textual inversion. Tested and working. Inverted their logic to prioritize Stable Diffusion implementation over alternatives, but left the option for alternatives to still be used.

Fixed merging embeddings based on the changes made in textual inversion. Tested and working. Inverted their logic to prioritize Stable Diffusion implementation over alternatives, but left the option for alternatives to still be used.

@lstein lstein left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I spot no problems with the code, and I'll take it on trust that the modifications are doing what they're supposed to since I haven't taken advantage of the training features myself (yet).

@lstein
lstein merged commit 58e3562 into invoke-ai:main Aug 31, 2022
@david-ford
david-ford deleted the training-optimizations-part-2 branch September 4, 2022 23:39
@hopibel

hopibel commented Sep 14, 2022

Copy link
Copy Markdown

The change to ddconfig.resolution (512->256) doesn't match the current value used in the textual inversion repo. The commit there that set it to 512 is older than this PR. Unintentional revert?

@david-ford

Copy link
Copy Markdown
Contributor Author

The change to ddconfig.resolution (512->256) doesn't match the current value used in the textual inversion repo. The commit there that set it to 512 is older than this PR. Unintentional revert?

Intentional, decided to go with the lower to support people with less memory to work with. This was before I heard about neons optimizedSD which provides much better performance benefits.

@lstein

lstein commented Oct 11, 2022 via email

Copy link
Copy Markdown
Collaborator

austinbrown34 pushed a commit to cognidesign/InvokeAI that referenced this pull request Dec 30, 2022
Fixed merging embeddings based on the changes made in textual inversion. Tested and working. Inverted their logic to prioritize Stable Diffusion implementation over alternatives, but left the option for alternatives to still be used.
JPPhoto pushed a commit to JPPhoto/InvokeAI that referenced this pull request Sep 10, 2026
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.

3 participants