How can I prevent my log messages to not get printed multiple times when I use distributed training?

Any ideas how to resolve this or where to took at?
Also, I keep getting an error every time I set OMP_NUM_THREADS > 1

image.png1147×407 134 KB

Any thoughts into what might have gone wrong here?