-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call the quantizer from the OSS repo (#3597)
Summary: Pull Request resolved: #3597 As titled. Remove the unneeded meta-repo things as well! Reviewed By: tarun292, dulinriley, zonglinpengmeta Differential Revision: D57084231 fbshipit-source-id: 8d23f869080a729d5fab5026194fefe22f7e34c2
- Loading branch information
1 parent
46ec26b
commit c7104db
Showing
3 changed files
with
50 additions
and
2 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,49 @@ | ||
load("@fbcode_macros//build_defs:python_library.bzl", "python_library") | ||
|
||
oncall("odai_jarvis") | ||
|
||
python_library( | ||
name = "utils", | ||
srcs = [ | ||
"utils.py", | ||
], | ||
deps = [ | ||
"//caffe2:torch", | ||
], | ||
) | ||
|
||
python_library( | ||
name = "patterns", | ||
srcs = [ | ||
"patterns.py", | ||
], | ||
deps = [ | ||
":utils", | ||
"//caffe2:torch", | ||
], | ||
) | ||
|
||
python_library( | ||
name = "quantizer", | ||
srcs = [ | ||
"quantizer.py", | ||
], | ||
deps = [ | ||
":patterns", | ||
":utils", | ||
"//caffe2:torch", | ||
], | ||
) | ||
|
||
python_library( | ||
name = "fusion_pass", | ||
srcs = [ | ||
"fusion_pass.py", | ||
], | ||
deps = [ | ||
":patterns", | ||
":utils", | ||
"//caffe2:torch", | ||
"//executorch/exir:pass_base", | ||
], | ||
) |
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