Commit 85cb472e authored by Shinai Yang (FA TALENT)'s avatar Shinai Yang (FA TALENT)
Browse files

Merge branch 'master' of https://github.com/SparkSnail/nni

parents 85c015dc 2c862dcb
......@@ -65,7 +65,7 @@ def main_loop(args):
while True:
retCode = process.poll()
# child worker process exits and all stdout data is read
if retCode is not None and log_pipe_stdout.is_read_completed == True:
if retCode is not None and log_pipe_stdout.set_process_exit() and log_pipe_stdout.is_read_completed == True:
nni_log(LogType.Info, 'subprocess terminated. Exit code is {}. Quit'.format(retCode))
if args.pai_hdfs_output_dir is not None:
# Copy local directory to hdfs for OpenPAI
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment