Skip to content

Commit c5942c2

Browse files
Zonglin Pengfacebook-github-bot
authored andcommitted
add fusion pass testing
Differential Revision: D66078157
1 parent e243af0 commit c5942c2

File tree

2 files changed

+613
-0
lines changed

2 files changed

+613
-0
lines changed

backends/cadence/aot/TARGETS

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,3 +277,22 @@ python_unittest(
277277
"//executorch/exir/passes:lib",
278278
],
279279
)
280+
281+
python_unittest(
282+
name = "test_fusion_ops_passes",
283+
srcs = [
284+
"tests/test_fusion_ops_passes.py",
285+
],
286+
typing = True,
287+
deps = [
288+
":compiler",
289+
"//caffe2:torch",
290+
"//executorch/backends/cadence/aot:compiler",
291+
"//executorch/backends/cadence/aot:fuse_ops",
292+
"//executorch/backends/cadence/aot:graph_builder",
293+
"//executorch/backends/cadence/aot:ops_registrations",
294+
"//executorch/backends/cadence/aot:pass_utils",
295+
"//executorch/exir/dialects:lib",
296+
"//executorch/exir/dialects/edge:lib",
297+
],
298+
)

0 commit comments

Comments
 (0)