Skip to content

Commit

Permalink
Add memory planning tests to Cadence
Browse files Browse the repository at this point in the history
Differential Revision: D67183235

Pull Request resolved: #7431
  • Loading branch information
skrtskrtfb authored Dec 27, 2024
1 parent ed15042 commit 40e956f
Show file tree
Hide file tree
Showing 2 changed files with 623 additions and 0 deletions.
19 changes: 19 additions & 0 deletions backends/cadence/aot/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -409,3 +409,22 @@ python_library(
"//executorch/exir:tensor",
],
)


python_unittest(
name = "test_memory_passes",
srcs = [
"tests/test_memory_passes.py",
],
typing = True,
deps = [
":compiler",
":memory_planning",
":ops_registrations",
":pass_utils",
"//caffe2:torch",
"//executorch/exir:memory",
"//executorch/exir/dialects:lib",
"//executorch/exir/tests:models",
],
)
Loading

0 comments on commit 40e956f

Please sign in to comment.