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

Add aten::_masked_softmax and its variants #930

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

Conversation

xytintel
Copy link
Contributor

@xytintel xytintel commented Sep 25, 2024

  • _masked_softmax
  • _masked_softmax_backward

@xytintel
Copy link
Contributor Author

image
image

@xytintel xytintel added the operator_ready dev status: operator ready label Sep 25, 2024
@xytintel xytintel added this to the PT2.6 milestone Sep 25, 2024
@xytintel xytintel marked this pull request as draft September 30, 2024 05:17
@xytintel xytintel removed the operator_ready dev status: operator ready label Oct 11, 2024
@xytintel xytintel marked this pull request as ready for review October 16, 2024 03:01
@xytintel
Copy link
Contributor Author

image
image

input_calc); \
}

int max_group_size = 512;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we have a comment here, if hard code 512. BTW, Can we query it from sycl api

input_calc); \
}

int max_group_size = 512;
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

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