forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTARGETS
More file actions
83 lines (77 loc) · 1.76 KB
/
TARGETS
File metadata and controls
83 lines (77 loc) · 1.76 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
71
72
73
74
75
76
77
78
79
80
81
82
83
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
oncall("executorch")
runtime.python_library(
name = "cuda_passes",
srcs = [
"passes/__init__.py",
"passes/move_cond_predicate_to_cpu.py",
],
visibility = [
"//executorch/backends/cuda/...",
],
deps = [
"//caffe2:torch",
],
)
runtime.python_library(
name = "cuda_backend",
srcs = [
"cuda_backend.py",
],
visibility = [
"//executorch/...",
],
deps = [
":cuda_passes",
":triton_replacement_pass",
"//caffe2:torch",
"//executorch/backends/aoti/passes:passes",
"//executorch/exir/_serialize:lib",
"//executorch/exir/backend:backend_details",
"//executorch/exir/backend:compile_spec_schema",
"//executorch/backends/aoti:aoti_backend",
],
)
runtime.python_library(
name = "cuda_partitioner",
srcs = [
"cuda_partitioner.py",
],
visibility = [
"//executorch/...",
],
deps = [
"//caffe2:torch",
"//executorch/backends/aoti:aoti_partitioner",
],
)
runtime.python_library(
name = "triton_kernels",
srcs = [
"triton/kernels/__init__.py",
"triton/kernels/fused_moe.py",
"triton/kernels/sdpa.py",
"triton/kernels/topk.py",
],
visibility = [
"//executorch/backends/cuda/...",
],
deps = [
"//caffe2:torch",
],
)
runtime.python_library(
name = "triton_replacement_pass",
srcs = [
"triton/__init__.py",
"triton/replacement_pass.py",
],
visibility = [
"//executorch/...",
],
deps = [
":triton_kernels",
"//caffe2:torch",
"//executorch/exir/dialects:lib",
],
)