Tencent / HunyuanDiT

Hunyuan-DiT : A Powerful Multi-Resolution Diffusion Transformer with Fine-Grained Chinese Understanding
https://dit.hunyuan.tencent.com/
Other
2.59k stars 180 forks source link

Errors when generating non-square size #100

Open jasd3199 opened 1 week ago

jasd3199 commented 1 week ago

When I change the desired size to any different to width=height, the generation fails.

This is an example (1280x720): hunyuan_00034_

zml-ai commented 1 week ago

Hi, could you provide the inference script and model type?

More information would help us quickly pinpoint the issue.

jasd3199 commented 1 week ago

Yes, I'm using ComfyUI for the inference with one of the example workflows that the repo provides (hunyuan_ksampler_api.json), only changing the desired size and prompts.

The model that I loaded was in: https://huggingface.co/Tencent-Hunyuan/HunyuanDiT/blob/main/t2i/model/pytorch_model_ema.pt

I had this problem using the initial version and the last version V1.1

xuhuaren commented 5 days ago

we will fix it and release code around 6.30.