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

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

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.

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

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
PratikDhanave force-pushed the fix/assorted-docstring-comment-typos branch from 69230e2 to b7880d5 Compare October 30, 2026 09:42
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