-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Pull Request resolved: #3690 Changes some types in `export_to_edge`, add an `export_to_cadence` function, and refactor some calls. Mostly preemptive work before adding a lot of AoT passes. Reviewed By: dulinriley, zonglinpengmeta Differential Revision: D57579738 fbshipit-source-id: 8c7975488636bd946894f7f7e62da7e76eb29c65
- Loading branch information
1 parent
91bf5b9
commit ed2da4f
Showing
4 changed files
with
76 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Copyright (c) Meta Platforms, Inc. and affiliates. | ||
# All rights reserved. | ||
# | ||
# This source code is licensed under the BSD-style license found in the | ||
# LICENSE file in the root directory of this source tree. | ||
|
||
load("@fbcode_macros//build_defs:python_library.bzl", "python_library") | ||
|
||
oncall("odai_jarvis") | ||
|
||
python_library( | ||
name = "compiler", | ||
srcs = [ | ||
"compiler.py", | ||
], | ||
deps = [ | ||
":passes", | ||
"//caffe2:torch", | ||
"//executorch/exir:lib", | ||
], | ||
) | ||
|
||
python_library( | ||
name = "passes", | ||
srcs = [ | ||
"passes.py", | ||
], | ||
deps = [ | ||
"//executorch/exir:pass_base", | ||
"//executorch/exir/dialects:lib", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters