[ExecuTorch][WebGPU] split_with_sizes_copy op tests#20996
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20996
Note: Links to docs will display an error until the docs builds have been completed. ❌ 66 New Failures, 3 Pending, 3 Unrelated Failures, 7 Unclassified FailuresAs of commit d8dbafa with merge base c2b273e ( NEW FAILURES - The following jobs have failed:
UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
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
|
Pull Request resolved: #20996 **Op-test suite for `aten.split_with_sizes_copy.default`** (stacked on the split_with_sizes_copy op diff). Adds `test/ops/test_split_with_sizes_copy.py` (`SplitWithSizesModule` — `torch.split` by a size list) + a `@register_op_test("split_with_sizes_copy")` suite in `test/op_tests/cases.py` (3 cases: a 3-way channel split, a dim-0 split, and a last-dim split). Multi-output: the framework compares chunk 0 (out_index 0) while each case exercises all N per-chunk dispatches. `copy` is bit-exact, so the golden is float32. ghstack-source-id: 403871287 @exported-using-ghexport Differential Revision: [D112417279](https://our.internmc.facebook.com/intern/diff/D112417279/)
Stack from ghstack (oldest at bottom):
Op-test suite for
aten.split_with_sizes_copy.default(stacked on the split_with_sizes_copy op diff).Adds
test/ops/test_split_with_sizes_copy.py(SplitWithSizesModule—torch.splitby a size list) + a@register_op_test("split_with_sizes_copy")suite intest/op_tests/cases.py(3 cases: a 3-way channel split, a dim-0 split, and a last-dim split). Multi-output: the framework compares chunk 0 (out_index 0) while each case exercises all N per-chunk dispatches.copyis bit-exact, so the golden is float32.Differential Revision: D112417279