Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/maxtext/common/metric_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
from maxtext.utils import max_logging
from maxtext.utils import max_utils
from maxtext.utils import maxtext_utils
from maxtext.utils import elastic_utils
from collections import defaultdict

mldiag, _ = mldiagnostics_modules()
Expand Down Expand Up @@ -166,6 +167,7 @@ def _log_training_metrics(self, metrics, step):
log_parts.extend(
[
f"completed step: {step}",
f"live slice count: {len(elastic_utils.live_slice_indices(self.config))}",
f"seconds: {scalars['perf/step_time_seconds']:.3f}",
]
)
Expand Down
Loading