File tree Expand file tree Collapse file tree 4 files changed +22
-27
lines changed Expand file tree Collapse file tree 4 files changed +22
-27
lines changed Original file line number Diff line number Diff line change @@ -147,23 +147,6 @@ python_library(
147
147
],
148
148
)
149
149
150
- # Please don't add "//executorch/pybindings:portable" here, runtime lib should be added separately.
151
- python_library(
152
- name = "bento_deps",
153
- deps = [
154
- ":lib",
155
- "//aibench/api:aibench_api",
156
- "//executorch/backends:backend_lib",
157
- "//executorch/backends/test:example_backends",
158
- "//executorch/bundled_program:core",
159
- "//executorch/exir/scripts:lib",
160
- "//executorch/kernels/portable:custom_ops_generated_lib",
161
- "//executorch/kernels/quantized:custom_ops_generated_lib",
162
- "//executorch/profiler:parse_profiler_library",
163
- "//executorch/sdk:lib",
164
- ],
165
- )
166
-
167
150
python_library(
168
151
name = "memory_planning",
169
152
srcs = [
Original file line number Diff line number Diff line change
1
+ load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
2
+
3
+ oncall("executorch")
4
+
5
+ # Please don't add "//executorch/pybindings:portable" here, runtime lib should be added separately.
6
+ python_library(
7
+ name = "bento_deps",
8
+ deps = [
9
+ "//aibench/api:aibench_api",
10
+ "//executorch/backends:backend_lib",
11
+ "//executorch/backends/test:example_backends",
12
+ "//executorch/bundled_program:core",
13
+ "//executorch/exir:lib",
14
+ "//executorch/exir/scripts:lib",
15
+ "//executorch/kernels/portable:custom_ops_generated_lib",
16
+ "//executorch/kernels/quantized:custom_ops_generated_lib",
17
+ "//executorch/profiler:parse_profiler_library",
18
+ "//executorch/sdk:lib",
19
+ ],
20
+ )
Original file line number Diff line number Diff line change 1
1
load ("//bento:buck_macros.bzl" , "bento_kernel" )
2
2
3
3
executorch_bento_kernels_base_deps = [
4
- "//executorch/exir:bento_deps" ,
4
+ "//executorch/exir/fb :bento_deps" ,
5
5
"//pye/lib:eager_model_base" ,
6
6
]
7
7
Original file line number Diff line number Diff line change @@ -12,15 +12,7 @@ python_library(
12
12
srcs = [
13
13
"parse_profiler_results.py",
14
14
],
15
- visibility = [
16
- "fbcode//aibench/...",
17
- "fbcode//on_device_ai/Assistant/Jarvis/...",
18
- "fbsource//xplat/on_device_ai/Assistant/Jarvis/...",
19
- "//executorch/exir:bento_deps",
20
- "//executorch/profiler/test/...",
21
- "//executorch/test/end2end/...",
22
- "//pye/lib/...",
23
- ],
15
+ visibility = ["PUBLIC"],
24
16
deps = [
25
17
"fbsource//third-party/pypi/prettytable:prettytable",
26
18
"//executorch/exir:schema",
You can’t perform that action at this time.
0 commit comments