[ExecuTorch][WebGPU] et_vk.embedding_q4gsw test suite (export + native golden) by JulianCloudNTH · Pull Request #20289 · pytorch/executorch · GitHub
Skip to content

[ExecuTorch][WebGPU] et_vk.embedding_q4gsw test suite (export + native golden)#20289

Merged
meta-codesync[bot] merged 3 commits into
gh/JulianCloudNTH/28/basefrom
gh/JulianCloudNTH/28/head
Jun 22, 2026
Merged

[ExecuTorch][WebGPU] et_vk.embedding_q4gsw test suite (export + native golden)#20289
meta-codesync[bot] merged 3 commits into
gh/JulianCloudNTH/28/basefrom
gh/JulianCloudNTH/28/head

Conversation

@JulianCloudNTH

@JulianCloudNTH JulianCloudNTH commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Splits the et_vk.embedding_q4gsw tests into their own diff (op below, tests above), matching the sdpa/update_cache/linear_q4gsw op+tests convention, and brings them to the same rigor: a multi-shape config sweep run on-device, an fp64 dual-oracle, and required-when-present gating.
@exported-using-ghexport

Differential Revision: D108668383

Differential Revision: D108668383

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@JulianCloudNTH

Copy link
Copy Markdown
Contributor Author

@claude review

@claude

claude Bot commented Jun 15, 2026

Copy link
Copy Markdown

[ghstack-poisoned]
[ghstack-poisoned]
@meta-codesync meta-codesync Bot merged commit d79e7a0 into gh/JulianCloudNTH/28/base Jun 22, 2026
175 of 183 checks passed
@meta-codesync meta-codesync Bot deleted the gh/JulianCloudNTH/28/head branch June 22, 2026 07:59
@meta-codesync meta-codesync Bot temporarily deployed to cherry-pick-bot June 22, 2026 07:59 Inactive
JulianCloudNTH added a commit that referenced this pull request Jun 22, 2026
#20292)

Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.15.0)
(oldest at bottom):
* __->__ #20292
* #20265
* #20290
* #20264
* #20289
* #20263



Test suite for the `et_vk.prepack` constant-materialization op, split
into its
own diff (op below, tests above) per the per-op test-split convention.

The prepack op is how a serialized constant becomes a GPU tensor: the
constant
arrives as a CPU-side reference (sizes + a pointer into the .pte bytes),
and the
prepack node is the sole materialization — one CPU->GPU transfer
straight into
the consumer's buffer. The model `M(x) = x + w` (w a constant) routes
`w`
through a prepack node, so the delegate must run the materialization for
the
output to equal `x + w` rather than `x + 0`.
@exported-using-ghexport

Differential Revision:
[D108678631](https://our.internmc.facebook.com/intern/diff/D108678631/)

Differential Revision:
[D108678631](https://our.internmc.facebook.com/intern/diff/D108678631)
JulianCloudNTH added a commit that referenced this pull request Jun 22, 2026
…e golden)

Pull Request resolved: #20289

Splits the `et_vk.embedding_q4gsw` tests into their own diff (op below, tests above), matching the `sdpa`/`update_cache`/`linear_q4gsw` op+tests convention, and brings them to the same rigor: a multi-shape config sweep run on-device, an fp64 dual-oracle, and required-when-present gating.
ghstack-source-id: 395549281
@exported-using-ghexport

Differential Revision: [D108668383](https://our.internmc.facebook.com/intern/diff/D108668383/)
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. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants