Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Apr 30, 2024
1 parent a9f8194 commit 6f136b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/benchmarks/fsdp/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def on_trace_ready(p):
print_rank0(
f"Batch [{i+1}/{num_batches}]:\n"
f" loss={loss.item():.3f}\n"
f" throughput/seconds_per_batch={batch_time:.3f}\n",
f" grad/total_norm={norm_str}",
f" throughput/seconds_per_batch={batch_time:.3f}\n"
f" grad/total_norm={norm_str}"
)

if profile and i == 2:
Expand Down

0 comments on commit 6f136b6

Please sign in to comment.