🐛 Bug
track_epoch_end_reduce_metrics leads an increase in the memory consumption between epochs.
- Memory consumption starts increasing in the very begining of an epoch
- Memory consumption peaks in the very end of an epoch.
- After an epoch is completed, the memory consumption significantly decreases.
- Go to 1 again.