This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Dynamic subgraph compile support #17623
Merged
Merged
Changes from 3 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
639db17
passed args down to acceptSubgraph
samskalicky 5898d53
added example and set param names on inputs to subgraph to map
samskalicky 2294584
increased lib_api version number
samskalicky fad8e74
fixed whitespace
samskalicky 734f1c4
fixed spacing
samskalicky 934ae8f
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky ceed9be
added info about lib_api.h to README
samskalicky 098db85
updated readme for new args argument to reviewSubgraph
samskalicky cfcc0a6
added more tests
samskalicky 1fa7f1d
added example for partitioning HybridBlock in-place without forward pass
samskalicky 8f37c48
added example for partitioning
samskalicky 729173f
fixed whitespace
samskalicky bb90d70
fixed sanity
samskalicky 06c3841
fixed lint
samskalicky f8f6191
added support for passing aux
samskalicky dc17e3f
fixed lint
samskalicky 56bbb01
sanity
samskalicky a12517d
perl changes
samskalicky c5d322e
replaced code with hybridize call
samskalicky 4333260
added unittest for gluon optimize_for
samskalicky adde456
fixed whitespace
samskalicky 8f58f33
fixed test
samskalicky 4daefa7
addressed comments
samskalicky 68f3de0
fixed grammar
samskalicky 3e4b09a
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky 520edcc
fixed spelling
samskalicky 55d575b
added aux argument to the reviewSubgraph API in README
samskalicky 005b53c
updated infer shape to use aux for optimize_for
samskalicky a51486c
Merge branch 'subgraph_compile' of https://github.com/samskalicky/inc…
samskalicky 668e315
fixed spacing
samskalicky bb7e52d
changed shape/dtype keys so they dont conflict with MXNet operator attrs
samskalicky 20382ae
added error message to show missing arg/aux
samskalicky a2a9df1
added calls to setDLtensor for MXTensor constructors
samskalicky 23958da
changed tests to pass aux in addition to args
samskalicky 4f1d0d2
fixed bug passing attributes
samskalicky 127bcbf
fixed memory leak where user attribute strings were not freed
samskalicky 3f57b9b
added passing down shapes/dtypes to subgraph inputs
samskalicky c971fdc
fixed style
samskalicky 2d9995a
fixed docstring
samskalicky ade7d48
removed space
samskalicky 736cd8f
changed defines
samskalicky 7fb9ea3
fixed bug in indexing into map with shapes/types when annotating the …
samskalicky b0a79e5
added support for MKLDNN tensor format conversion in case user does p…
samskalicky 488740a
cleaned up code and added comments
samskalicky 3b278be
fixed whitespace
samskalicky 26734fe
added guards around MKLDNN checks for non-MKLDNN builds
samskalicky 277288d
refactor to use pointers to reduce code duplication
samskalicky 5940450
added MKLDNN guards for custom op
samskalicky c1d3f5e
fixed whitespace
samskalicky 0b38e5c
added subgraph property API to let subg_prop initialize subgraph inputs
samskalicky d59a4dc
moved custom code to subgraph property API, cleaned up build_subgraph.cc
samskalicky 5abc8c3
added support for ops with multiple outputs and InitSubgraphInputs
samskalicky 90f6973
fixed sanity, removed prints
samskalicky 28b6bef
fixed whitespace
samskalicky 516d149
fixed shape/dtype parsing
samskalicky 4e2efec
fixed lint
samskalicky 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modify logic for the case when
n
is a subgraph node andshape
a list of listsThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed