Skip to content

[StableDiffusionInpaintPipeline] fix batch_size for mask and masked latents #1279

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

Merged
merged 1 commit into from
Nov 14, 2022

Conversation

patil-suraj
Copy link
Contributor

Multiply the batch_size by num_images_per_prompt when preparing mask and masked_image.
Fixes #1274

@HuggingFaceDocBuilder
Copy link

HuggingFaceDocBuilder commented Nov 14, 2022

The documentation is not available anymore as the PR was closed or merged.

@patrickvonplaten
Copy link
Contributor

Thanks a lot for the quick fix!

@patrickvonplaten patrickvonplaten merged commit a8d0977 into main Nov 14, 2022
@patrickvonplaten patrickvonplaten deleted the fix-bs-inpaint branch November 14, 2022 21:03
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
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.

num_images_per_prompt=num_samples FAILS after latest commit in SD pipelines
3 participants