Fix typos in strings and comments#11407
Merged
yiyixuxu merged 2 commits intohuggingface:mainfrom Apr 24, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR fixes several typos in strings and comments across multiple files to improve clarity and maintain consistency. Key changes include corrections to misspelled words such as “adresses” → “addresses”, “relase” → “release”, “devide” → “divided”, and other minor spelling issues in documentation and source code comments.
Reviewed Changes
Copilot reviewed 43 out of 43 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/diffusers/pipelines/allegro/pipeline_allegro.py | Fixed typo “ip adresses:” → “ip addresses:” in comment. |
| src/diffusers/models/upsampling.py | Corrected “paper relase” → “paper release” in comment. |
| src/diffusers/models/downsampling.py | Corrected “paper relase” → “paper release” in comment. |
| examples/consistency_distillation/train_lcm_distill_sdxl_wds.py | Corrected “devide” → “divided” in a comment. |
| examples/consistency_distillation/train_lcm_distill_sd_wds.py | Corrected “devide” → “divided” in a comment. |
| examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py | Corrected “devide” → “divided” in a comment. |
| examples/consistency_distillation/train_lcm_distill_lora_sdxl.py | Corrected “devide” → “divided” in a comment. |
| examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py | Corrected “devide” → “divided” in a comment. |
| examples/community/hd_painter.py | Fixed typo “untill” → “until” in a comment. |
| examples/community/fresco_v2v.py | Fixed “containin” → “containing” and “diable” → “disable” in comments related to attention. |
| examples/community/dps_pipeline.py | Fixed multiple typos: “simulatneously” → “simultaneously”, “perserving” → “preserving”, “necesary” → “necessarily”, “deivation” → “deviation”, and “boths sides” → “both sides”. |
| examples/community/README.md | Changed “aditional” → “additional” in a comment. |
| docs/source/en/training/t2i_adapters.md | Corrected “incudes” → “includes” in a comment. |
| docs/source/en/training/dreambooth.md | Fixed typo “wiht” → “with” in a comment. |
| docs/source/en/api/pipelines/wan.md | Corrected “addtional” → “additional” in a comment. |
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Fix typos in strings and comments, found by codespell.
Fixes # (issue)
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.