Skip to content

Fix stale method reference in nn comments (_include_vision_embeddings -> _merge_mm_embeddings) - #755

Open
PratikDhanave wants to merge 1 commit into
google-deepmind:mainfrom
PratikDhanaveFork:fix/nn-stale-merge-mm-embeddings-comment-ref
Open

Fix stale method reference in nn comments (_include_vision_embeddings -> _merge_mm_embeddings)#755
PratikDhanave wants to merge 1 commit into
google-deepmind:mainfrom
PratikDhanaveFork:fix/nn-stale-merge-mm-embeddings-comment-ref

Conversation

@PratikDhanave

Copy link
Copy Markdown

Comments in gemma/gm/nn/_modules.py and gemma/gm/nn/gemma3n/_modules.py refer to Transformer._include_vision_embeddings, but no such method exists. The actual method is _merge_mm_embeddings (_transformer.py:390, gemma3n/_transformer.py:444); the sibling comment in gemma4/_modules.py already uses the correct name. Update the two stale references. Comment only; no behavior change.

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