[PR #223] [MERGED] Embedding forced reload. #278

Closed
opened 2026-10-30 21:21:56 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/pull/223
Author: @Symbiomatrix
Created: 8/20/2023
Status: ✅ Merged
Merged: 8/20/2023
Merged by: @DominikDoom

Base: main ← Head: embload


📝 Commits (3)

📊 Changes

1 file changed (+8 additions, -1 deletions)

View changed files

📝 scripts/tag_autocomplete_helper.py (+8 -1)

📄 Description

Hey dom, been having some trouble with getting embeddings to reload on the latest webui.
I found this method load_textual_inversion_embeddings which can be called to reload embeddings instantly, adding it to refresh_temp_files seems to do the trick for me.
The force_reload might not be necessary but I think it's better to be sure we're refreshing. I'm not sure whether auto's architecture on this is the same as vlad's (and of course in legacy versions), so I added an exception and dummified the function in such cases.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/pull/223 **Author:** [@Symbiomatrix](https://github.com/Symbiomatrix) **Created:** 8/20/2023 **Status:** ✅ Merged **Merged:** 8/20/2023 **Merged by:** [@DominikDoom](https://github.com/DominikDoom) **Base:** `main` ← **Head:** `embload` --- ### 📝 Commits (3) - [`5b69d1e`](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/commit/5b69d1e62229dfe28943b26679073926c6267c44) Embedding forced reload. - [`79bab04`](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/commit/79bab04fd2cba663c1d7ac16f39497d46ce38285) Typo. - [`6f93d19`](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/commit/6f93d19a2bff662cf96c0f1950536568841c8e53) Edit error message. ### 📊 Changes **1 file changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `scripts/tag_autocomplete_helper.py` (+8 -1) </details> ### 📄 Description Hey dom, been having some trouble with getting embeddings to reload on the latest webui. I found this method `load_textual_inversion_embeddings` which can be called to reload embeddings instantly, adding it to refresh_temp_files seems to do the trick for me. The force_reload might not be necessary but I think it's better to be sure we're refreshing. I'm not sure whether auto's architecture on this is the same as vlad's (and of course in legacy versions), so I added an exception and dummified the function in such cases. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-30 21:21:56 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DominikDoom/a1111-sd-webui-tagcomplete#278
No description provided.