Repository navigation
[qualcomm] Update draw_graph goldens for permutes inserted by LayoutTransform - #23528
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/23528
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 8 PendingAs of commit 10a9ef3 with merge base 8789aa5 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
…ransform D123733351 (#21932) moved the `QCOM_AXIS_ORDER` pop from `QnnBackend._build_op_wrappers` into `LayoutTransform`. `test_qnn_backend_draw_graph` calls `transform_for_preprocess_pipeline` directly, so it previously never cleared the stale to-edge tags and `LayoutTransform` inserted no permutes. Its goldens captured that graph, which real lowering never produces. The test now sees the same graph as `preprocess`: an NCHW->NHWC `permute_copy` feeding both convs, the graph input at its original `[1, 32, 28, 28]` shape, and (quantized only) an NHWC->NCHW `permute_copy` before the output dequantize. Update both goldens to match. Authored with Claude Code. Differential Revision: [D123874998](https://our.internmc.facebook.com/intern/diff/D123874998/) ghstack-source-id: 443606972 Pull-Request: #23528
Stack from ghstack (oldest at bottom):
D123733351 (#21932) moved the
QCOM_AXIS_ORDERpop fromQnnBackend._build_op_wrappersintoLayoutTransform.test_qnn_backend_draw_graphcallstransform_for_preprocess_pipelinedirectly, so it previously never cleared the stale to-edge tags andLayoutTransforminserted no permutes. Its goldens captured that graph, which real lowering never produces.The test now sees the same graph as
preprocess: an NCHW->NHWCpermute_copyfeeding both convs, the graph input at its original[1, 32, 28, 28]shape, and (quantized only) an NHWC->NCHWpermute_copybefore the output dequantize. Update both goldens to match.Authored with Claude Code.
Differential Revision: D123874998