Skip to content

Fix Typos in Comments and Improve Clarity - #38793

Closed
kilavvy wants to merge 3 commits into
huggingface:mainfrom
kilavvy:main
Closed

kilavvy wants to merge 3 commits into
huggingface:mainfrom
kilavvy:main

Conversation

@kilavvy

@kilavvy kilavvy commented Jun 12, 2025

Copy link
Copy Markdown

Description:
This pull request fixes minor typos in comments across two files:

  • In modeling_swin.py, the word "disible" was corrected to "divisible" for clarity in the padding comment.
  • In pt_utils.py, the typo "lookig" was corrected to "looking" in a comment explaining iterator behavior.

These changes improve code readability and maintain documentation quality. No functional code was modified.

@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.

Thanks for fixing! Can you run make fix-copies to fix the failing CI tests?

@ArthurZucker

Copy link
Copy Markdown
Collaborator

Thanks for the PR, and sorry it didn't make it in! This branch is based on v4, and v5 is very different, so rather than rebasing we'd love to invite you to open a new PR against main using our latest tools and good practices:

Closing this one in the meantime, thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants