Skip to content

Fix assorted docstring/comment typos across the codebase - #763

Open
PratikDhanave wants to merge 1 commit into
google-deepmind:mainfrom
PratikDhanaveFork:fix/assorted-docstring-comment-typos
Open

Fix assorted docstring/comment typos across the codebase#763
PratikDhanave wants to merge 1 commit into
google-deepmind:mainfrom
PratikDhanaveFork:fix/assorted-docstring-comment-typos

Conversation

@PratikDhanave

Copy link
Copy Markdown

Consolidates several small spelling/typo fixes into a single PR (docstrings and comments only — no code or behavior change).

File(s) Fix
peft/_einsum_utils.py reqrites a einsumrewrites an einsum; This assume there's no elipsisThis assumes there's no ellipsis
gm/utils/_cache_helper.py Rational:Rationale:
gm/text/_turn_utils.py predicatedpredicted
gm/text/_tokenizer.py a undescorean underscore
gm/vision/_token_utils.py argimentsarguments
peft/_quantization_utils.py thsthis; INT$INT4/INT8; checkpoitnscheckpoints; isnteadinstead
gm/data/{_transforms,_tasks,_functional}.py OuptutOutput
gm/nn/{_transformer, gemma4/_transformer, gemma3n/_transformer}.py specifiyspecify

Note for maintainers: this supersedes the individually-filed typo PRs #748, #749, #750, #751, #752, #757, #758, #759, which I'm closing in favor of this single bundle.

Spelling/typo fixes only (no code or behavior change):

- peft/_einsum_utils.py: "reqrites a einsum" -> "rewrites an einsum";
  "This assume there's no elipsis" -> "This assumes there's no ellipsis"
- gm/utils/_cache_helper.py: "Rational:" -> "Rationale:"
- gm/text/_turn_utils.py: "predicated" -> "predicted"
- gm/text/_tokenizer.py: "a undescore" -> "an underscore"
- gm/vision/_token_utils.py: "argiments" -> "arguments"
- peft/_quantization_utils.py: "ths" -> "this"; "INT$" -> "INT4/INT8";
  "checkpoitns" -> "checkpoints"; "isntead" -> "instead"
- gm/data/{_transforms,_tasks,_functional}.py: "Ouptut" -> "Output"
- gm/nn/{_transformer,gemma4/_transformer,gemma3n/_transformer}.py:
  "specifiy" -> "specify"
@PratikDhanave

Copy link
Copy Markdown
Author

Friendly ping — low-risk docs-only change (assorted docstring/comment typos across the codebase), CI green. Ready for review whenever a maintainer has a moment. Thanks!

@AAmbuj

AAmbuj commented Aug 21, 2026

Copy link
Copy Markdown

May I know why your PR is not merging? @PratikDhanave what challenges you are facing to merge this PR into main?

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.

2 participants