mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-11-05 00:17:25 +00:00
[GH-ISSUE #97] Feature request: Embeddings etc. #70
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
low priority
low priority
pull-request
question
waiting for feedback
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DominikDoom/a1111-sd-webui-tagcomplete#70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Flonixcorn on GitHub (Jan 1, 2023).
Original GitHub issue: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/issues/97
when autocompleting embeddings, show embedding version or sort by version, so 2.X vs 1.X and when then selecting the autocomplete delete the <> from front and back :), thanks great embed!
@DominikDoom commented on GitHub (Jan 1, 2023):
It was a bit hacky to get working, but I think it's functional now.
The default list includes both types since I can't test during completion which type of model the user currently uses, but you can prefix the search with v1/v2 to only show those types, as seen below:
https://user-images.githubusercontent.com/34448969/210187734-c2e2292c-7649-4df6-b787-2b2195ab3a29.mp4
I wait for the webui to load the embeddings to then get their version info, but if the model doesn't load any (e.g. a v2 model, but the user has no v2 embeddings, or the same with v1), I can't test what version they are and default to v1 since it's more common.
I could theoretically check them manually, but that would mean embeddings being loaded twice which would increase startup time, so I compromised here.
@Flonixcorn commented on GitHub (Jan 2, 2023):
This doesnt work for me somehow!
@Flonixcorn commented on GitHub (Jan 2, 2023):
https://github.com/tkalayci71/embedding-inspector
here this guy here knows what version the embeddings are at all times!
if that helps somehow
@DominikDoom commented on GitHub (Jan 2, 2023):
Your webui needs to be updated to use it since my method relies on info only introduced yesterday. I do the same as the other guy, load the embedding db and then compare the vector sizes. Only difference being that I wait for the webui to load them itself to prevent duplicate loading.