Repository navigation
Expand file tree
/
Copy pathBUCK
More file actions
70 lines (64 loc) · 1.63 KB
/
Copy pathBUCK
File metadata and controls
70 lines (64 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
oncall("executorch")
fbcode_target(_kind = runtime.python_library,
name = "preprocess_sdk_unbound",
srcs = [
"preprocess.py"
],
labels = ["noautodeps"],
visibility = ["PUBLIC"],
deps = [
"//executorch/exir/_serialize:lib",
"//executorch/exir/backend:backend_api",
"//executorch/exir/passes:lib",
],
)
fbcode_target(_kind = runtime.python_library,
name = "partitioner_sdk_unbound",
srcs = [
"partitioner.py"
],
labels = ["noautodeps"],
visibility = ["PUBLIC"],
deps = [
":preprocess_sdk_unbound",
],
)
fbcode_target(_kind = runtime.python_library,
name = "preprocess",
srcs = [
"preprocess.py"
],
visibility = ["PUBLIC"],
deps = [
"//executorch/exir/_serialize:lib",
"//executorch/exir/backend:backend_api",
"//executorch/exir/passes:lib",
"fbsource//third-party/mediatek/neuropilot-express-sdk:sdk",
],
)
fbcode_target(_kind = runtime.python_library,
name = "partitioner",
srcs = [
"partitioner.py"
],
visibility = ["PUBLIC"],
deps = [
":preprocess",
],
)
fbcode_target(
_kind = runtime.python_test,
name = "preprocess_test",
py_version = "3.12",
srcs = [
"test_preprocess.py",
],
deps = [
":preprocess",
"//executorch/exir:lib",
"//executorch/exir/_serialize:lib",
"//executorch/exir/backend:backend_api",
],
)