-
Notifications
You must be signed in to change notification settings - Fork 6.1k
[Community Pipeline] DemoFusion: Democratising High-Resolution Image Generation With No $$$ #6022
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
|
||
image_grid(images, save_path="./outputs/") | ||
``` | ||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one looks so good!
Let's make sure the code quality test passes. You can run |
Let me know once the PR is ready for another review. |
Very cool! |
Co-authored-by: Sayak Paul <[email protected]>
Hi @sayakpaul, thanks for your help! I have passed the quality test. Can you give another review when you have time. |
Awesome work and implementation. Kudos! |
…Generation With No $$$ (huggingface#6022) * Add files via upload * Update README.md * Update pipeline_demofusion_sdxl.py * Update pipeline_demofusion_sdxl.py * Update examples/community/README.md Co-authored-by: Sayak Paul <[email protected]> --------- Co-authored-by: Sayak Paul <[email protected]>
What does this PR do?
This PR is the official implementation of DemoFusion -- a tuning-free high-resolution generation framework that enables users to generate 2K, 3K, and even 4K images with the official SDXL model.
DemoFusion works in a progressive manner. The user only needs to enter the desired image size as if using the SDXL pipeline, and a series of generated results can be obtained -- from SDXL's original resolution to the target resolution.
The process doesn't require a lot of memory -- a RTX 3090 GPU is more than enough to handle images at 4k or higher resolutions. But it will take longer inference time.
Before submitting
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
@sayakpaul @yiyixuxu @pcuenca