diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

[Tencent Hunyuan Team] Add LoRA Inference Support for Hunyuan-DiT

Open gnobitab opened this issue 8 months ago • 4 comments

Added LoRA support to HunyuanDiT pipeline. Currently can only support lora_scale=1.

You may test the PR with test_hunyuandit_lora.py. A pre-trained LoRA model is uploaded here: https://huggingface.co/XCLiu/hunyuandit-lora-test

Please change YOUR_LORA_PATH to the dir you store the downloaded lora file.

The generated image should be img_0

@yiyixuxu @sayakpaul Please have a look! thank you so much!

gnobitab avatar Jun 11 '24 04:06 gnobitab