Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add type hints for forward functions in Gemma2 #35034

Merged

Conversation

jla524
Copy link
Contributor

@jla524 jla524 commented Dec 1, 2024

What does this PR do?

Add type hints to functions added in #34282

Who can review?

@ArthurZucker

Copy link
Member

@Rocketknight1 Rocketknight1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and thank you for the PR!

@Rocketknight1 Rocketknight1 merged commit f41d5d8 into huggingface:main Dec 2, 2024
17 checks passed
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@jla524 jla524 deleted the feature/add_gemma2_type_hints branch December 2, 2024 22:24
BernardZach pushed a commit to BernardZach/transformers that referenced this pull request Dec 5, 2024
* feat: add gemma2 type hints

* fix: mask is optional
BernardZach pushed a commit to innovationcore/transformers that referenced this pull request Dec 6, 2024
* feat: add gemma2 type hints

* fix: mask is optional
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
  NODES
COMMUNITY 2
innovation 1
Project 5
USERS 1