KEMBAR78
Minor modification to support DC-AE-turbo by chenjy2003 · Pull Request #12169 · huggingface/diffusers · GitHub
Skip to content

Conversation

@chenjy2003
Copy link
Contributor

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 as dc-ae-f32c32-sana-1.0 and a lightweight decoder to accelerate decoding.

Could you please have a look? Thanks! @sayakpaul @yiyixuxu
Cc: @lawrence-cj

@sayakpaul sayakpaul requested a review from a-r-r-o-w August 18, 2025 02:44
Copy link
Contributor

@a-r-r-o-w a-r-r-o-w left a comment

Choose a reason for hiding this comment

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

Thanks @chenjy2003!

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,
Copy link
Contributor

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

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,
Copy link
Contributor

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

@HuggingFaceDocBuilderDev

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.

@a-r-r-o-w
Copy link
Contributor

Failing tests are unrelated

@a-r-r-o-w a-r-r-o-w merged commit 85cbe58 into huggingface:main Aug 18, 2025
10 of 11 checks passed
@chenjy2003
Copy link
Contributor Author

@a-r-r-o-w Thanks so much for your support!

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.

4 participants