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

restore SDPA in gpt neo after 4.45 #1092

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

eaidova
Copy link
Collaborator

@eaidova eaidova commented Dec 23, 2024

What does this PR do?

bettertransformers is not compatible with gpt-neo starting 4.45, but transformers only provide eager and flash_attn attention implementations, this PR adds sdpa for gpt_neo

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

@eaidova eaidova added the openvino-test Trigger OpenVINO slow tests label Dec 23, 2024
@AlexKoff88
Copy link
Collaborator

I am ok with the changes but I am thinking that next time we can just drop the support of this model as it is the legacy one.

@eaidova
Copy link
Collaborator Author

eaidova commented Dec 25, 2024

failed tests are not related to changes, it is issue with nonbackward compatible changes in openvino (should be passed in next nightly)

@eaidova
Copy link
Collaborator Author

eaidova commented Dec 26, 2024

diffusers tests fixes are covered by #1094

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openvino-test Trigger OpenVINO slow tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants