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

Fix compatibility with transformers < v4.39.0 release #754

Merged
merged 11 commits into from
Jun 7, 2024
Merged

Conversation

echarlaix
Copy link
Collaborator

@echarlaix echarlaix commented Jun 7, 2024

  • StaticCache was introduced in transformers v4.38.0
  • _prepare_generation_config was introduced in transformers v4.39.0
  • Fix MixtralModelPatcher for transformers < v4.37.0

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

@echarlaix echarlaix marked this pull request as ready for review June 7, 2024 13:21
@echarlaix
Copy link
Collaborator Author

@eaidova let me know if that works for you

@echarlaix echarlaix changed the title Fix compatibility with transformers < v4.38.0 release Fix compatibility with transformers < v4.39.0 release Jun 7, 2024
@echarlaix echarlaix merged commit ca2b1fa into main Jun 7, 2024
13 of 17 checks passed
@echarlaix echarlaix deleted the fix-trfs branch June 7, 2024 18:51
echarlaix added a commit that referenced this pull request Jun 7, 2024
* fix compatibility with transformers < v4.38.0

* add minimum supported transformers version in test

* update setup

* model id fixes

* fix model id

* fix mixtral patcher
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