ali-vilab / Ranni

https://ranni-t2i.github.io/Ranni/
Apache License 2.0
207 stars 15 forks source link

demo error #11

Open wly-ai-bj opened 5 months ago

wly-ai-bj commented 5 months ago

size mismatch for base_model.model.model.layers.31.self_attn.q_proj.lora_B.default.weight: copying a param with shape torch.Size([4096, 64]) from checkpoint, the shape in current model is torch.Size([5120, 64]).

I met error like this, how do I solve it ?

thss15fyt commented 5 months ago

It seems the LLaMa model you initilized is not the same version as used in this repository.