-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add Wuerstchen Model #12
Conversation
torch_dtype=dtype, | ||
low_cpu_mem_usage=True).to(device) | ||
|
||
def infer_one_image(self, caption, negative_caption, seed=42, height=1024, width=1024): |
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.
Please rename the signature
from diffusers import WuerstchenPriorPipeline, WuerstchenDecoderPipeline | ||
from diffusers.pipelines.wuerstchen import DEFAULT_STAGE_C_TIMESTEPS |
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.
you can move these import to the object init function
take this as a reference: https://github.com/TIGER-AI-Lab/ImagenHub/pull/7/files
Modifying Import
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.
LGTM
What does this PR do?
Please describe the motivation of this PR and the goal you want to achieve through this PR.
Modification
Please briefly describe what modification is made in this PR.