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] Using shared memory to save position in conv2d dw output op. #7923

Merged
merged 8 commits into from
Jan 28, 2025

Conversation

trivedivivek
Copy link
Contributor

@trivedivivek trivedivivek commented Jan 24, 2025

Stack from ghstack (oldest at bottom):

This diff introduces a change to conv2d dw op to save output positions in shared memory, which reduces register usage and improves performance.

Differential Revision: D68400890

This diff introduces a change to conv2d dw op to save output positions in shared memory, which reduces register usage and improves performance.

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

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Jan 24, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 8ffe881 with merge base 7bc06d1 (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
Copy link
Contributor

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

trivedivivek added a commit that referenced this pull request Jan 24, 2025
This diff introduces a change to conv2d dw op to save output positions in shared memory, which reduces register usage and improves performance.

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

ghstack-source-id: 262823001
Pull Request resolved: #7923
…output op."

This diff introduces a change to conv2d dw op to save output positions in shared memory, which reduces register usage and improves performance.

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

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

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

…output op."

This diff introduces a change to conv2d dw op to save output positions in shared memory, which reduces register usage and improves performance.

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

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

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

…output op."

This diff introduces a change to conv2d dw op to save output positions in shared memory, which reduces register usage and improves performance.

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

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

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

…output op."

This diff introduces a change to conv2d dw op to save output positions in shared memory, which reduces register usage and improves performance.

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

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

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

…output op."

This diff introduces a change to conv2d dw op to save output positions in shared memory, which reduces register usage and improves performance.

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

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

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

…output op."

This diff introduces a change to conv2d dw op to save output positions in shared memory, which reduces register usage and improves performance.

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

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

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

…output op."

This diff introduces a change to conv2d dw op to save output positions in shared memory, which reduces register usage and improves performance.

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

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

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

@facebook-github-bot facebook-github-bot merged commit 53d1b0d into gh/trivedivivek/51/base Jan 28, 2025
47 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/trivedivivek/51/head branch January 28, 2025 19:37
trivedivivek added a commit that referenced this pull request Jan 29, 2025
…8007)

Pull Request resolved: #7923

This diff introduces a change to conv2d dw op to save output positions in shared memory, which reduces register usage and improves performance.
ghstack-source-id: 263440666
@exported-using-ghexport

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

Co-authored-by: Vivek Trivedi <[email protected]>
trivedivivek added a commit that referenced this pull request Jan 29, 2025
* [ET-VK] Using shared memory to save position in conv2d dw output op.

Pull Request resolved: #7923

This diff introduces a change to conv2d dw op to save output positions in shared memory, which reduces register usage and improves performance.
ghstack-source-id: 263440666
@exported-using-ghexport

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

* [ET-VK] Using push constants for conv2d dw.

Pull Request resolved: #7928

This diff is related to the use of push constants for convolutional dw (depthwise) in Executorch's Vulkan backend. This optimization improves memory usage.
ghstack-source-id: 263440665
@exported-using-ghexport

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

* [ET-VK] Using TmpTensor for width packed versions of q_linear op shader to reduce memory usage. (#8009)

Pull Request resolved: #7929

This diff introduces the use of temporary tensors to reduce memory usage in the width packed versions of the q_linear op shader.
ghstack-source-id: 263456691
@exported-using-ghexport

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

Co-authored-by: Vivek Trivedi <[email protected]>

---------

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. fb-exported topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants