CLIPVisionLoader - Error

#1
by Elbatl - opened

ComfyUI Error Report

Error Details

  • Node ID: 38
  • Node Type: CLIPVisionLoader
  • Exception Type: RuntimeError
  • Exception Message: Error(s) in loading state_dict for CLIPVisionModelProjection:
    size mismatch for vision_model.embeddings.patch_embedding.weight: copying a param with shape torch.Size([1152, 3, 14, 14]) from checkpoint, the shape in current model is torch.Size([1024, 3, 14, 14]).
    size mismatch for vision_model.embeddings.position_embedding.weight: copying a param with shape torch.Size([729, 1152]) from checkpoint, the shape in current model is torch.Size([257, 1024]).
    size mismatch for vision_model.encoder.layers.0.layer_norm1.weight: copying a param with shape torch.Size([1152]) from checkpoint, the shape in current model is torch.Size([1024]).
    size mismatch for vision_model.encoder.layers.0.layer_norm1.bias: copying a param with shape torch.Size([1152]) from checkpoint, the shape in current model is torch.Size([1024]).
    ....

same result

same result + 1

update all is OK! cool model!!!

update all is OK! cool model!!!

Had the same error, updating comfyui did the trick.
ComfyUI: 28118afb97
Manager: V2.51.9

update all is OK! cool model!!!

Had the same error, updating comfyui did the trick.
ComfyUI: 28118afb97
Manager: V2.51.9

Yesss Update sovled it! Thank you!!!!

update solved issue

Udate solved but broke pulid on another workflow. I am trying to use reflux and pulid

I updated, but same error.

ComfyUI Error Report

Error Details

  • Node Type: CLIPVisionLoader
  • Exception Type: RuntimeError
  • Exception Message: Error(s) in loading state_dict for CLIPVisionModelProjection:
    size mismatch for vision_model.embeddings.patch_embedding.weight: copying a param with shape torch.Size([1152, 3, 14, 14]) from checkpoint, the shape in current model is torch.Size([1024, 3, 14, 14]).
    size mismatch for vision_model.embeddings.position_embedding.weight: copying a param with shape torch.Size([729, 1152]) from checkpoint, the shape in current model is torch.Size([257, 1024]).
    size mismatch for vision_model.encoder.layers.0.layer_norm1.weight: copying a param with shape torch.Size([1152]) from checkpoint, the shape in current model is torch.Size([1024]).
    ........

same here

same , how to fix it in linux ?

same here

same here

Despite all updates, the error remains unresolved.

Updating ComfyUI didn't solve the problem, please help.

same error after update

same error , updating comfyui didn't work,how to solve if????

yesyes!!!!! update is ok!!

update all is OK! cool model!!!

Had the same error, updating comfyui did the trick.
ComfyUI: 28118afb97
Manager: V2.51.9

How do i do this... pl help. not a coder.
Getting extremely confused.
Trying to do this on terminal in mac.
Using a specific version of comfyui that runs only on a cpu..
https://github.com/ArdeniusAI/ComfyUI-cpu
Thank you

Sign up or log in to comment