Skip to content

docs: improve docstring scheduling_lcm.py#14133

Merged
stevhliu merged 1 commit into
huggingface:mainfrom
delmalih:improve-docstring-scheduling-lcm
Jul 7, 2026
Merged

docs: improve docstring scheduling_lcm.py#14133
stevhliu merged 1 commit into
huggingface:mainfrom
delmalih:improve-docstring-scheduling-lcm

Conversation

@delmalih

@delmalih delmalih commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR improves the docstrings and type hints in src/diffusers/schedulers/scheduling_lcm.py to follow the project conventions as described in #9567.
Fixes #9567

Context

This is part of a broader effort to improve documentation across all scheduler files in src/diffusers/schedulers/. See issue #9567 for details.

Testing

  • Code passes make style
  • Code passes make quality
  • Code passes make fix-copies
  • Existing tests still pass

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)?
  • Was this discussed/approved via a GitHub issue or the forum? issue.
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests? (N/A - documentation only changes)

Who can review?

cc @stevhliu for review

@github-actions github-actions Bot added schedulers size/M PR with diff < 200 LOC labels Jul 7, 2026
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Hi @delmalih, thanks for the PR! It does not appear to link an issue it fixes. If this PR addresses an existing issue, please add a closing keyword (e.g. Fixes #1234) to the PR description so the issue is linked. See the contribution guide for more details. If this PR intentionally does not fix a tracked issue, a maintainer can add the no-issue-needed label to silence this reminder.

@stevhliu stevhliu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

@stevhliu stevhliu merged commit 570b6a7 into huggingface:main Jul 7, 2026
15 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

schedulers size/M PR with diff < 200 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[community] Improving docstrings and type hints

3 participants