ToTheBeginning / PuLID

[NeurIPS 2024] Official code for PuLID: Pure and Lightning ID Customization via Contrastive Alignment
Apache License 2.0
2.72k stars 189 forks source link

expected mat1 and mat2 to have the same dtype, but got: float!= c10::Half #162

Open mmlingyu opened 2 weeks ago

mmlingyu commented 2 weeks ago

when load loraweight ,eror with: expected mat1 and mat2 to have the same dtype, but got: float!= c10::Half

18445864529 commented 1 week ago

maybe you should learn to debug and read the error message before posting whatever error to issues. there is obviously a dtype mismatch. try converting your input data to fp16