Skip to content

Commit

Permalink
Update launch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ruipeterpan authored Jan 18, 2021
1 parent 16061e9 commit 18027f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion launcher/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ def worker(local_rank, local_size, command, allocation=None):


def launch_bps():
print(f"[{datetime.now().strftime("%H:%M:%S")}] BytePS launching {os.environ["DMLC_ROLE"]}")
curr_time = datetime.now().strftime("%H:%M:%S")
print(f"[{curr_time}] BytePS launching {os.environ["DMLC_ROLE"]}")
sys.stdout.flush()
check_env()
if os.environ["DMLC_ROLE"] == "worker":
Expand Down

0 comments on commit 18027f2

Please sign in to comment.