[ExecuTorch][WebGPU] slice_copy op test suite (cases.py op-test framework)#20395
[ExecuTorch][WebGPU] slice_copy op test suite (cases.py op-test framework)#20395JulianCloudNTH wants to merge 2 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20395
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New Failures, 2 Unrelated FailuresAs of commit 9a9f212 with merge base 0e65ba6 ( NEW FAILURES - The following jobs have failed:
BROKEN TRUNK - The following jobs 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
|
|
@claude review |
|
Claude finished @JulianCloudNTH's task in 46s —— View job Code Review: slice_copy op test suite
This is a clean, well-scoped addition that follows the established WebGPU op-test conventions closely. Observations1. torch.testing.assert_close(SliceModule(fn)(x), fn(x))
2. No 3. Config coverage looks good. Leading-dim, last-dim, step-2, and negative-end cover the interesting Nits
Verdict: LGTM. The two structural notes (tautological golden check, missing op-fallback assertion) are inherited from the |
Stack from ghstack (oldest at bottom):
Registers
aten.slice_copy.Tensorin thecases.pyop-test framework: a_slice_suiteof 4 configs (leading-dim slice[:,1:5], last-dim slice[...,1:3], step-2[:,0:8:2], negative-end[:,1:-1]) thatgenerate_op_testsexports viaVulkanPartitionerand compares to a torch golden on Dawn. Also addstest/ops/slice/test_slice.py(SliceModule+CONFIGS+ export-delegation/eager smoke test) and theaten.slice_copy.Tensorpartitioner-allowlist entry intester.py.@exported-using-ghexport
Differential Revision: D108793151
Differential Revision: D108793151