Why raising UserWarning is logging from on_validation_epoch_end and only in rank0 #17354
Unanswered
pengzhenghao
asked this question in
DDP / multi-GPU / multi-node
Replies: 1 comment
-
I met exactly the same issue as yours, all we can do by far is to suppress it. Here is an example: |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to log from on_validation_epoch_end and only in rank 0:
If I understand correctly, I am not suppose to set
rank_zero_only=True
withsync_dist=True
together because they are conflicting.However, I got the below warning message flushing the screen.
So would that be a issue if I don't do
sync_dist=True
? If that's OK, then anyone know how to suppress the UserWarning? Thanks!Beta Was this translation helpful? Give feedback.
All reactions