HunyuanDiT icon indicating copy to clipboard operation
HunyuanDiT copied to clipboard

Any way to apply Lora result of training script to Diffusers model?

Open congdm opened this issue 8 months ago • 1 comments

Hi, at the moment I noticed that the transformer model in huggingface-cli Tencent-Hunyuan/HunyuanDiT has different structure than the transformer model in Diffusers pipeline. This makes me cannot apply lora such as links to Diffusers pipeline.

For example, the transformer in Tencent-Hunyuan/HunyuanDiT has fused qkv layer while the one in diffusers is unfused. They also different modules naming too. In long run, having to train lora separately for both types of transformer is very impractical.

congdm avatar Jun 16 '24 22:06 congdm