Skip to content

Conversation

@trivedivivek
Copy link
Contributor

@trivedivivek trivedivivek commented Jan 10, 2025

Stack from ghstack (oldest at bottom):

This diff moves current implementation of conv2d dw as a special case when stride equals dilation in the Vulkan backend of Executorch, since that's the only time this kind of caching is possible.

If stride does not equal dilation the old implementation is used.

Additional test cases are added to ensure computation is correct when stride != dilation.

Differential Revision: D67908916

This diff moves current implementation of conv2d dw as a special case when stride equals dilation in the Vulkan backend of Executorch, since that's the only time this kind of caching is possible.

If stride does not equal dilation the old implementation is used.

Additional test cases are added to ensure computation is correct when stride != dilation.

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

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Jan 10, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit b634b31 with merge base 51a107a (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 Jan 10, 2025
@facebook-github-bot
Copy link
Contributor

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

…ilation issue."

This diff moves current implementation of conv2d dw as a special case when stride equals dilation in the Vulkan backend of Executorch, since that's the only time this kind of caching is possible.

If stride does not equal dilation the old implementation is used.

Additional test cases are added to ensure computation is correct when stride != dilation.

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

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

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

…ilation issue."

This diff moves current implementation of conv2d dw as a special case when stride equals dilation in the Vulkan backend of Executorch, since that's the only time this kind of caching is possible.

If stride does not equal dilation the old implementation is used.

Additional test cases are added to ensure computation is correct when stride != dilation.

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

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

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

…ilation issue."

This diff moves current implementation of conv2d dw as a special case when stride equals dilation in the Vulkan backend of Executorch, since that's the only time this kind of caching is possible.

If stride does not equal dilation the old implementation is used.

Additional test cases are added to ensure computation is correct when stride != dilation.

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

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

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

@facebook-github-bot facebook-github-bot merged commit d790787 into gh/trivedivivek/41/base Jan 13, 2025
45 of 46 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/trivedivivek/41/head branch January 13, 2025 18:47
trivedivivek added a commit that referenced this pull request Jan 13, 2025
…ue. (#7628)

Pull Request resolved: #7595

This diff moves current implementation of conv2d dw as a special case when stride equals dilation in the Vulkan backend of Executorch, since that's the only time this kind of caching is possible.

If stride does not equal dilation the old implementation is used.

Additional test cases are added to ensure computation is correct when stride != dilation.
ghstack-source-id: 261183385
@exported-using-ghexport

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

Co-authored-by: Vivek Trivedi <[email protected]>
trivedivivek added a commit that referenced this pull request Jan 13, 2025
…#7629)

* [ET-VK] Fixing conv2d dw incorrect output when stride != dilation issue.

Pull Request resolved: #7595

This diff moves current implementation of conv2d dw as a special case when stride equals dilation in the Vulkan backend of Executorch, since that's the only time this kind of caching is possible.

If stride does not equal dilation the old implementation is used.

Additional test cases are added to ensure computation is correct when stride != dilation.
ghstack-source-id: 261183385
@exported-using-ghexport

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

* [ET-VK] Making stride equals dilation the default mode for conv2d dw.

Pull Request resolved: #7596

This diff makes changes make stride equals dilation the default mode for conv2d dw output op.
Adds a different source file to handle stride not equal dilation case.
ghstack-source-id: 261183386

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

* Update conv2d_dw_output_tile.glsl

---------

Co-authored-by: Vivek Trivedi <[email protected]>
YIWENX14 pushed a commit that referenced this pull request Jan 28, 2025
…ue. (#7628)

Pull Request resolved: #7595

This diff moves current implementation of conv2d dw as a special case when stride equals dilation in the Vulkan backend of Executorch, since that's the only time this kind of caching is possible.

If stride does not equal dilation the old implementation is used.

Additional test cases are added to ensure computation is correct when stride != dilation.
ghstack-source-id: 261183385
@exported-using-ghexport

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

Co-authored-by: Vivek Trivedi <[email protected]>
YIWENX14 pushed a commit that referenced this pull request Jan 28, 2025
…#7629)

* [ET-VK] Fixing conv2d dw incorrect output when stride != dilation issue.

Pull Request resolved: #7595

This diff moves current implementation of conv2d dw as a special case when stride equals dilation in the Vulkan backend of Executorch, since that's the only time this kind of caching is possible.

If stride does not equal dilation the old implementation is used.

Additional test cases are added to ensure computation is correct when stride != dilation.
ghstack-source-id: 261183385
@exported-using-ghexport

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

* [ET-VK] Making stride equals dilation the default mode for conv2d dw.

Pull Request resolved: #7596

This diff makes changes make stride equals dilation the default mode for conv2d dw output op.
Adds a different source file to handle stride not equal dilation case.
ghstack-source-id: 261183386

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

* Update conv2d_dw_output_tile.glsl

---------

Co-authored-by: Vivek Trivedi <[email protected]>
kedarnath03 pushed a commit to kedarnath03/executorch that referenced this pull request Jun 25, 2025
This diff moves current implementation of conv2d dw as a special case when stride equals dilation in the Vulkan backend of Executorch, since that's the only time this kind of caching is possible.

If stride does not equal dilation the old implementation is used.

Additional test cases are added to ensure computation is correct when stride != dilation.

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

ghstack-source-id: 260931966
Pull Request resolved: pytorch/executorch#7595
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.

4 participants