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

[HybridCache] Fix get_seq_length method #31661

Merged
merged 2 commits into from
Jun 27, 2024

Conversation

sanchit-gandhi
Copy link
Contributor

@sanchit-gandhi sanchit-gandhi commented Jun 27, 2024

What does this PR do?

Fixes #31664

Copy link
Collaborator

@amyeroberts amyeroberts left a comment

Choose a reason for hiding this comment

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

Thanks for fixing!

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

@LysandreJik
Copy link
Member

Failures seem unrelated; I'll merge it and do a patch release

@LysandreJik LysandreJik merged commit 1c68f2c into huggingface:main Jun 27, 2024
17 of 21 checks passed
LysandreJik pushed a commit that referenced this pull request Jun 27, 2024
* fix gemma2

* handle in generate
@LysandreJik
Copy link
Member

Patch is up on pypi! Thanks both for the quick PR and review :)

xianbaoqian added a commit to huggingface/blog that referenced this pull request Jun 28, 2024
Update the transformers version to fix Gemma support issue.

Context: huggingface/transformers#31661
philschmid pushed a commit to huggingface/blog that referenced this pull request Jun 28, 2024
* Update gemma2.md

Update the transformers version to fix Gemma support issue.

Context: huggingface/transformers#31661

* Update gemma2.md
@sanchit-gandhi
Copy link
Contributor Author

Thanks @LysandreJik for the speedy patch!

@sanchit-gandhi sanchit-gandhi deleted the gemma-2-path branch June 28, 2024 08:41
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.

Generation with HybridCache fails (affecting Gemma-2)
4 participants