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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is this still maintained?

alenknight opened this issue · comments

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

It seemed that it couldn't work on SDXL.

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.

commented

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

#9