diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

Fix Copying Mechanism typo/bug

Open tolgacangoz opened this issue 1 year ago • 0 comments

What does this PR do?

"# copied from ..."s don't trigger the Copying Mechanism; thus they are capitalized. Also, decorators need to be at the top of "# Copied from ..."s.

The _convert_to_karras function in scheduling_dpmsolver_sde.py and scheduling_lms_discrete.py also has this typo (?). But, it is included in a TODO task in the comments where they copied from, thus leaving them as are.

Before submitting

  • [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • [x] Did you read the contributor guideline?
  • [x] Did you read our philosophy doc (important for complex PRs)?
  • [ ] 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?

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. @sayakpaul @yiyixuxu @DN6

tolgacangoz avatar May 22 '24 16:05 tolgacangoz