File tree Expand file tree Collapse file tree 2 files changed +27
-15
lines changed
Expand file tree Collapse file tree 2 files changed +27
-15
lines changed Original file line number Diff line number Diff line change 1+ # Copyright 2025 Arm Limited and/or its affiliates.
2+ #
3+ # This source code is licensed under the BSD-style license found in the
4+ # LICENSE file in the root directory of this source tree.
5+ #
16# @noautodeps
27load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
38
4- python_library(
5- name = "ethosu_partitioner",
6- srcs = [
7- "ethosu/__init__.py",
8- "ethosu/backend.py",
9- "ethosu/partitioner.py"
10- ],
11- deps = [
12- ":arm_partitioner",
13- ]
14- )
159python_library(
1610 name = "constants",
1711 srcs = [
@@ -35,20 +29,32 @@ python_library(
3529 ],
3630)
3731python_library(
38- name = "arm_partitioner ",
32+ name = "tosa_partitioner ",
3933 srcs = [
40- "tosa_backend.py",
41- "tosa_partitioner.py",
34+ "tosa/__init__.py",
35+ "tosa/backend.py",
36+ "tosa/partitioner.py",
4237 "vgf_backend.py",
43- "vgf_partitioner.py",
38+ "vgf_partitioner.py"
4439 ],
4540 deps = [
4641 ":arm_backend",
4742 ":constants",
4843 "//executorch/backends/arm/operator_support:operator_support",
4944 "//executorch/backends/arm/_passes:passes",
5045 "//executorch/exir:lib",
46+ ]
47+ )
48+ python_library(
49+ name = "ethosu_partitioner",
50+ srcs = [
51+ "ethosu/__init__.py",
52+ "ethosu/backend.py",
53+ "ethosu/partitioner.py"
5154 ],
55+ deps = [
56+ ":tosa_partitioner",
57+ ]
5258)
5359python_library(
5460 name = "arm_backend",
Original file line number Diff line number Diff line change 1+ # Copyright 2025 Arm Limited and/or its affiliates.
2+ #
3+ # This source code is licensed under the BSD-style license found in the
4+ # LICENSE file in the root directory of this source tree.
5+
16load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
27load(":targets.bzl", "define_arm_tests")
38
@@ -41,6 +46,7 @@ python_library(
4146 deps = [
4247 ":common",
4348 "//executorch/backends/xnnpack/test/tester:tester",
49+ "//executorch/backends/arm:tosa_partitioner",
4450 "//executorch/backends/arm:ethosu_partitioner",
4551 "//executorch/backends/arm/quantizer:lib",
4652 "//executorch/backends/arm:tosa_mapping",
You can’t perform that action at this time.
0 commit comments