megvii-research / HiDiffusion

[ECCV 2024] HiDiffusion: Increases the resolution and speed of your diffusion model by only adding a single line of code!
Apache License 2.0
748 stars 42 forks source link

sdxl version doesn't work on non-square image #21

Open xiao2mo opened 4 months ago

ShenZhang-Shin commented 4 months ago

Man, Can you provide your resolution ? I will reproduce and fix it

self-destruction commented 4 months ago

@xiao2mo I've faced the same problem. I am using https://huggingface.co/RunDiffusion/Juggernaut-XL-v9 model on the recommended resolution of 1216x832. But it works only for square resolution. Thank you for your work!

ShenZhang-Shin commented 3 months ago

Now HiDiffusion supports it. Please update HiDiffusion to the latest version

pip3 install hidiffusion -U

Here is an example of 2432x1664 resolution (2x height and width of 1216x832) img1