This repository was 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.7k
Dynamic subgraph property #17034
Merged
Merged
Dynamic subgraph property #17034
Changes from all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
cf30d30
initial commit
58a41ff
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
702cf50
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
d17a118
added subgraphCreate API function to partition the model/graph
e05d4e1
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
d0f2fb3
cleaned up API, added API to specify subgraphOp
55e8861
fixed whitespace
samskalicky 8c97c45
added custom subgraph property
samskalicky 0ebf5b6
fixed whitespace
samskalicky 84f8426
fixed subgraph property
samskalicky 2a1c6fe
fixed whitespace
samskalicky d3c277d
added registration of custom subgraph property in c_api
samskalicky 55e0974
added support for calling supportOps from customSubgraphProperty
samskalicky 060c8b6
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky 6a7e3f7
sending symbol json to supportedOps API
samskalicky 0488879
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky fa206e4
working partitioning example
samskalicky 79d08ea
fixed whitespace
samskalicky bbe4062
fixed whitespace
samskalicky a418301
fixed style
samskalicky 420e77a
fixed style
samskalicky 2f354a4
Annotate the symbol json string with shape/type info from the graph o…
samskalicky 92e6f00
Support multiple supportOps functions grouped together. Similar to ho…
samskalicky 901d308
fixed whitespace
samskalicky 053f14e
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky 9b160d6
changed vector to unordered_set for performance
samskalicky ea29e4b
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky bd79319
fixed clearing supportedNodes set after multiple calls
samskalicky 1e41f8e
changed types to int64_t for tensor sizes, fixed indent
samskalicky e41c50d
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky dd2de0a
added support for passing options to supportedOps
samskalicky 7ea4330
new API to to review subgraphs after partitioning
samskalicky 022b709
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky 2f54b12
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky 65b30e8
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky b4b4862
added function to revert subgraphing if rejected by subgraph prop
samskalicky 1b3506a
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky cb199cc
added infrastructure to test subgraph libs in the CI
samskalicky 241b591
fixed whitespace
samskalicky 25b71fb
changed default context to CPU since GPU is not supported yet
samskalicky a53277d
fixed
samskalicky 2fd7423
added include
samskalicky 8434bd8
fixed return types
samskalicky 3ca5882
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky 65012cd
added memory free in error condition
samskalicky d8cbfeb
added clearer function comment
samskalicky 9ddf449
added file comment
samskalicky 17b7631
added more prints in example test for clarity
samskalicky d0f2efb
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky fc70db3
enhancements from review
samskalicky fcf483c
retrigger CI
samskalicky d915dc6
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky 71109ce
stopped passing bool types across ABI boundary (changed to int)
samskalicky 5810a16
removed subgraph op from custom_op example
samskalicky 27d0b20
changed subgraph example to use isSubgraphOp
samskalicky 4278d22
added functionality to set "isArg" attribute for subgraph inputs
samskalicky 4e5d849
added comment
samskalicky 034cb89
added functionality to set aux attribute for inputs to subgraph
samskalicky 1ffabfb
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky 584c0f6
fixed whitespace and cmakelists
samskalicky e09750a
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky d7e5dbb
changed acceptSubgraph API to let library set attributes on subgraph …
samskalicky add02d1
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky 34ff989
fixed whitespace
samskalicky dda4c86
fixed seconds
samskalicky 1931599
retrigger ci
samskalicky 31473ba
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky 39ed299
removed unused code
samskalicky 13cfc1c
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
samskalicky 967787e
fixed variable naming
samskalicky f90df49
Merge branch 'master' of https://github.com/apache/incubator-mxnet in…
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 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 was deleted.
Oops, something went wrong.
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 |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Licensed to the Apache Software Foundation (ASF) under one | ||
|
eric-haibin-lin marked this conversation as resolved.
|
||
| # or more contributor license agreements. See the NOTICE file | ||
| # distributed with this work for additional information | ||
| # regarding copyright ownership. The ASF licenses this file | ||
| # to you under the Apache License, Version 2.0 (the | ||
| # "License"); you may not use this file except in compliance | ||
| # with the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, | ||
| # software distributed under the License is distributed on an | ||
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| # KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations | ||
| # under the License. | ||
|
|
||
| all: subgraph_lib | ||
|
|
||
| subgraph_lib: | ||
| g++ -shared -fPIC -std=c++11 subgraph_lib.cc -o libsubgraph_lib.so -I ../../../include/mxnet | ||
|
|
||
| clean: | ||
| rm -rf libsubgraph_lib.so | ||
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.