Fixed error: 'Attention' object has no attribute 'to_to_k'

#2
by Yntec - opened

I'm including this information here in case you face this error, more information here: https://github.com/easydiffusion/easydiffusion/issues/1618

First you have to upload the model into a repo, then use a space like this one:

https://huggingface.co/spaces/John6666/sd-to-diffusers-v2

To create a new repo with the diffusers version (I recommend unticking half-precision and ticking no-ema in advanced options). Then you convert back to single safetensors in a space like this:

https://huggingface.co/spaces/Yntec/diffusers-to-sd

That's the secret that makes it work:

Attention' object has no attribute 'to_to_k

You can now download a fully working model from there and any merge with this model will not inherit the error!

Sign up or log in to comment