Skip to content

Commit a8a669c

Browse files
authored
Manual merge of #14156, second try (#14266)
Something went wrong with the automated merge here as well as the first manual merge. This is an exact export of the corresponding diff. Differential Revision: D82127665
1 parent 0067c70 commit a8a669c

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

backends/arm/TARGETS

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ runtime.python_library(
1414
"ethosu/partitioner.py"
1515
],
1616
deps = [
17-
":arm_partitioner",
17+
":arm_vela",
18+
"//executorch/backends/arm/tosa:arm_partitioner",
1819
]
1920
)
2021
runtime.python_library(
@@ -25,7 +26,7 @@ runtime.python_library(
2526
"vgf/partitioner.py"
2627
],
2728
deps = [
28-
":arm_partitioner",
29+
"//executorch/backends/arm/tosa:arm_partitioner",
2930
]
3031
)
3132
runtime.python_library(
@@ -50,21 +51,6 @@ runtime.python_library(
5051
"//executorch/exir:lib",
5152
],
5253
)
53-
runtime.python_library(
54-
name = "arm_partitioner",
55-
srcs = [
56-
"tosa/backend.py",
57-
"tosa/partitioner.py",
58-
],
59-
deps = [
60-
":arm_backend",
61-
":constants",
62-
"//executorch/backends/arm/debug:schema",
63-
"//executorch/backends/arm/operator_support:operator_support",
64-
"//executorch/backends/arm/_passes:passes",
65-
"//executorch/exir:lib",
66-
],
67-
)
6854
runtime.python_library(
6955
name = "arm_backend",
7056
srcs = [
@@ -77,7 +63,6 @@ runtime.python_library(
7763
"fbsource//third-party/tosa_tools/v1.00/serialization_lib/python/serializer:serializer",
7864
"fbsource//third-party/tosa_tools/v0.80/serialization_lib/python/tosa:tosa",
7965
"fbsource//third-party/tosa_tools/v1.00/serialization_lib/python/tosa:tosa",
80-
":arm_vela",
8166
":process_node",
8267
"//executorch/backends/arm/operators:lib",
8368
"//executorch/backends/arm/operators:node_visitor",

backends/arm/tosa/TARGETS

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,20 @@ runtime.python_library(
5959
":specification",
6060
],
6161
)
62+
63+
runtime.python_library(
64+
name = "arm_partitioner",
65+
srcs = [
66+
"backend.py",
67+
"partitioner.py",
68+
],
69+
deps = [
70+
"//executorch/backends/arm:arm_backend",
71+
"//executorch/backends/arm:constants",
72+
"//executorch/backends/arm:process_node",
73+
"//executorch/backends/arm/debug:schema",
74+
"//executorch/backends/arm/operator_support:operator_support",
75+
"//executorch/backends/arm/_passes:passes",
76+
"//executorch/exir:lib",
77+
],
78+
)

0 commit comments

Comments
 (0)