Skip to content

Conversation

@hlky
Copy link
Contributor

@hlky hlky commented Apr 10, 2025

What does this PR do?

Reproduction

from diffusers.models.autoencoders.vae import Decoder

decoder = Decoder(
    up_block_types=["ResnetUpsampleBlock2D"],
)

Fixes #11275

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@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.

Copy link
Member

@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

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

Not merge blocking but would be nice to have a test

@hlky hlky merged commit 6e80d24 into huggingface:main Apr 15, 2025
11 of 12 checks passed
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.

TypeError in VAE with ResnetUpsampleBlock2D: NoneType used in addition

4 participants