-
Notifications
You must be signed in to change notification settings - Fork 364
feat: Implement symbolic shape propagation, sym_size converter #2473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
d06c74a
chore: Switch to new export apis
peri044 47e0997
chore: rebase with main
peri044 fd29fe0
Merge branch 'main' into export_2.2
peri044 ad3b031
feat: Add support for dynamic shapes and remove constraints API
peri044 1582b72
chore: add dynamic shape support for certain converters
peri044 4d01545
chore: minor updates
peri044 6731a57
chore: updates
peri044 a8a194b
chore: rebase with main
peri044 0b60aae
chore: add sym int converter
peri044 634612f
feat: Replace the existing shape propagation with symbolic shape prop…
peri044 93edba4
chore: fix imports
peri044 7ad9272
chore: fix imports
peri044 f444d54
chore: updates
peri044 6e5c582
chore: change device calls
peri044 83791f8
chore: fix metadata check
peri044 8375996
chore: rebase with main
peri044 aba91fa
Merge branch 'main' into dyn_2.2
peri044 16394d9
chore: minor fixes
peri044 b9a7ccd
chore: Add sym_size converter tests
peri044 15cc643
chore: Update test utilities
peri044 5234d74
chore: add testcase for sym_size.int
peri044 fd2dae1
Merge branch 'main' into dyn_2.2
peri044 51e8bb7
chore: revert output type change
peri044 19c3fad
chore: add update_metadata utility
peri044 ed48551
chore: change debug to warning if the graph does not have metadata
peri044 9aff04b
chore: gpt2 changes + linting
peri044 440fcd5
chore: gpt2 changes + linting
peri044 a2d38f3
chore: rebase with main
peri044 002db3c
chore: add fallback option if val is missing in metadata
peri044 00cd17b
chore: tmp changes
peri044 6ac70cd
chore: tmp changes
peri044 b827070
Merge branch 'main' into dyn_2.2
peri044 8f9bca0
Merge branch 'main' into dyn_2.2
peri044 cd86660
feat: Add save API for torch-trt compiled models
peri044 3ece71b
chore: resolve merge conflicts
peri044 1fa1771
Merge branch 'main' into dyn_2.2
peri044 febf05b
Merge branch 'save' into dyn_2.2
peri044 eab0dba
chore: Fix save failures
peri044 b191d62
chore: update to 2.3 rc build
peri044 5f34d4f
chore: minor fixes
peri044 ce606fe
chore: rebase with release/2.3 branch
peri044 8674a3c
chore: minor fixes
peri044 f4e8fe9
chore: remove duplicate bert test case
peri044 4ae6ab9
chore: remove comments
peri044 c14f28d
Merge branch 'save' into dyn_2.2
peri044 4188173
chore: rebase with release/2.3
peri044 78f7eb5
chore: updates
peri044 e9b649d
chore: revert changes
peri044 978c039
Merge branch 'release/2.3' into dyn_2.2
peri044 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
from ._adjacency_partitioner import partition as fast_partition | ||
from ._global_partitioner import partition as global_partition | ||
from .common import get_graph_converter_support, get_submod_inputs, run_shape_analysis | ||
from .common import ( | ||
construct_submodule_inputs, | ||
get_graph_converter_support, | ||
run_shape_analysis, | ||
) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.