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



##########
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:
       Ah...you move it here. But i am curious why we should need it here. For 
testing?




----------------------------------------------------------------
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:
[email protected]


Reply via email to