Open congdm opened 3 weeks ago
valid, I'll look into adding support soon. please provide links to loras to test with for both models - without lora to test, i cannot just "release the code".
PixArt-alpha: https://huggingface.co/jasperai/flash-pixart Hunyuan: https://huggingface.co/Tencent-Hunyuan/HYDiT-LoRA (not for diffusers)
The Hunyuan official lora examples are actually for their ckpt model (its has different modules' names from the one in diffusers pipeline). Therefore, I have done my own lora training on diffusers model (attached file Test.zip )
I think there should be checking of base model class (in adapter_config.json), so users wouldn't load wrong lora by mistake.
Feature description
Hi! Both https://github.com/Tencent/HunyuanDiT and https://github.com/PixArt-alpha/PixArt-sigma have their training code released. I think in the future there will be many new promising models, so it would be nice to support Lora for them.
Both HunyuanDiT and PixArt-sigma Lora are applied to the transformer:
Version Platform Description
No response