Modalities / modalities

Modalities, a PyTorch-native framework for distributed and reproducible foundation model training.
MIT License
61 stars 5 forks source link

Fix log only with global rank 0 #190

Closed le1nux closed 3 months ago

le1nux commented 3 months ago

What does this PR do?

Previously, the logging was performed on all local ranks == 0, leading to excessive logging in multi-node training. We fixed this issue and log now only on a single rank, i.e., global rank == 0.

General Changes

Breaking Changes

Checklist before submitting final PR