Skip to content

Commit 1166bfc

Browse files
Eashan Gargfacebook-github-bot
authored andcommitted
Add memory planning tests to Cadence
Summary: Adding memory planning tests to Cadence backend Reviewed By: zonglinpeng Differential Revision: D67183235
1 parent f370e78 commit 1166bfc

File tree

2 files changed

+623
-0
lines changed

2 files changed

+623
-0
lines changed

backends/cadence/aot/TARGETS

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,3 +409,22 @@ python_library(
409409
"//executorch/exir:tensor",
410410
],
411411
)
412+
413+
414+
python_unittest(
415+
name = "test_memory_passes",
416+
srcs = [
417+
"tests/test_memory_passes.py",
418+
],
419+
typing = True,
420+
deps = [
421+
":compiler",
422+
":memory_planning",
423+
":ops_registrations",
424+
":pass_utils",
425+
"//caffe2:torch",
426+
"//executorch/exir:memory",
427+
"//executorch/exir/dialects:lib",
428+
"//executorch/exir/tests:models",
429+
],
430+
)

0 commit comments

Comments
 (0)