Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lessw2020 committed Feb 26, 2024
1 parent b3cb640 commit 23b7739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def main(job_config: JobConfig):
end_timer.record()
torch.cuda.synchronize()

curr_iter_time = round(start_timer.elapsed_time(end_timer) * 1e-3,4)
curr_iter_time = round(start_timer.elapsed_time(end_timer) * 1e-3, 4)
train_state.iter_times.append(curr_iter_time)

# if profiler is active
Expand Down

0 comments on commit 23b7739

Please sign in to comment.