merrymercy commented on a change in pull request #6710:
URL: https://github.com/apache/incubator-tvm/pull/6710#discussion_r514835117



##########
File path: python/tvm/auto_scheduler/utils.py
##########
@@ -157,6 +157,9 @@ def __reduce__(self):
 
 def kill_child_processes(parent_pid, sig=signal.SIGTERM):
     """kill all child processes recursively"""
+    if not psutil:
+        raise ImportError("psutil not found, try `pip install psutil` to fix 
this")

Review comment:
       Yes, it is for testing. The goal is to minimize the dependency to run 
tvm.
   If users do not use auto-scheduler, then they do not need to install this 
package.




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to