pritamdamania87:

Could it be possible this is just an output buffering issue? Could you add a sys.stdout.flush() line after your print statements and see if the output makes sense?


No, it couldn’t be. I already flush the output.



 pritamdamania87:

Not sure I followed this, are you referring to lines like self.agent_model.join() in your code? If so, is this the ddp.join() method or is this join() method doing something else?


Yes, it is the ddp.join(). Because there could be three model training together, I have to enter the the model join contexts.