Allow context-binary lowering to use edge dialect ops (#20518)#20518
Allow context-binary lowering to use edge dialect ops (#20518)#20518JakeStevens wants to merge 1 commit into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20518
Note: Links to docs will display an error until the docs builds have been completed. ⏳ 1 Pending, 1 Unrelated FailureAs of commit 101ea39 with merge base a0a730a ( 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. |
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating Diff in D109598309. |
This PR needs a
|
Summary: Unblocks the QNN context-binary path from lowering through `to_edge` with `_use_edge_ops=True` (the default). Previously it was pinned to `EdgeCompileConfig(_use_edge_ops=False)` purely to keep the `qaisw` context-loader custom op's original name, because loader detection was name-based. Loader detection now goes through a single `is_context_loader_target()` helper that matches the op namespace (so it works on the edge-dialect wrapper), replacing the three name-dependent checks (`eval`, raw `.namespace`, substring). Differential Revision: D109598309
ce774b0 to
101ea39
Compare
Summary: Unblocks the QNN context-binary path from lowering through `to_edge` with `_use_edge_ops=True` (the default). Previously it was pinned to `EdgeCompileConfig(_use_edge_ops=False)` purely to keep the `qaisw` context-loader custom op's original name, because loader detection was name-based. Loader detection now goes through a single `is_context_loader_target()` helper that matches the op namespace (so it works on the edge-dialect wrapper), replacing the three name-dependent checks (`eval`, raw `.namespace`, substring). Differential Revision: D109598309
101ea39 to
e924d07
Compare
Summary:
Unblocks the QNN context-binary path from lowering through
to_edgewith_use_edge_ops=True(the default). Previously it was pinned toEdgeCompileConfig(_use_edge_ops=False)purely to keep theqaiswcontext-loader custom op's original name, because loader detection was name-based.Loader detection now goes through a single
is_context_loader_target()helper that matches the op namespace (so it works on the edge-dialect wrapper), replacing the three name-dependent checks (eval, raw.namespace, substring).Differential Revision: D109598309