[ExecuTorch][WebGPU] Test apply_rotary_emb_interleaved#21186
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21186
Note: Links to docs will display an error until the docs builds have been completed. ❌ 5 New Failures, 32 Pending, 70 Unrelated FailuresAs of commit c473973 with merge base 4a26c64 ( NEW FAILURES - The following jobs have failed:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
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):
Problem: The new
apply_rotary_emb_interleavedWebGPU op needs golden coverage against a trusted reference and an export-delegation smoke test, matching the sibling rope ops.Solution: Add an op-test suite that goldens the WebGPU kernel against the CPU eager
et_vk.apply_rotary_emb_interleavedop (its own dtype-agnostic reference), plus an export test asserting the op is absorbed into the delegate rather than left as a CPU fallback.Implementation:
cases.pyregisters_rope_interleaved_suiteover bnc/batch/c4/c16 shapes at atol=rtol=1e-3 with the default fp64 dual-oracle (fp32-eager vs fp64-golden gate).test_rope_interleaved.pycalls the custom op directly (EdgeTAM has no aten lowering / fusion pattern for it) and verifies bothVulkanBackenddelegation and that nointerleavednode is left top-level.@exported-using-ghexport
Differential Revision: D112257606
Differential Revision: D112257606