gromero commented on a change in pull request #9229:
URL: https://github.com/apache/tvm/pull/9229#discussion_r735775515
##########
File path: python/tvm/driver/tvmc/runner.py
##########
@@ -404,16 +513,24 @@ def run_module(
dev = session.vulkan()
elif device == "rocm":
dev = session.rocm()
+ elif device == "micro":
+ dev = session.device
+ lib = session.get_system_lib()
else:
assert device == "cpu"
dev = session.cpu()
+ # TODO(gromero): Adjust for micro targets.
Review comment:
For now. I've reverted to use the common code (and so use
`module.benchmark()`):
https://github.com/apache/tvm/pull/9229/commits/825376f680cb8f174bf3e5b6c6ef707f78c86cc6
And kept the workaround until we decide what to do so the branch is kept
working:
https://github.com/apache/tvm/pull/9229/commits/a63a48639bd8d5eda351d443c7ea4f8f2bfdfdbf
--
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]