Skip to content

[ExecuTorch][WebGPU] squeeze_copy + unsqueeze_copy test suites (cases.py op-test framework)#20543

Merged
JulianCloudNTH merged 1 commit into
gh/JulianCloudNTH/41/origfrom
gh/JulianCloudNTH/42/orig
Jun 26, 2026
Merged

[ExecuTorch][WebGPU] squeeze_copy + unsqueeze_copy test suites (cases.py op-test framework)#20543
JulianCloudNTH merged 1 commit into
gh/JulianCloudNTH/41/origfrom
gh/JulianCloudNTH/42/orig

Conversation

@pytorchbot

Copy link
Copy Markdown
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #20393 by @JulianCloudNTH
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/JulianCloudNTH/42/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/JulianCloudNTH/42/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/JulianCloudNTH/41/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/JulianCloudNTH/42/orig

@diff-train-skip-merge

….py op-test framework)

Pull Request resolved: #20393

Registers `aten.squeeze_copy.dims` and `aten.unsqueeze_copy.default` in the `cases.py` op-test framework: a `_squeeze_suite` of 3 configs (squeeze leading/middle/multiple size-1 dims) and a `_unsqueeze_suite` of 3 configs (insert dim at front/middle/last) that `generate_op_tests` exports via `VulkanPartitioner` and compares to a torch golden on Dawn. Also adds `test/ops/squeeze/test_squeeze.py` (`SqueezeModule` + `CONFIGS` + `_op_delegated` smoke test), `test/ops/unsqueeze/test_unsqueeze.py` (`UnsqueezeModule` + `CONFIGS` + `_op_delegated` smoke test), and the two partitioner-allowlist entries in `tester.py`.
ghstack-source-id: 397026525
@exported-using-ghexport

Differential Revision: [D108793152](https://our.internmc.facebook.com/intern/diff/D108793152/)
@pytorch-bot

pytorch-bot Bot commented Jun 26, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20543

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 26, 2026
@JulianCloudNTH JulianCloudNTH merged commit 3a34144 into gh/JulianCloudNTH/41/orig Jun 26, 2026
172 of 183 checks passed
@JulianCloudNTH JulianCloudNTH deleted the gh/JulianCloudNTH/42/orig branch June 26, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants