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 sentence transformers modeling patching for export #1936

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

echarlaix
Copy link
Collaborator

_update_causal_mask was introduced in v4.42.0 (huggingface/transformers#30642)

@echarlaix
Copy link
Collaborator Author

@fxmarty I'll do a patch release to include #1936 to fix compatibility with transformers < v4.42.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.

@fxmarty
Copy link
Contributor

fxmarty commented Jul 2, 2024

Thank you, this mistake was not catched in the CI as transformers 4.42 is now used...

@echarlaix echarlaix merged commit ae591be into main Jul 2, 2024
47 of 48 checks passed
@echarlaix echarlaix deleted the fix-sentence-trfs branch July 2, 2024 12:02
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.

4 participants