AUTOMATIC1111 / stable-diffusion-webui-tokenizer

An extension for stable-diffusion-webui that adds a tab that lets you preview how CLIP model would tokenize your text.
153 stars 25 forks source link

is this still maintained? #8

Open alenknight opened 1 year ago

alenknight commented 1 year ago

getting an error saying "unknown clip : module".....

aDropp commented 1 year ago

It seemed that it couldn't work on SDXL.

ice-fly commented 10 months ago

Using SDXL:

\webui\extensions\stable-diffusion-webui-tokenizer\scripts\tokenizer.py", line 54, in tokenize
    raise RuntimeError(f'Unknown CLIP model: {type(clip).__name__}')
RuntimeError: Unknown CLIP model: Module

@aDropp it seems that this repo was last updated on 2022-12-10 and ther is an open pull request from november... maybe this ping will get @AUTOMATIC1111 's attention.

zero41120 commented 5 months ago

I make some change to support SDXL. However, SDXL and SD1.5 yields the same tokenization. So there should be no difference.

https://github.com/AUTOMATIC1111/stable-diffusion-webui-tokenizer/pull/9