StableCascade icon indicating copy to clipboard operation
StableCascade copied to clipboard

RuntimeError: Error(s) in loading state_dict for StableCascadeUnet:

Open shiftbug opened this issue 1 year ago • 8 comments

RuntimeError: Error(s) in loading state_dict for StableCascadeUnet: size mismatch for embedding.1.weight: copying a param with shape torch.Size([320, 16, 1, 1]) from checkpoint, the shape in current model is torch.Size([320, 64, 1, 1]). You may consider adding ignore_mismatched_sizes=True in the model from_pretrained method.

shiftbug avatar Feb 17 '24 01:02 shiftbug

getting this as well.

dskill avatar Feb 17 '24 07:02 dskill

after looking through some other bugs, found this. It fixed it for me. The documentation on hugging face for the version to install must be newer, but broken.

pip install git+https://github.com/kashif/diffusers.git@a3dc21385b7386beb3dab3a9845962ede6765887 --force

dskill avatar Feb 17 '24 07:02 dskill

after looking through some other bugs, found this. It fixed it for me. The documentation on hugging face for the version to install must be newer, but broken.

pip install git+https://github.com/kashif/diffusers.git@a3dc21385b7386beb3dab3a9845962ede6765887 --force

Works for me. Thanks!

lhuanyu avatar Feb 17 '24 11:02 lhuanyu

after looking through some other bugs, found this. It fixed it for me. The documentation on hugging face for the version to install must be newer, but broken.

pip install git+https://github.com/kashif/diffusers.git@a3dc21385b7386beb3dab3a9845962ede6765887 --force

Works for me. Thanks!

websepia avatar Feb 19 '24 06:02 websepia

after looking through some other bugs, found this. It fixed it for me. The documentation on hugging face for the version to install must be newer, but broken.

pip install git+https://github.com/kashif/diffusers.git@a3dc21385b7386beb3dab3a9845962ede6765887 --force

Works for me, Thanks!

RuoyuFeng avatar Feb 20 '24 02:02 RuoyuFeng

after looking through some other bugs, found this. It fixed it for me. The documentation on hugging face for the version to install must be newer, but broken.

pip install git+https://github.com/kashif/diffusers.git@a3dc21385b7386beb3dab3a9845962ede6765887 --force

Works for me, Thanks. Ubuntu 20.04.6 LTS

HamaWhiteGG avatar Feb 26 '24 06:02 HamaWhiteGG

after looking through some other bugs, found this. It fixed it for me. The documentation on hugging face for the version to install must be newer, but broken.

pip install git+https://github.com/kashif/diffusers.git@a3dc21385b7386beb3dab3a9845962ede6765887 --force

I tried this method, but I couldn't download it.

wangwenqiao666 avatar Feb 28 '24 06:02 wangwenqiao666

after looking through some other bugs, found this. It fixed it for me. The documentation on hugging face for the version to install must be newer, but broken.

pip install git+https://github.com/kashif/diffusers.git@a3dc21385b7386beb3dab3a9845962ede6765887 --force

Works for me. Thanks!

coloz avatar Mar 01 '24 07:03 coloz