Skip to content

Commit e243af0

Browse files
Zonglin Pengfacebook-github-bot
authored andcommitted
add replace pass testing
Differential Revision: D66068436
1 parent 487cc19 commit e243af0

File tree

2 files changed

+1757
-0
lines changed

2 files changed

+1757
-0
lines changed

backends/cadence/aot/TARGETS

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,3 +256,24 @@ python_unittest(
256256
":ops_registrations"
257257
],
258258
)
259+
260+
python_unittest(
261+
name = "test_replace_ops_passes",
262+
srcs = [
263+
"tests/test_replace_ops_passes.py",
264+
],
265+
supports_static_listing = False,
266+
typing = True,
267+
deps = [
268+
"fbsource//third-party/pypi/parameterized:parameterized",
269+
":compiler",
270+
":replace_ops",
271+
"//caffe2:torch",
272+
"//executorch/backends/cadence/aot:compiler",
273+
"//executorch/backends/cadence/aot:graph_builder",
274+
"//executorch/backends/cadence/aot:pass_utils",
275+
"//executorch/exir:pass_base",
276+
"//executorch/exir/dialects:lib",
277+
"//executorch/exir/passes:lib",
278+
],
279+
)

0 commit comments

Comments
 (0)