how to only show progress bar of the master node of tqdm in distributed training?

Viewed 162

tqdm flushes a lot in distributed training setting (torch.distributed.run) Is there a way to only display the bar from master node?

0 Answers
Related