-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Add ChromaInpaintPipeline
#12848
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
base: main
Are you sure you want to change the base?
Add ChromaInpaintPipeline
#12848
Conversation
e2c7fb5 to
1e3a4c3
Compare
1e3a4c3 to
07b42b7
Compare
|
cc @DN6 A review would be appreciated. |
|
bump cc @yiyixuxu |
|
@bot /style |
|
Style fix runs successfully without any file modified. |
|
can you share code example + output? |
|
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. |
DN6
left a comment
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.
@hameerabbasi Could you share a couple of example outputs please?
| # pixi environments | ||
| .pixi/* | ||
| !.pixi/config.toml | ||
| pixi.toml |
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.
? Might be accidentally committed from local env?
|
|
||
| # Extend the prompt attention mask to account for image tokens in the final sequence | ||
| attention_mask = torch.cat( | ||
| [attention_mask, torch.ones(batch_size, sequence_length, device=attention_mask.device)], |
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.
The T2I and I2I pipelines set the mask to bool dtype
| [attention_mask, torch.ones(batch_size, sequence_length, device=attention_mask.device, dtype=torch.bool)], |
What does this PR do?
Adds a
ChromaInpaintPipelineFixes #12572
Before submitting
documentation guidelines, and
here are tips on formatting docstrings.
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.
cc @yiyixuxu and @asomoza