Skip to content

Commit b0c3f3d

Browse files
committed
feat: Log total training time in seconds
1 parent 54232a5 commit b0c3f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modalities/gym.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def run(
7878
)
7979
end_time = datetime.now()
8080
print_rank_0(f"Training done at {end_time}.")
81-
print_rank_0(f"Total training time: {end_time - start_time}")
81+
print_rank_0(f"Total training time: {(end_time - start_time).total_seconds()} seconds.")
8282

8383
def _run_checkpointing(
8484
self,

0 commit comments

Comments
 (0)