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

[ET-VK] Implement generic reduction shader + mean, sum, amax, amin #6473

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

pytorchbot
Copy link
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #6457
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/SS-JIA/127/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/SS-JIA/127/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/SS-JIA/126/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/SS-JIA/127/orig
@diff-train-skip-merge

Pull Request resolved: #6456

TSIA. This op is used in Llama model architecture.
ghstack-source-id: 249709740
@exported-using-ghexport

Differential Revision: [D64840505](https://our.internmc.facebook.com/intern/diff/D64840505/)
Pull Request resolved: #6457

## Context

Introduce a generic shader to compute reduction along a single dim, and `keepdim = True`. With the generic shader template, `mean`, `sum`, `amin`, and `amax` can be implemented.
ghstack-source-id: 249709743
@exported-using-ghexport

Differential Revision: [D64840504](https://our.internmc.facebook.com/intern/diff/D64840504/)
Copy link

pytorch-bot bot commented Oct 23, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/6473

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit d76a506 with merge base 169ddbf (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 23, 2024
Base automatically changed from gh/SS-JIA/126/orig to main October 24, 2024 02:23
@kirklandsign kirklandsign merged commit 8140a90 into main Oct 24, 2024
44 checks passed
@kirklandsign kirklandsign deleted the gh/SS-JIA/127/orig branch October 24, 2024 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants