Skip to content

Enable transformers v4.47 support#2119

Merged
echarlaix merged 6 commits into
mainfrom
transformers-v447
Dec 12, 2024
Merged

Enable transformers v4.47 support#2119
echarlaix merged 6 commits into
mainfrom
transformers-v447

Conversation

@echarlaix
Copy link
Copy Markdown
Collaborator

No description provided.

if is_torch_available():
import torch
from transformers.models.deberta import modeling_deberta
from transformers.models.sew_d import modeling_sew_d
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

StableDropout was removed from modeling_deberta in huggingface/transformers#22105

@echarlaix echarlaix marked this pull request as ready for review December 10, 2024 16:08
@echarlaix
Copy link
Copy Markdown
Collaborator Author

Tests failing coming from mps not supported by arm64 macOS runners https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#limitations-for-arm64-macos-runners and from mps being now set default when device not specified and mps backend available since transformers v4.47 and huggingface/transformers#34026. Issue not related to optimum so merging to not block transformers v4.47 support

@echarlaix echarlaix changed the title Add transformers v4.7 support Enable transformers v4.47 support Dec 12, 2024
@echarlaix echarlaix merged commit 12b3b35 into main Dec 12, 2024
@echarlaix echarlaix deleted the transformers-v447 branch December 12, 2024 12:35
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.

1 participant