Skip to content

Commit 3c30f09

Browse files
committed
Update
[ghstack-poisoned]
2 parents c532461 + 0a3a58b commit 3c30f09

File tree

54 files changed

+226
-237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+226
-237
lines changed

backends/arm/TARGETS

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @noautodeps
2-
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
3-
runtime.python_library(
2+
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
3+
python_library(
44
name = "arm_partitioner",
55
srcs = [
66
"ethosu_backend.py",
@@ -15,7 +15,7 @@ runtime.python_library(
1515
"//executorch/exir:lib",
1616
],
1717
)
18-
runtime.python_library(
18+
python_library(
1919
name = "arm_backend",
2020
srcs = [
2121
"arm_backend.py",
@@ -32,7 +32,7 @@ runtime.python_library(
3232
"//executorch/backends/arm/_passes:passes",
3333
],
3434
)
35-
runtime.python_library(
35+
python_library(
3636
name = "process_node",
3737
srcs = ["process_node.py"],
3838
deps = [
@@ -44,7 +44,7 @@ runtime.python_library(
4444
"//executorch/exir:lib",
4545
],
4646
)
47-
runtime.python_library(
47+
python_library(
4848
name = "arm_vela",
4949
srcs = [
5050
"arm_vela.py",
@@ -53,7 +53,7 @@ runtime.python_library(
5353
"fbsource//third-party/pypi/ethos-u-vela:ethos-u-vela",
5454
],
5555
)
56-
runtime.python_library(
56+
python_library(
5757
name = "tosa_mapping",
5858
srcs = [
5959
"tosa_mapping.py",
@@ -63,7 +63,7 @@ runtime.python_library(
6363
"//caffe2:torch",
6464
],
6565
)
66-
runtime.python_library(
66+
python_library(
6767
name = "tosa_quant_utils",
6868
srcs = [
6969
"tosa_quant_utils.py",
@@ -76,7 +76,7 @@ runtime.python_library(
7676
"//executorch/exir/dialects:lib",
7777
],
7878
)
79-
runtime.python_library(
79+
python_library(
8080
name = "tosa_specification",
8181
srcs = [
8282
"tosa_specification.py",
@@ -86,7 +86,7 @@ runtime.python_library(
8686
"//executorch/exir/backend:compile_spec_schema",
8787
],
8888
)
89-
runtime.python_library(
89+
python_library(
9090
name = "tosa_utils",
9191
srcs = [
9292
"tosa_utils.py",
@@ -97,7 +97,7 @@ runtime.python_library(
9797
"//executorch/backends/arm/operators:node_visitor",
9898
],
9999
)
100-
runtime.python_library(
100+
python_library(
101101
name = "arm_model_evaluator",
102102
srcs = [
103103
"util/arm_model_evaluator.py",

backends/arm/_passes/TARGETS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
1+
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
22

3-
runtime.python_library(
3+
python_library(
44
name = "passes",
55
srcs = glob(["*.py"]),
66
deps = [

backends/arm/operator_support/TARGETS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
1+
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
22

3-
runtime.python_library(
3+
python_library(
44
name = "operator_support",
55
srcs = glob(["*.py"]),
66
deps = [

backends/arm/operators/TARGETS

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# @noautodeps
2-
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
2+
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
33

4-
runtime.python_library(
4+
python_library(
55
name = "node_visitor",
66
srcs = ["node_visitor.py"],
77
deps = [
@@ -10,7 +10,7 @@ runtime.python_library(
1010
],
1111
)
1212

13-
runtime.python_library(
13+
python_library(
1414
name = "ops",
1515
srcs = glob(["op_*.py", "ops_*.py"]),
1616
deps = [
@@ -24,7 +24,7 @@ runtime.python_library(
2424
],
2525
)
2626

27-
runtime.python_library(
27+
python_library(
2828
name = "lib",
2929
srcs = ["__init__.py"],
3030
deps = [

backends/arm/quantizer/TARGETS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
1+
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
22

3-
runtime.python_library(
3+
python_library(
44
name = "arm_quantizer",
55
srcs = ["arm_quantizer.py"],
66
deps = [
@@ -11,7 +11,7 @@ runtime.python_library(
1111
],
1212
)
1313

14-
runtime.python_library(
14+
python_library(
1515
name = "quantization_annotator",
1616
srcs = ["quantization_annotator.py"],
1717
deps = [
@@ -21,15 +21,15 @@ runtime.python_library(
2121
],
2222
)
2323

24-
runtime.python_library(
24+
python_library(
2525
name = "quantization_config",
2626
srcs = ["quantization_config.py"],
2727
deps = [
2828
"//caffe2:torch",
2929
],
3030
)
3131

32-
runtime.python_library(
32+
python_library(
3333
name = "arm_quantizer_utils",
3434
srcs = ["arm_quantizer_utils.py"],
3535
deps = [

backends/arm/test/TARGETS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
1+
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
22
load(":targets.bzl", "define_arm_tests")
33

44

55
oncall("executorch")
66

7-
runtime.python_library(
7+
python_library(
88
name = "conftest",
99
srcs = ["conftest.py"],
1010
deps = [
@@ -14,7 +14,7 @@ runtime.python_library(
1414
]
1515
)
1616

17-
runtime.python_library(
17+
python_library(
1818
name = "runner_utils",
1919
srcs = ["runner_utils.py"],
2020
deps = [
@@ -26,7 +26,7 @@ runtime.python_library(
2626
]
2727
)
2828

29-
runtime.python_library(
29+
python_library(
3030
name = "common",
3131
srcs = ["common.py"],
3232
deps = [
@@ -39,7 +39,7 @@ runtime.python_library(
3939
]
4040
)
4141

42-
runtime.python_library(
42+
python_library(
4343
name = "arm_tester",
4444
srcs = glob(["tester/*.py"]),
4545
deps = [

backends/cadence/aot/TARGETS

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# LICENSE file in the root directory of this source tree.
66

77
load("@fbcode_macros//build_defs:export_files.bzl", "export_file")
8-
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
8+
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
99
load(
1010
"@fbsource//tools/build_defs:default_platform_defs.bzl",
1111
"CXX",
@@ -15,7 +15,7 @@ load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")
1515

1616
oncall("odai_jarvis")
1717

18-
runtime.python_library(
18+
python_library(
1919
name = "utils",
2020
srcs = [
2121
"utils.py",
@@ -30,7 +30,7 @@ runtime.python_library(
3030
],
3131
)
3232

33-
runtime.python_library(
33+
python_library(
3434
name = "compiler",
3535
srcs = [
3636
"compiler.py",
@@ -51,7 +51,7 @@ runtime.python_library(
5151
],
5252
)
5353

54-
runtime.python_library(
54+
python_library(
5555
name = "export_example",
5656
srcs = [
5757
"export_example.py",
@@ -73,7 +73,7 @@ runtime.python_library(
7373
],
7474
)
7575

76-
runtime.python_library(
76+
python_library(
7777
name = "pass_utils",
7878
srcs = [
7979
"pass_utils.py",
@@ -88,7 +88,7 @@ runtime.python_library(
8888
],
8989
)
9090

91-
runtime.python_library(
91+
python_library(
9292
name = "passes",
9393
srcs = [
9494
"passes.py",
@@ -108,7 +108,7 @@ runtime.python_library(
108108
],
109109
)
110110

111-
runtime.python_library(
111+
python_library(
112112
name = "ops_registrations",
113113
srcs = [
114114
"ops_registrations.py",
@@ -148,7 +148,7 @@ python_unittest(
148148
],
149149
)
150150

151-
runtime.python_library(
151+
python_library(
152152
name = "compiler_utils",
153153
srcs = [
154154
"compiler_utils.py",
@@ -160,7 +160,7 @@ runtime.python_library(
160160
],
161161
)
162162

163-
runtime.python_library(
163+
python_library(
164164
name = "graph_builder",
165165
srcs = [
166166
"graph_builder.py",
@@ -172,7 +172,7 @@ runtime.python_library(
172172
],
173173
)
174174

175-
runtime.python_library(
175+
python_library(
176176
name = "fuse_ops",
177177
srcs = [
178178
"fuse_ops.py",
@@ -192,7 +192,7 @@ runtime.python_library(
192192
],
193193
)
194194

195-
runtime.python_library(
195+
python_library(
196196
name = "simplify_ops",
197197
srcs = [
198198
"simplify_ops.py",
@@ -206,7 +206,7 @@ runtime.python_library(
206206
],
207207
)
208208

209-
runtime.python_library(
209+
python_library(
210210
name = "remove_ops",
211211
srcs = [
212212
"remove_ops.py",
@@ -224,7 +224,7 @@ runtime.python_library(
224224
],
225225
)
226226

227-
runtime.python_library(
227+
python_library(
228228
name = "reorder_ops",
229229
srcs = [
230230
"reorder_ops.py",
@@ -242,7 +242,7 @@ runtime.python_library(
242242
],
243243
)
244244

245-
runtime.python_library(
245+
python_library(
246246
name = "replace_ops",
247247
srcs = [
248248
"replace_ops.py",
@@ -380,7 +380,7 @@ python_unittest(
380380
)
381381

382382

383-
runtime.python_library(
383+
python_library(
384384
name = "memory_planning",
385385
srcs = [
386386
"memory_planning.py",
@@ -398,7 +398,7 @@ runtime.python_library(
398398
)
399399

400400

401-
runtime.python_library(
401+
python_library(
402402
name = "memory_constraints",
403403
srcs = [
404404
"memory_constraints.py",

backends/cadence/aot/quantizer/TARGETS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
1+
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
22

33
oncall("odai_jarvis")
44

5-
runtime.python_library(
5+
python_library(
66
name = "utils",
77
srcs = [
88
"utils.py",
@@ -12,7 +12,7 @@ runtime.python_library(
1212
],
1313
)
1414

15-
runtime.python_library(
15+
python_library(
1616
name = "patterns",
1717
srcs = [
1818
"patterns.py",
@@ -24,7 +24,7 @@ runtime.python_library(
2424
],
2525
)
2626

27-
runtime.python_library(
27+
python_library(
2828
name = "quantizer",
2929
srcs = [
3030
"quantizer.py",
@@ -38,7 +38,7 @@ runtime.python_library(
3838
],
3939
)
4040

41-
runtime.python_library(
41+
python_library(
4242
name = "fusion_pass",
4343
srcs = [
4444
"fusion_pass.py",

backends/cadence/runtime/TARGETS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
load(":targets.bzl", "define_common_targets")
2-
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
2+
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
33

44
oncall("odai_jarvis")
55

6-
runtime.python_library(
6+
python_library(
77
name = "runtime",
88
srcs = [
99
"__init__.py",

0 commit comments

Comments
 (0)