Skip to content

Commit ac40ad4

Browse files
authored
[executorch][native] Implement to_native
Differential Revision: D113805832 Pull Request resolved: pytorch#22009
1 parent 34cd1de commit ac40ad4

5 files changed

Lines changed: 813 additions & 9 deletions

File tree

‎exir/native/BUCK‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
33

44
oncall("executorch")
55

6-
# Separate from //executorch/exir:lib because the implementation depends on a
7-
# concrete backend, and backends/native depends on exir:lib. Keeping this its own
8-
# target is what makes the graph acyclic.
6+
# Separate from //executorch/exir:lib because this depends on a concrete backend,
7+
# and backends/native depends on exir:lib. Keeping it its own target is what makes
8+
# the graph acyclic.
99
fbcode_target(
1010
_kind = runtime.python_library,
1111
name = "native",
@@ -17,6 +17,8 @@ fbcode_target(
1717
visibility = ["PUBLIC"],
1818
deps = [
1919
"//caffe2:torch",
20+
"//executorch/backends/native:lib",
2021
"//executorch/exir:lib",
22+
"//executorch/exir/_serialize:ptn",
2123
],
2224
)

0 commit comments

Comments
 (0)