Skip to content

Ensure custom sdpa only handles is_causal#77

Merged
guangy10 merged 1 commit into
huggingface:mainfrom
kimishpatel:fix_custom_sdpa
Jun 7, 2025
Merged

Ensure custom sdpa only handles is_causal#77
guangy10 merged 1 commit into
huggingface:mainfrom
kimishpatel:fix_custom_sdpa

Conversation

@kimishpatel

Copy link
Copy Markdown
Collaborator

Summary:
Custom sdpa when used with start_pos only works for causal attention

Test Plan:
CI

Reviewers:

Subscribers:

Tasks:

Tags:

Summary:
Custom sdpa when used with start_pos only works for causal attention

Test Plan:
CI

Reviewers:

Subscribers:

Tasks:

Tags:
@kimishpatel

Copy link
Copy Markdown
Collaborator Author

@guangy10 for review

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

@guangy10 guangy10 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good

@guangy10
guangy10 merged commit ae9da65 into huggingface:main Jun 7, 2025
105 of 107 checks passed
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