-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(//py)!: Kwargs updates and support for shifting internal apis
BREAKING CHANGE: This commit changes the APIs from a dictionary of arguements to a set of kwargs. You can port forward using ```py trtorch.compile(mod, **spec) ``` Also in preparation for partial compilation to be enabled by default settings related to torch fallback have been moved to the top level instead of ```py "torch_fallback": { "enabled": True, "min_block_size" " 3, "forced_fallback_ops" : ["aten::add"], "forced_fallback_mods" : ["MySubModule"] } ``` now there are new settings ```py require_full_compilation=False, min_block_size=3, torch_executed_ops=["aten::add"], torch_executed_modules=["MySubModule"] ``` Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
- Loading branch information
1 parent
748ecf3
commit 2a0d1c8
Showing
8 changed files
with
140 additions
and
109 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
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
Oops, something went wrong.