Default value for graph_runtime Init lookup_linked_param_func#7676
Merged
anijain2305 merged 1 commit intoapache:mainfrom Mar 18, 2021
Merged
Default value for graph_runtime Init lookup_linked_param_func#7676anijain2305 merged 1 commit intoapache:mainfrom
anijain2305 merged 1 commit intoapache:mainfrom
Conversation
e369309 to
ef4c9c7
Compare
zhiics
approved these changes
Mar 18, 2021
anijain2305
approved these changes
Mar 18, 2021
Contributor
|
Thanks @apivovarov @d-smirnov @zhiics |
AndrewZhaoLuo
pushed a commit
to AndrewZhaoLuo/tvm
that referenced
this pull request
Mar 22, 2021
* main: [AutoScheduler] Add function name in message (apache#7703) [Vulkan] Workaround for zero size allocation (apache#7691) Change behavior of onnx importer to throw when user provides an input no in the graph. (apache#7699) Free TensorRT engine and context (apache#7702) [TFLite] Cast operator adapted for MLIR-based convertor (apache#7639) [CPP_RPC] allow user supplied work dir (apache#7670) Default value for graph_runtime Init lookup_linked_param_func (apache#7676)
trevor-m
pushed a commit
to trevor-m/tvm
that referenced
this pull request
May 6, 2021
trevor-m
pushed a commit
to neo-ai/tvm
that referenced
this pull request
May 11, 2021
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
In previous TVM version GraphRuntime
Initmethod had 3 parameters.graph_jsonThe execution graphmoduleThe module containing the compiled functionsctxsThe context of the host and devicesNow
Initmethod has one additional parameter:lookup_linked_param_funcIf given, a PackedFunc invoked to lookupIn most of the cases this parameter is set to nullptr.
To keep GraphRuntime API backward compatibility we can make new parameter
lookup_linked_param_funcoptional by setting its default value tonullptr.