[ExecuTorch][WebGPU] Generate extrema and unary shader variants - #21450
[ExecuTorch][WebGPU] Generate extrema and unary shader variants#21450JCNTH wants to merge 4 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21450
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New FailuresAs of commit 63b0192 with merge base f4a21b8 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
|
@claude Double check for need of changes, modulariziation opportunity, etc |
|
Claude finished @JCNTH's task in 4m 50s —— View job Review: Generate extrema shader variants
The core change is clean and correct. A few things worth reconsidering, in priority order: 1.
|
Stack from ghstack (oldest at bottom):
Generate extrema and unary shader families
The extrema reductions and ten no-parameter unary kernels duplicated shader skeletons that could drift independently. This consolidates amax/amin behind one extrema template and abs/cos/exp/hardswish/neg/round/rsqrt/sin/sqrt/tanh behind one unary template while preserving the generated runtime payloads.
Key changes:
The attempted Unary lifecycle migration is intentionally not part of the stack: its performance campaign did not produce an authoritative passing result, so the Unary builder, interface, and activation/sigmoid call sites are restored to their pre-migration bytes.
Co-authored-with: Claude Code.
@exported-using-ghexport
Differential Revision: D113979760
Differential Revision: D113979760