cbalint13 commented on code in PR #17162:
URL: https://github.com/apache/tvm/pull/17162#discussion_r1679121289
##########
python/tvm/contrib/hexagon/session.py:
##########
@@ -358,15 +358,17 @@ def _graph_executor_from_factory(
"""
return self.get_graph_executor(module.get_graph_json(),
module.get_lib())
- def _relax_vm_executable_executor(self, vm_exec: relax.Executable,
hexagon_arch: str):
+ def _relax_vm_executable_executor(
+ self, vm_exec: Union[relax.Executable, str], hexagon_arch: str
+ ):
"""Create a local TVM module which consumes a remote vm executable.
Paramters
---------
vm_exec : relax.Executable
The Relax VM Executable to upload to the remote and load. This
will typically be the
- output of `relax.build`.
+ output of `relax.build` or The path to an already built and
exported shared library
Review Comment:
A minor cosmetic here: s/or The/or the/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]