Skip to content

[CUDA] Attention sinks in cuDNN SDPA#3118

Merged
zcbenz merged 1 commit intoml-explore:mainfrom
zcbenz:cuda-sdpa-sinks
Feb 11, 2026
Merged

[CUDA] Attention sinks in cuDNN SDPA#3118
zcbenz merged 1 commit intoml-explore:mainfrom
zcbenz:cuda-sdpa-sinks

Conversation

@zcbenz
Copy link
Copy Markdown
Collaborator

@zcbenz zcbenz commented Feb 10, 2026

cuDNN requires the sink token to be float32 and in shape (1, N_q, 1, 1), other than this it is just plain cuDNN API calls.

Copy link
Copy Markdown
Member

@awni awni left a comment

Choose a reason for hiding this comment

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

Very nice!!

@zcbenz zcbenz merged commit 72e94c8 into ml-explore:main Feb 11, 2026
16 checks passed
@zcbenz zcbenz deleted the cuda-sdpa-sinks branch February 11, 2026 07:46
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