Clarifying how log
with sync_dist
and on_epoch
from the training_step
works?
#20123
-
Hello, the documentation about |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
If you want to compute some matrix using DDP strategy, you can use the torchmetric and implement a metric yourself. It can reduce all when you call compute() |
Beta Was this translation helpful? Give feedback.
-
Ref: https://lightning.ai/docs/torchmetrics/v1.8.1/pages/lightning.html |
Beta Was this translation helpful? Give feedback.
Ref: https://lightning.ai/docs/torchmetrics/v1.8.1/pages/lightning.html