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

[WIP] Support fused masking in Attention #1924

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

[WIP] Support fused masking in Attention #1924

wants to merge 5 commits into from

Conversation

jagrit06
Copy link
Member

@jagrit06 jagrit06 commented Mar 4, 2025

Proposed changes

  • Add support for fused additive, boolean, causal masks
  • Update fast::scaled_dot_product_attention to take variant for mask
  • Add tests for masking

Checklist

Put an x in the boxes that apply.

  • I have read the CONTRIBUTING document
  • I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the necessary documentation (if needed)

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