What does HiDiffusion do
Stable Diffusion can generate from 512x512 to 1024x1024 resolution images. When generating higher-resolution images(2048x2048 or 4096x4096 resolution) , it exhibits unreasonable object duplication and the efficiency is low.
HiDiffusion can solve this problem and increases the resolution and speed of diffusion models in a training-free way. It also surpass other higher-resolution methods.
Besides, HiDiffusion also supports controlnet and other tasks.
2048x2048 resolution images comparison
Describe the Integration
We want HiDiffusion to be integrated into the official code and documentation so that more people can access this feature.
HiDiffusion code is based on diffusers. It can be integrated into diffusers pipelines by only adding a single line of code!
pip3 install hidiffusion
and use it by adding a single line of code
apply_hidiffusion(pipeline)