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

Fix StableDiffusionInstructPix2PixPipelineSingleFileSlowTests #10557

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

hlky
Copy link
Collaborator

@hlky hlky commented Jan 13, 2025

What does this PR do?

https://github.com/huggingface/diffusers/actions/runs/12738450237/job/35500790623

We add instruct-pix2pix to DIFFUSERS_TO_LDM_DEFAULT_IMAGE_SIZE_MAP and introduce single_file_kwargs to SDSingleFileTesterMixin, this is to pass extract_ema=True to convert_ldm_unet_checkpoint and match inference results with the checkpoint at timbrooks/instruct-pix2pix which is created from extract_ema=True.

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.

@hlky hlky merged commit 50c81df into huggingface:main Jan 13, 2025
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.

3 participants