Skip to content

[ExecuTorch][WebGPU] Test byte-packed BOOL tails - #21599

Merged
meta-codesync[bot] merged 1 commit into
gh/JCNTH/206/basefrom
gh/JCNTH/206/head
Aug 7, 2026
Merged

[ExecuTorch][WebGPU] Test byte-packed BOOL tails#21599
meta-codesync[bot] merged 1 commit into
gh/JCNTH/206/basefrom
gh/JCNTH/206/head

Conversation

@JCNTH

@JCNTH JCNTH commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Exercise byte-packed BOOL tails through export and native execution

Manifest and export coverage now proves exact BOOL storage and numeric BOOL-to-fp32 conversion across word-aligned and tail lengths. The native driver preserves BOOL metadata and compares canonical raw 0/1 bytes rather than semantic truth values.

Key changes:

  • Length coverage — exercises 1, 4, 5, and 67 elements.
  • Export assertions — keep the fp32 cast inside the delegate while INT8 stays outside the BOOL route.
  • Native validation — checks direct inputs, comparison outputs, and raw tail bytes.

This is coverage-only; runtime kernels are unchanged.

Co-authored-with: Claude Code.

Differential Revision: D114936146

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

As of commit 0c285a3 with merge base ad3a71f (image):
💚 Looks good so far! There are no failures yet. 💚

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

@github-actions

github-actions Bot commented Aug 5, 2026

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.

@meta-codesync
meta-codesync Bot merged commit 45156c7 into gh/JCNTH/206/base Aug 7, 2026
191 of 198 checks passed
@meta-codesync
meta-codesync Bot deleted the gh/JCNTH/206/head branch August 7, 2026 17:22
@meta-codesync
meta-codesync Bot temporarily deployed to cherry-pick-bot August 7, 2026 17:22 Inactive
JCNTH added a commit that referenced this pull request Aug 7, 2026
**Exercise byte-packed BOOL tails through export and native execution**

Manifest and export coverage now proves exact `BOOL` storage and numeric `BOOL`-to-fp32 conversion across word-aligned and tail lengths. The native driver preserves `BOOL` metadata and compares canonical raw 0/1 bytes rather than semantic truth values.

Key changes:

- Length coverage — exercises 1, 4, 5, and 67 elements.
- Export assertions — keep the fp32 cast inside the delegate while `INT8` stays outside the `BOOL` route.
- Native validation — checks direct inputs, comparison outputs, and raw tail bytes.

This is coverage-only; runtime kernels are unchanged.

Co-authored-with: Claude Code.

Differential Revision: [D114936146](https://our.internmc.facebook.com/intern/diff/D114936146/)
ghstack-source-id: 411044629
Pull-Request: #21599
JCNTH added a commit that referenced this pull request Aug 7, 2026
**Exercise byte-packed BOOL tails through export and native execution**

Manifest and export coverage now proves exact `BOOL` storage and numeric `BOOL`-to-fp32 conversion across word-aligned and tail lengths. The native driver preserves `BOOL` metadata and compares canonical raw 0/1 bytes rather than semantic truth values.

Key changes:

- Length coverage — exercises 1, 4, 5, and 67 elements.
- Export assertions — keep the fp32 cast inside the delegate while `INT8` stays outside the `BOOL` route.
- Native validation — checks direct inputs, comparison outputs, and raw tail bytes.

This is coverage-only; runtime kernels are unchanged.

Co-authored-with: Claude Code.

Differential Revision: [D114936146](https://our.internmc.facebook.com/intern/diff/D114936146/)
ghstack-source-id: 411044629
Pull-Request: #21599
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