Skip to content

Add compatibility with transformers 4.52#2270

Merged
echarlaix merged 48 commits into
mainfrom
transformers4.52
May 27, 2025
Merged

Add compatibility with transformers 4.52#2270
echarlaix merged 48 commits into
mainfrom
transformers4.52

Conversation

@echarlaix
Copy link
Copy Markdown
Collaborator

No description provided.

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

@echarlaix echarlaix marked this pull request as ready for review May 26, 2025 13:04
@echarlaix echarlaix changed the title compatibility with transformers 4.52 Add compatibility with transformers 4.52 May 26, 2025
Comment thread optimum/pipelines/pipelines_base.py Outdated
Comment thread tests/onnxruntime/test_modeling.py Outdated
Copy link
Copy Markdown
Member

@IlyasMoutawwakil IlyasMoutawwakil left a comment

Choose a reason for hiding this comment

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

Thanks Ella, looks good !
it seems the tests are still not passing with onnxruntime

@echarlaix
Copy link
Copy Markdown
Collaborator Author

thanks for the review @IlyasMoutawwakil ! the loading of encoder-decoder models should now be fixed since 350c8f9

@echarlaix echarlaix merged commit da5200b into main May 27, 2025
33 checks passed
@echarlaix echarlaix deleted the transformers4.52 branch May 27, 2025 14:42
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