This is an automated email from the ASF dual-hosted git repository.
mehrdadh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 872773fee2 [Hexagon] Do not pass lookup_linked_params to graph
executor (#10944)
872773fee2 is described below
commit 872773fee23e4cfabe1aa5345ecd8530b613b338
Author: Krzysztof Parzyszek <[email protected]>
AuthorDate: Mon Apr 11 11:03:38 2022 -0500
[Hexagon] Do not pass lookup_linked_params to graph executor (#10944)
This function is no longer used or generated, so it comes from the
registry as an "empty" PackedFunc. If the lookup function is provided,
the executor will expect it not to be empty, which leads to a failed
assertion.
---
apps/hexagon_launcher/launcher_core.cc | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/apps/hexagon_launcher/launcher_core.cc
b/apps/hexagon_launcher/launcher_core.cc
index 0fe9f9f59e..106e1a6a72 100644
--- a/apps/hexagon_launcher/launcher_core.cc
+++ b/apps/hexagon_launcher/launcher_core.cc
@@ -170,10 +170,6 @@ tvm::runtime::Module create_graph_executor(const
std::string& graph_json,
uint64_t device_type = device.device_type;
uint64_t device_id = device.device_id;
- std::string linked_params = "tvm.runtime.hexagon.lookup_linked_params";
- const tvm::runtime::PackedFunc lookup_linked_params =
get_runtime_func(linked_params);
- // Use default param lookup function (linked into the module).
- tvm::runtime::TVMRetValue rv =
- create_executor(graph_json, graph_module, lookup_linked_params,
device_type, device_id);
+ tvm::runtime::TVMRetValue rv = create_executor(graph_json, graph_module,
device_type, device_id);
return rv.operator tvm::runtime::Module();
}