Skip to content

Minor changes to native layer norm shader op to improve perf. #10585

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
merged 1 commit into from
May 2, 2025

Conversation

trivedivivek
Copy link
Contributor

Summary: This diff improves perf by changing native layer norm shader to accumulate result in local variable instead of shared memory, and do a shared memory pass later.

Differential Revision: D73864950

@trivedivivek trivedivivek requested a review from SS-JIA as a code owner April 30, 2025 17:26
Copy link

pytorch-bot bot commented Apr 30, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 9f58e6a with merge base 75f1eea (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 Apr 30, 2025
@facebook-github-bot
Copy link
Contributor

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

trivedivivek added a commit to trivedivivek/executorch that referenced this pull request May 1, 2025
…h#10585)

Summary:

This diff improves perf by changing native layer norm shader to accumulate result in local variable instead of shared memory, and do a shared memory pass later.

Differential Revision: D73864950
@facebook-github-bot
Copy link
Contributor

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

…h#10585)

Summary:

This diff improves perf by changing native layer norm shader to accumulate result in local variable instead of shared memory, and do a shared memory pass later.

Reviewed By: SS-JIA

Differential Revision: D73864950
@facebook-github-bot
Copy link
Contributor

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

@trivedivivek trivedivivek merged commit 5202b43 into pytorch:main May 2, 2025
87 checks passed
jhelsby pushed a commit to jhelsby/executorch that referenced this pull request May 9, 2025
…h#10585)

Summary: This diff improves perf by changing native layer norm shader to
accumulate result in local variable instead of shared memory, and do a
shared memory pass later.

Differential Revision: D73864950
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