Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions python/tvm/contrib/hexagon/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,9 @@ def get_aot_executor(
GraphModule :
Runtime graph module that can be used to execute the graph.
"""
aot_mod = self.load_module(module_file)
return tvm.runtime.executor.AotModule(aot_mod["default"](self.device))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a github issue describing the problem and link it here. Also mention that this is a temporary fix

Copy link
Contributor Author

@janetsc janetsc Jan 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review! Filed #13741

# Temporary workaround for https://github.com/apache/tvm/issues/13741
self.aot_mod = self.load_module(module_file)
return tvm.runtime.executor.AotModule(self.aot_mod["default"](self.device))

def get_graph_debug_executor(
self,
Expand Down