Skip to content

fix: typos and stale TODO in _einsum_utils.py#593

Open
stanley1208 wants to merge 1 commit intogoogle-deepmind:mainfrom
stanley1208:fix/einsum-utils-typos
Open

fix: typos and stale TODO in _einsum_utils.py#593
stanley1208 wants to merge 1 commit intogoogle-deepmind:mainfrom
stanley1208:fix/einsum-utils-typos

Conversation

@stanley1208
Copy link

Summary

Fix typos and remove a stale TODO in gemma/peft/_einsum_utils.py.

Changes

  • "reqrites a einsum""rewrites an einsum" (line 31)
  • "This assume there's no elipsis""This assumes there's no ellipsis" (line 69)
  • Removed TODO(epot): Check length_check_len2 already validates the split results

Test plan

  • _einsum_utils_test.py passes
  • No functional changes, documentation/comments only

Fix 'reqrites' -> 'rewrites', 'a einsum' -> 'an einsum', 'elipsis' -> 'ellipsis', 'This assume' -> 'This assumes'. Remove stale TODO about length checking (_check_len2 already handles it).
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.

1 participant