1
1
# @noautodeps
2
2
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
3
-
4
3
python_library(
5
4
name = "arm_partitioner",
6
5
srcs = [
@@ -9,21 +8,18 @@ python_library(
9
8
"tosa_backend.py",
10
9
"tosa_partitioner.py",
11
10
],
12
- typing = True,
13
11
deps = [
14
12
":arm_backend",
15
13
"//executorch/backends/arm/operator_support:operator_support",
16
14
"//executorch/backends/arm/_passes:passes",
17
15
"//executorch/exir:lib",
18
16
],
19
17
)
20
-
21
18
python_library(
22
19
name = "arm_backend",
23
20
srcs = [
24
21
"arm_backend.py",
25
22
],
26
- typing = True,
27
23
deps = [
28
24
"fbsource//third-party/pypi/flatbuffers:flatbuffers",
29
25
"fbsource//third-party/pypi/ml-dtypes:ml-dtypes",
@@ -36,11 +32,9 @@ python_library(
36
32
"//executorch/backends/arm/_passes:passes",
37
33
],
38
34
)
39
-
40
35
python_library(
41
36
name = "process_node",
42
37
srcs = ["process_node.py"],
43
- typing = True,
44
38
deps = [
45
39
"fbsource//third-party/serialization_lib/python/tosa:tosa",
46
40
"//executorch/backends/arm/operators:node_visitor",
@@ -50,36 +44,30 @@ python_library(
50
44
"//executorch/exir:lib",
51
45
],
52
46
)
53
-
54
47
python_library(
55
48
name = "arm_vela",
56
49
srcs = [
57
50
"arm_vela.py",
58
51
],
59
- typing = True,
60
52
deps = [
61
53
"fbsource//third-party/pypi/ethos-u-vela:ethos-u-vela",
62
54
],
63
55
)
64
-
65
56
python_library(
66
57
name = "tosa_mapping",
67
58
srcs = [
68
59
"tosa_mapping.py",
69
60
],
70
- typing = True,
71
61
deps = [
72
62
"fbsource//third-party/serialization_lib/python/serializer:serializer",
73
63
"//caffe2:torch",
74
64
],
75
65
)
76
-
77
66
python_library(
78
67
name = "tosa_quant_utils",
79
68
srcs = [
80
69
"tosa_quant_utils.py",
81
70
],
82
- typing = True,
83
71
deps = [
84
72
"fbsource//third-party/pypi/numpy:numpy",
85
73
"fbsource//third-party/serialization_lib/python/serializer:serializer",
@@ -88,38 +76,32 @@ python_library(
88
76
"//executorch/exir/dialects:lib",
89
77
],
90
78
)
91
-
92
79
python_library(
93
80
name = "tosa_specification",
94
81
srcs = [
95
82
"tosa_specification.py",
96
83
],
97
- typing = True,
98
84
deps = [
99
85
"fbsource//third-party/pypi/packaging:packaging",
100
86
"//executorch/exir/backend:compile_spec_schema",
101
87
],
102
88
)
103
-
104
89
python_library(
105
90
name = "tosa_utils",
106
91
srcs = [
107
92
"tosa_utils.py",
108
93
],
109
- typing = True,
110
94
deps = [
111
95
"fbsource//third-party/serialization_lib/python/serializer:serializer",
112
96
":tosa_quant_utils",
113
97
"//executorch/backends/arm/operators:node_visitor",
114
98
],
115
99
)
116
-
117
100
python_library(
118
101
name = "arm_model_evaluator",
119
102
srcs = [
120
103
"util/arm_model_evaluator.py",
121
104
],
122
- typing = True,
123
105
deps = [
124
106
"//caffe2:torch",
125
107
]
0 commit comments