-
Notifications
You must be signed in to change notification settings - Fork 355
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
Summary: As titled. Remove the unneeded meta-repo things as well! Differential Revision: D57084231
- Loading branch information
1 parent
c69861d
commit 1de5317
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