[ExecuTorch][WebGPU] Op-tests for logical_and#21222
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21222
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: ❌ 46 New Failures, 3 Unrelated FailuresAs of commit a09d8ef with merge base 266e0dc ( NEW FAILURES - The following jobs have failed:
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
|
psiddh
left a comment
There was a problem hiding this comment.
Approving full WebGPU stack
Stack from ghstack (oldest at bottom):
Adds the
aten.logical_and.defaultop-test suite to the manifest-driven WebGPU op-test framework, stacked above the op diff.Key changes:
test/ops/test_logical_and.py—LogicalAndModulederives its two bool operands on-GPU from float inputs (a > 0,b > 0via the delegatedgt.Tensoragainst a baked zero buffer), so the only runtime inputs are the two float tensors (the op-test framework is float-input-only). Distincta/bseeds make the two masks differ (each ~50% True, independent -> AND ~25% True), a real mix that an OR mutant would fail.LogicalAndTestis the export-delegation smoke test.test/op_tests/cases.py— registerslogical_and(shapes 2d/3d/sq, allnumel % 4 == 0), byte-exact bool golden.Co-authored-with: Claude Code.
Differential Revision: D112257583