Skip to content

Commit

Permalink
uncomment logging item
Browse files Browse the repository at this point in the history
  • Loading branch information
eliebak committed Sep 26, 2024
1 parent 3d7c98f commit e74ffd1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/nanotron/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,12 +621,12 @@ def train_step_logs(
lr = self.lr_scheduler.get_last_lr()[0]

log_entries = [
# LogItem("consumed_samples", self.consumed_train_samples, "human_format"), # , "12d"),
# LogItem(
# "consumed_tokens",
# self.metadata.consumed_train_samples * self.config.tokens.sequence_length,
# "human_format",
# ), # , "12d"),
# LogItem("consumed_samples", self.metadata.consumed_train_samples, "human_format"), # , "12d"),
LogItem(
"consumed_tokens",
self.metadata.consumed_train_samples * self.config.tokens.sequence_length,
"human_format",
), # , "12d"),
LogItem("elapsed_time_per_iteration_ms", elapsed_time_per_iteration_ms, "human_format"), # , ".1f"),
LogItem("tokens_per_sec", tokens_per_sec, "human_format"), # , "1.6E"),
LogItem(
Expand Down

0 comments on commit e74ffd1

Please sign in to comment.