MargaretQian commented on a change in pull request #10722:
URL: https://github.com/apache/tvm/pull/10722#discussion_r837785376
##########
File path: python/tvm/driver/tvmc/runner.py
##########
@@ -530,58 +531,82 @@ def run_module(
assert device == "cpu"
dev = session.cpu()
- # TODO(gromero): Adjust for micro targets.
- if profile:
- logger.debug("Creating runtime with profiling enabled.")
- module = debug_executor.create(tvmc_package.graph, lib, dev,
dump_root="./prof")
+ if tvmc_package.use_vm:
Review comment:
sounds good -- i'll keep the assertion below then!
--
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]