mix1009 / model-keyword

Automatic1111 WEBUI extension to autofill keyword for custom stable diffusion models and LORA models.
MIT License
248 stars 13 forks source link

Close with error when try to use embeddings options on MacOS #20

Closed edgardmello closed 1 year ago

edgardmello commented 1 year ago

Is there an existing issue for this?

I have searched the existing issues and checked the recent builds/commits, but I couldn't find a similar issue.

What happened?

When I try to use/set embeddings option it closes with error

/AppleInternal/Library/BuildRoots/9e200cfa-7d96-11ed-886f-a23c4f261b56/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShadersGraph/mpsgraph/MetalPerformanceShadersGraph/Core/Files/MPSGraphExecutable.mm:1309: failed assertion `Incompatible element type for parameter at index 0, mlir module expected element type f32 but received f16'

[1] 16300 abort ./webui.sh --administrator

Steps to reproduce the problem

Run the process "C:\sd\webui\extensions\model-keyword\scripts\model_keyword.py" What should have happened?

The process should have run without any errors.

Commit where the problem happens

commit d04e3e921e8ee71442a1f4a1d6e91c05b8238007 (HEAD -> master, origin/master, origin/HEAD) Author: AUTOMATIC 16777216c@gmail.com Date: Sat Jan 28 15:24:29 2023 +0300

What platforms do you use to access UI ?

MacOS

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--administrator --upcast-sampling --use-cpu interrogate

Additional information, context and logs

none

Thank you.

edgardmello commented 1 year ago

The problem was the checkpoint...