-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Minor modification to support DC-AE-turbo #12169
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
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.
Thanks @chenjy2003!
@@ -441,6 +448,9 @@ def __init__( | |||
downsample_block_type: str = "pixel_unshuffle", | |||
decoder_norm_types: Union[str, Tuple[str]] = "rms_norm", | |||
decoder_act_fns: Union[str, Tuple[str]] = "silu", | |||
encoder_out_shortcut: bool = True, |
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.
Just noting for other reviewers - this change looks safe because previous out_shortcut default was True as well in the encoder
@@ -441,6 +448,9 @@ def __init__( | |||
downsample_block_type: str = "pixel_unshuffle", | |||
decoder_norm_types: Union[str, Tuple[str]] = "rms_norm", | |||
decoder_act_fns: Union[str, Tuple[str]] = "silu", | |||
encoder_out_shortcut: bool = True, | |||
decoder_in_shortcut: bool = True, |
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 change is safe because previous in_shortcut default was True in decoder
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Failing tests are unrelated |
@a-r-r-o-w Thanks so much for your support! |
What does this PR do?
This PR will add minor modification to support DC-AE-turbo into the diffusers lib.
dc-ae-turbo-f32c32-sana-1.1
has the same encoder asdc-ae-f32c32-sana-1.0
and a lightweight decoder to accelerate decoding.Could you please have a look? Thanks! @sayakpaul @yiyixuxu
Cc: @lawrence-cj