[ExecuTorch][WebGPU] Port pow (aten.pow.Tensor_Tensor)#21160
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21160
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 6 New Failures, 1 Unrelated FailureAs of commit 3b355bd with merge base 266e0dc ( 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
|
psiddh
left a comment
There was a problem hiding this comment.
Approving full WebGPU stack
Stack from ghstack (oldest at bottom):
Ports
pow.Tensor_Tensorwith NumPy broadcasting, mirroring the siblingmulop + Vulkanbinary_op_buffer(per-tensorTensorMetauniforms; size-1 input dims clamped and the flat output index relinearized; equal-shape fast path).Key changes:
runtime/ops/pow/{BinaryOp.cpp, binary_pow.wgsl}(+ generated_wgsl.h) —pow_impl(args[in1, in2, out]); broadcastTensorMetapath + dual-operand resize hook; fail-loud int guard (fp32-only backend).Note: WGSL
pow(x, y)is undefined forx < 0, exact parity with the Vulkan GLSLpow.Co-authored-with: Claude Code.
Differential Revision: D112257673