[ExecuTorch][WebGPU] Add shape/copy ops (dim_order, expand_copy, fill) to the WebGPU backend#20929
[ExecuTorch][WebGPU] Add shape/copy ops (dim_order, expand_copy, fill) to the WebGPU backend#20929JCNTH wants to merge 5 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20929
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 Cancelled JobAs of commit a359af2 with merge base 7013c8d ( CANCELLED JOB - The following job was cancelled. Please retry:
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
_clone_dim_order(DMA copy),aten.expand_copy(broadcast), andfill(aten.full/full_like/scalar_tensor) handlers for the training tail.Key changes:
runtime/ops/{dim_order,expand_copy,fill}/— WGSL kernels + handlers (dim_order is a native buffer DMA copy)CMakeLists.txtWEBGPU_SRCS— wire the sourcesReuses the shared Vulkan partitioner (
_clone_dim_order/expand_copy/full* already registered); WebGPU kernels only.Co-authored-with: Claude Code.
@exported-using-ghexport
Differential Revision: D111755131
Differential Revision: D111755131