tqchen commented on a change in pull request #8576:
URL: https://github.com/apache/tvm/pull/8576#discussion_r687273197



##########
File path: vta/python/vta/__init__.py
##########
@@ -29,8 +30,18 @@
 
 __version__ = "0.1.0"
 
-# do not from tvm import topi when running vta.exec.rpc_server
-# to maintain minimum dependency on the board
-if sys.argv[0] not in ("-c", "-m"):
+_LOG = logging.getLogger(__name__)
+
+# do not from tvm import topi when __main__ is in vta_onboard
+# to maintain minimum Python dependencies on the board.
+# TODO(vta-team): move board-only logic imported above into vta_onboard.

Review comment:
       This is likely no longer needed after my update 
https://github.com/apache/tvm/blob/main/vta/python/vta/__init__.py#L36




-- 
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]


Reply via email to