Skip to content

Commit 7d6bbbf

Browse files
author
Zonglin Peng
committed
[cadence][7/X] add remove ops to oss and callsites
titled Differential Revision: [D66067650](https://our.internmc.facebook.com/intern/diff/D66067650/) [ghstack-poisoned]
1 parent 709e739 commit 7d6bbbf

File tree

2 files changed

+668
-0
lines changed

2 files changed

+668
-0
lines changed

backends/cadence/aot/TARGETS

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,24 @@ python_library(
180180
],
181181
)
182182

183+
python_library(
184+
name = "remove_ops",
185+
srcs = [
186+
"remove_ops.py",
187+
],
188+
typing = True,
189+
deps = [
190+
"//caffe2:torch",
191+
"//executorch/backends/cadence/aot:pass_utils",
192+
"//executorch/backends/cadence/aot:passes",
193+
"//executorch/backends/cadence/aot:simplify_ops",
194+
"//executorch/exir:pass_base",
195+
"//executorch/exir/dialects:lib",
196+
"//executorch/exir/dialects/edge:lib",
197+
"//executorch/exir/passes:spec_prop_pass",
198+
],
199+
)
200+
183201
python_unittest(
184202
name = "test_graph_builder",
185203
srcs = [

0 commit comments

Comments
 (0)