-
Notifications
You must be signed in to change notification settings - Fork 608
[ET-VK] Changing all conv 2d pw ints from uint16 to int since it slightly improves perf. #7566
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ion based on unique index. Pull Request resolved: #7522 This diff adds an indexing utils header file used in Vulkan backend of Executorch. The header file includes functions for converting a global index to u16 indices based on input sizes. ghstack-source-id: 260707858 @exported-using-ghexport Differential Revision: [D67821941](https://our.internmc.facebook.com/intern/diff/D67821941/)
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7566
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 1 New FailureAs of commit dacd711 with merge base c7098ca ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
trivedivivek
approved these changes
Jan 9, 2025
…ing input texel for reuse. Pull Request resolved: #7526 This diff adds batch processing in the x axis to the conv2d dw shader by reusing input texel overlapping between consecutive tiles. The changes include modifying the glsl code for the conv2d dw output tile, adding a new parameter to the yaml file, and modifying the Convolution.cpp file to use the new parameter. ghstack-source-id: 260707856 Differential Revision: [D67868671](https://our.internmc.facebook.com/intern/diff/D67868671/)
…htly improves perf. Pull Request resolved: #7545 This diff changes all integers in conv 2d pw op shader from uint16 to int in the Vulkan backend of Executorch. The change is made to improve performance since the shader does not appear to be register bound. ghstack-source-id: 260707857 Differential Revision: [D67906023](https://our.internmc.facebook.com/intern/diff/D67906023/)
789021d
to
fc2653b
Compare
e1ce954
to
4a4dab5
Compare
Merged
YIWENX14
pushed a commit
that referenced
this pull request
Jan 28, 2025
…htly improves perf. (#7566) * [ET-VK] Adding a common utility function to calculate 3d output position based on unique index. Pull Request resolved: #7522 This diff adds an indexing utils header file used in Vulkan backend of Executorch. The header file includes functions for converting a global index to u16 indices based on input sizes. ghstack-source-id: 260707858 @exported-using-ghexport Differential Revision: [D67821941](https://our.internmc.facebook.com/intern/diff/D67821941/) * [ET-VK] Adding batch processing in x axis to conv2d dw shader by caching input texel for reuse. Pull Request resolved: #7526 This diff adds batch processing in the x axis to the conv2d dw shader by reusing input texel overlapping between consecutive tiles. The changes include modifying the glsl code for the conv2d dw output tile, adding a new parameter to the yaml file, and modifying the Convolution.cpp file to use the new parameter. ghstack-source-id: 260707856 Differential Revision: [D67868671](https://our.internmc.facebook.com/intern/diff/D67868671/) * [ET-VK] Changing all conv 2d pw ints from uint16 to int since it slightly improves perf. Pull Request resolved: #7545 This diff changes all integers in conv 2d pw op shader from uint16 to int in the Vulkan backend of Executorch. The change is made to improve performance since the shader does not appear to be register bound. ghstack-source-id: 260707857 Differential Revision: [D67906023](https://our.internmc.facebook.com/intern/diff/D67906023/) --------- Co-authored-by: Vivek Trivedi <[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.
topic: not user facing
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #7545
^ 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/trivedivivek/39/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/trivedivivek/39/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/trivedivivek/38/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/trivedivivek/39/orig
@diff-train-skip-merge