Skip to content

[ET-VK] Applying bias after sum calculation in conv2d pw shader to improve performance. #11150

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

…prove performance.

This diff improves the performance of the conv2d pw shader by changing the order of operations to apply bias after the sum calculation.

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

[ghstack-poisoned]
Copy link

pytorch-bot bot commented May 27, 2025

🔗 Helpful Links

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

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

✅ You can merge normally! (2 Unrelated Failures)

As of commit 54f8e25 with merge base 380eb5f (image):

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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: D75450662

…hader to improve performance."

This diff improves the performance of the conv2d pw shader by changing the order of operations to apply bias after the sum calculation.

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

[ghstack-poisoned]
trivedivivek added a commit that referenced this pull request May 27, 2025
…prove performance.

Pull Request resolved: #11150

This diff improves the performance of the conv2d pw shader by changing the order of operations to apply bias after the sum calculation.
ghstack-source-id: 286439504
@exported-using-ghexport

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

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

@trivedivivek trivedivivek added the release notes: none Do not include this in the release notes label May 27, 2025
…hader to improve performance."

This diff improves the performance of the conv2d pw shader by changing the order of operations to apply bias after the sum calculation.

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

[ghstack-poisoned]
trivedivivek added a commit that referenced this pull request May 28, 2025
…prove performance.

Pull Request resolved: #11150

This diff improves the performance of the conv2d pw shader by changing the order of operations to apply bias after the sum calculation.
ghstack-source-id: 286577564
@exported-using-ghexport

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

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

…hader to improve performance."

This diff improves the performance of the conv2d pw shader by changing the order of operations to apply bias after the sum calculation.

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

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

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

…hader to improve performance."

This diff improves the performance of the conv2d pw shader by changing the order of operations to apply bias after the sum calculation.

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

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

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

…hader to improve performance."

This diff improves the performance of the conv2d pw shader by changing the order of operations to apply bias after the sum calculation.

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

[ghstack-poisoned]
trivedivivek added a commit that referenced this pull request May 28, 2025
…prove performance.

Pull Request resolved: #11150

This diff improves the performance of the conv2d pw shader by changing the order of operations to apply bias after the sum calculation.
ghstack-source-id: 286652108
@exported-using-ghexport

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

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

@facebook-github-bot facebook-github-bot merged commit fe59db3 into gh/trivedivivek/100/base May 28, 2025
96 of 98 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/trivedivivek/100/head branch May 28, 2025 15:54
trivedivivek added a commit that referenced this pull request May 29, 2025
…prove performance. (#11193)

This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: #11150 by
@trivedivivek
^ 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/100/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/trivedivivek/100/head
Merge bot PR base:
https://github.com/pytorch/executorch/tree/gh/trivedivivek/99/orig
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/trivedivivek/100/orig
@diff-train-skip-merge

---------

Co-authored-by: Vivek Trivedi <[email protected]>
BujSet pushed a commit to BujSet/executorch that referenced this pull request May 29, 2025
…prove performance. (pytorch#11193)

This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: pytorch#11150 by
@trivedivivek
^ 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/100/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/trivedivivek/100/head
Merge bot PR base:
https://github.com/pytorch/executorch/tree/gh/trivedivivek/99/orig
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/trivedivivek/100/orig
@diff-train-skip-merge

---------

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 release notes: none Do not include this in the release notes topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants