[ExecuTorch][WebGPU] Add reduce op (sum/mean) to the WebGPU backend#20923
[ExecuTorch][WebGPU] Add reduce op (sum/mean) to the WebGPU backend#20923JCNTH wants to merge 3 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20923
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 1 PendingAs of commit eb87108 with merge base 7013c8d ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
SS-JIA
left a comment
There was a problem hiding this comment.
Review automatically exported from Phabricator review in Meta.
Stack from ghstack (oldest at bottom):
Add an
aten.sum.dim_IntList/aten.mean.dimreduction handler for the training tail.Key changes:
runtime/ops/reduce/— per-row reduction WGSL kernel + handlerCMakeLists.txtWEBGPU_SRCS— wire the sourceReuses the shared Vulkan partitioner (
aten.sum.dim_IntList/mean.dimalready registered); WebGPU kernel only.Co-authored-with: Claude Code.
@exported-using-ghexport
Differential Revision: D111755133
Differential Revision: D111755133