[ET-VK] Add ANY_STORAGE support to native_layer_norm#18055
[ET-VK] Add ANY_STORAGE support to native_layer_norm#18055SS-JIA wants to merge 1 commit intogh/SS-JIA/472/basefrom
Conversation
Add a buffer shader variant for native_layer_norm using workgroup-based reduction with shared memory. Each workgroup handles one output row, with NUM_WORKERS (64) threads cooperatively reducing across the row width for mean and variance computation. Rename the existing texture shader to native_layer_norm_texture.glsl/.yaml and register the op as ANY_STORAGE so buffer-storage inputs are now accepted. Differential Revision: [D95970158](https://our.internmc.facebook.com/intern/diff/D95970158/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18055
Note: Links to docs will display an error until the docs builds have been completed. ❌ 10 New Failures, 1 Unrelated FailureAs of commit 632b8ff with merge base f09bd55 ( NEW FAILURES - The following jobs have failed:
BROKEN TRUNK - The following job 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. |
This PR needs a
|
Stack from ghstack (oldest at bottom):
Add a buffer shader variant for native_layer_norm using workgroup-based
reduction with shared memory. Each workgroup handles one output row, with
NUM_WORKERS (64) threads cooperatively reducing across the row width for
mean and variance computation. Rename the existing texture shader to
native_layer_norm_texture.glsl/.yaml and register the op as ANY_STORAGE
so buffer-storage inputs are now accepted.
Differential Revision: D95970158