Replies: 2 comments
-
BTW, if I don't want to compute every_step metric (i.e. on every batch), is calling |
Beta Was this translation helpful? Give feedback.
0 replies
-
Seems that the answer to my questions above are all True. Somehow the code can automatically handle DDP sync, amazing! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Thank you so much for the great work! I'm currently using your implemented
MeanMetric
in my DDP training code. The document says that it can automatically perform DDP sync. However, when I look into the code here, I don't see any code performing sync (e.g.all_gather
). So I wonder should I manually call themetric.sync()
function before callingmetric.compute()
? (I assume not) Then where are you performing the sync? Thanks!Beta Was this translation helpful? Give feedback.
All reactions