diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

[SDXL] Update ControlNet training example to zero out embeds for empty captions

Open bghira opened this issue 9 months ago • 2 comments

What does this PR do?

Fixes #7920

Before submitting

  • [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • [ ] Did you read the contributor guideline?
  • [ ] Did you read our philosophy doc (important for complex PRs)?
  • [x] Was this discussed/approved via a GitHub issue or the forum? Please add a link to it if that's the case.
  • [ ] Did you make sure to update the documentation with your changes? Here are the documentation guidelines, and here are tips on formatting docstrings.
  • [ ] Did you write any new necessary tests?

Who can review?

@sayakpaul @yiyixuxu @linoytsaban

bghira avatar May 18 '24 17:05 bghira

This only becomes effective, though when you enable proportion_empty_prompt which I agree is important for ControlNet training.

sayakpaul avatar May 19 '24 03:05 sayakpaul

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.