klimaleksus / stable-diffusion-webui-embedding-merge

Extension for AUTOMATIC1111/stable-diffusion-webui for creating and merging Textual Inversion embeddings at runtime from string literals.
The Unlicense
106 stars 10 forks source link

Compatibility with WebUI Forge #13

Closed aleksusklim closed 6 months ago

aleksusklim commented 7 months ago

When using EM with https://github.com/lllyasviel/stable-diffusion-webui-forge it gives an error at start:

TypeError: _webui_embedding_merge_.<locals>.hook_prompt_lengths() takes 2 positional arguments but 3 were given

I'll see what can be done.

aleksusklim commented 6 months ago

X/Y/Z Plot is buggy in Forge if you use Checkpoint name field: somehow EM ephemeral embeddings are destroyed on model reload. I fixed this for prompt token counter, but couldn't fix for X/Y/Z Plot.

Not sure why it happens or how to evade this.