[ExecuTorch][WebGPU] Op-tests for index_select#21172
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21172
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: ❌ 78 New Failures, 1 Cancelled JobAs of commit c30bccc with merge base 266e0dc ( NEW FAILURES - The following jobs have failed:
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
|
psiddh
left a comment
There was a problem hiding this comment.
Approving full WebGPU stack
Stack from ghstack (oldest at bottom):
Adds the op-test suite for the
index_selectop ported in the diff below.Key changes:
test/ops/test_index_select.py—IndexSelectModulegathers via a baked int index buffer, so the only runtime input is the float tensor (the op-test framework is float-only);torch.index_select(x, dim, self.index). +IndexSelectTestdelegation smoke test (mirrorsSplitTest).test/op_tests/cases.py—_index_select_suite: dim0_1d, dim0_2d, dim1_2d (repeated index), dim1_3d (middle dim), dim2_3d.Differential Revision: D112257648