ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Embeddings/Textual Inversion not working

Open nextdimension opened this issue 1 year ago • 2 comments

RuntimeError: The expanded size of the tensor (1024) must match the existing size (768) at non-singleton dimension 0. Target sizes: [1024]. Tensor sizes: [768]

nextdimension avatar Mar 15 '23 21:03 nextdimension

This actually might be because the embedding is not made for SD 2.0 models, Automatic111111 doesn't complain

nextdimension avatar Mar 15 '23 21:03 nextdimension

Yes that sounds like you are using a SD1.x embedding on an SD2.x model which won't work.

comfyanonymous avatar Mar 16 '23 06:03 comfyanonymous