Skip to content
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

Merged
merged 17 commits into from
Feb 24, 2024
Merged

Add Wuerstchen Model #12

merged 17 commits into from
Feb 24, 2024

Conversation

sunshizhuo
Copy link
Contributor

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.

@vinesmsuic
Copy link
Member

#1

@vinesmsuic vinesmsuic self-assigned this Feb 11, 2024
torch_dtype=dtype,
low_cpu_mem_usage=True).to(device)

def infer_one_image(self, caption, negative_caption, seed=42, height=1024, width=1024):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename the signature

Comment on lines 2 to 3
from diffusers import WuerstchenPriorPipeline, WuerstchenDecoderPipeline
from diffusers.pipelines.wuerstchen import DEFAULT_STAGE_C_TIMESTEPS
Copy link
Member

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

Copy link
Member

@vinesmsuic vinesmsuic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vinesmsuic vinesmsuic merged commit 41fcc4a into TIGER-AI-Lab:main Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants