Skip to content

Fix sentence transformers modeling patching for export - #1936

Merged
echarlaix merged 1 commit into
mainfrom
fix-sentence-trfs
Jul 2, 2024
Merged

echarlaix merged 1 commit into
mainfrom
fix-sentence-trfs

Conversation

@echarlaix

Copy link
Copy Markdown
Collaborator

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

@echarlaix

Copy link
Copy Markdown
Collaborator Author

@fxmarty I'll do a patch release to include #1936 to fix compatibility with transformers < v4.42.0

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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

fxmarty commented Jul 2, 2024

Copy link
Copy Markdown
Contributor

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