enhancementfeature requestgood first issue
Description
Motivation
reduce_metrics seems to be used for reducing metrics across DP ranks and batches, which only simply means the values.
However, reducing metrics across DP ranks is non-trivial since some metrics like "mean" are not linear.