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 #6457

Merged
merged 4 commits into from
Oct 23, 2024

Conversation

SS-JIA
Copy link
Contributor

@SS-JIA SS-JIA commented Oct 23, 2024

Stack from ghstack (oldest at bottom):

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.

Differential Revision: D64840504

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

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

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Oct 23, 2024

🔗 Helpful Links

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

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 b0552f6 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
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64840504

SS-JIA added a commit that referenced this pull request Oct 23, 2024
## 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.

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

ghstack-source-id: 249629739
Pull Request resolved: #6457
…ax, amin"

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

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

[ghstack-poisoned]
SS-JIA added a commit that referenced this pull request Oct 23, 2024
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: 249648443
@exported-using-ghexport

Differential Revision: [D64840504](https://our.internmc.facebook.com/intern/diff/D64840504/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64840504

…ax, amin"

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

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

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64840504

SS-JIA added a commit that referenced this pull request Oct 23, 2024
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: 249659867
@exported-using-ghexport

Differential Revision: [D64840504](https://our.internmc.facebook.com/intern/diff/D64840504/)
…ax, amin"

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

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

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64840504

SS-JIA added a commit that referenced this pull request Oct 23, 2024
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/)
@facebook-github-bot facebook-github-bot merged commit f26a66e into gh/SS-JIA/127/base Oct 23, 2024
43 of 46 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/SS-JIA/127/head branch October 23, 2024 23:03
kirklandsign pushed a commit that referenced this pull request Oct 24, 2024
…6473)


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/)

---------

Co-authored-by: Stephen Jia <[email protected]>
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. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants