Skip to content

Commit 6b31f0c

Browse files
committed
daemonize print process
1 parent 3406ad3 commit 6b31f0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchrunx/launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def launch(
112112
agent_log_files = [log_dir / f"{timestamp}_{hostname}.log" for hostname in hostnames]
113113

114114
# start process to read from agent 0 log
115-
print_process = Process(target=monitor_log, args=(agent_log_files[0],))
115+
print_process = Process(target=monitor_log, args=(agent_log_files[0],), daemon=True)
116116
print_process.start()
117117

118118
# start agents on each node

0 commit comments

Comments
 (0)