Closed wpdong0727 closed 3 months ago
怀疑他们压根不检查一样
Hi, the training and inference code for version 1.2, including Lora and ControlNet, will be released soon. Currently, the v1.2 weights on Hugging Face are only for Kohya’s loading. Please primarily refer to the updates on our GitHub.
怀疑他们压根不检查一样
我也觉得
hunyuandit和hunyuandit_v1.1版本的模型extra_embedder的结构与源码是匹配的:
但是hunyuandit_v1.2版本的模型extra_embedder的结构与源码不匹配的,
extra_in_dim=1024
。 从而导致模型加载报错:Error(s) in loading state_dict for ModifiedHunYuanDiT:\n\tMissing key(s) in state_dict: "style_embedder.weight". \n\tsize mismatch for extra_embedder.0.weight: copying a param with shape torch.Size([5632, 1024]) from checkpoint, the shape in current model is torch.Size([5632, 3968]).