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

Update docs for sdpa_kernel #35410

Merged
merged 2 commits into from
Dec 30, 2024
Merged

Conversation

jla524
Copy link
Contributor

@jla524 jla524 commented Dec 24, 2024

What does this PR do?

Addresses #34411 (issue)

Replace torch.backends.cuda.sdp_kernel (deprecated) with torch.nn.attention.sdpa_kernel

Who can review?

@stevhliu

Copy link
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

Thanks for updating!

@stevhliu stevhliu merged commit b5f9797 into huggingface:main Dec 30, 2024
8 checks passed
@jla524 jla524 deleted the docs/update_sdpa_attn branch December 30, 2024 20:17
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.

2 participants