DominikDoom / a1111-sd-webui-tagcomplete

Booru style tag autocompletion for AUTOMATIC1111's Stable Diffusion web UI
MIT License
2.55k stars 306 forks source link

[WebUI Forge] Cannot reload embeddings instantly #297

Open bluenyx opened 1 month ago

bluenyx commented 1 month ago

WebUI : forge - [f2.0.1v1.10.1-previous-222-g33187c26] python: 3.11.9 torch: 2.4.0+cu124 gradio: 4.40.0

Tag Autocomplete: Cannot reload embeddings instantly: 'StableDiffusionModelHijack' object has no attribute 'embedding_db' And, I have easynegative, but it's not added.

image image image

DominikDoom commented 1 month ago

It seems webui forge had a pretty big backend rewrite which broke many extensions. I tried my best to add fallbacks for its changes, and it should be partially fixed now, but some things are still different from before.

The main things to consider:

There might be more changes in the future, as some things in forge still seem broken in general right now and its rewrite isn't finished yet. For example, multiple API endpoints don't work and the TI embeddings extra network tab also doesn't show only the embeddings matching the currently loaded model, but all of them.

Depending on how these are fixed, my workaround might get broken again, so I'm leaving this issue open for the meantime.

Hazitos commented 3 weeks ago

I am having a very similar bug but with my UI itself not loading certain aspects like, checkpoints, loras, embeddings and even reloading the UI seems to to not work anymore, it just freezes and never finishes. I'll be making a separate bug report about this.

GeminiSquishGames commented 1 week ago

Interesting. This doesn't even work in forge for me and hasn't for a few months. Same with prompt-all-in-one... but not only them. They really dropped the ball I guess.