forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTARGETS
More file actions
69 lines (63 loc) · 1.49 KB
/
TARGETS
File metadata and controls
69 lines (63 loc) · 1.49 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
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")
oncall("executorch")
runtime.cxx_python_extension(
name = "bindings",
srcs = [
"bindings.cpp",
],
deps = [
"fbsource//third-party/pybind11:pybind11",
"//caffe2:torch-cpp-cpu",
"//caffe2:torch_extension",
"//caffe2/c10:c10",
],
)
runtime.python_library(
name = "interpreter",
srcs = [
"interpreter.py",
],
deps = [
":bindings", # @manual
"//caffe2:torch",
"//executorch/exir:lib",
"//executorch/exir:schema",
"//executorch/exir:tensor",
"//executorch/extension/pytree:pylib",
],
)
runtime.python_library(
name = "devhtml",
srcs = [
"dev_html.py",
],
deps = [
":interpreter", # @manual
],
)
runtime.python_library(
name = "verifier",
srcs = [
"arg_validator.py",
"verifier.py",
],
deps = [
"//caffe2:torch",
"//executorch/exir:error",
"//executorch/exir:lowered_backend_module",
"//executorch/exir/capture:config",
"//executorch/exir/dialects/edge:lib",
"//executorch/exir/emit:emit",
],
)
python_unittest(
name = "test_verifier",
srcs = ["test/test_verifier.py"],
deps = [
":verifier",
"//caffe2:torch",
"//executorch/exir:lib",
"//executorch/exir/dialects:lib",
],
)