Skip to content

Commit c1c8b00

Browse files
authored
[XNNPACK][Partitioner] Migrate completely to new config based partitioner (#4798)
[XNNPACK][Partitioner] Migrate completely to new config based partitioner New Config Based Partitioner maintains parity with old partitioners. I believe we can now replace all the old partitioners with the new partitioners I also added pre configured partitioners like the ones most users use today, so that this would not cause any problems with people now. Despite having "multiple" partitioners It is the same partitioenr with different specified configs. The new xnnpack_partitioner.py file contains a lot of changes since it is essentially getting deleted and replaced with xnnpack_partitioner.py. But if you just look at the new file itself it is pretty straight forward. https://www.internalfb.com/code/fbsource/[D61250577-V2]/fbcode/executorch/backends/xnnpack/partition/xnnpack_partitioner.py Differential Revision: [D61250577](https://our.internmc.facebook.com/intern/diff/D61250577/) [ghstack-poisoned] Co-authored-by: Max Ren <[email protected]> Pull Request resolved: #4765
1 parent f93a5b5 commit c1c8b00

File tree

9 files changed

+83
-1282
lines changed

9 files changed

+83
-1282
lines changed

backends/xnnpack/partition/TARGETS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ runtime.python_library(
66
name = "xnnpack_partitioner",
77
srcs = [
88
"xnnpack_partitioner.py",
9-
"xnnpack_partitioner2.py",
109
],
1110
visibility = [
1211
"//executorch/...",

0 commit comments

Comments
 (0)