Skip to content

Commit

Permalink
Unify footnote for CPU
Browse files Browse the repository at this point in the history
  • Loading branch information
marxin committed Feb 8, 2024
1 parent 0bdd7fc commit 0ebfbdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usage-wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def get_footnote():
if gpu_stats:
gpu_line = f' GPU avg/max: {gpu_stats.average():.1f}/{gpu_stats.maximum():.1f};'
return (f'host: {hostname}; CPUs: {args.used_cpus}/{cpu_count};'
f' CPU avg/max: {cpu_average:.0f}/{cpu_max:.0f}%;'
f' CPU avg/max: {cpu_average:.1f}/{cpu_max:.1f}%;'
f'{gpu_line}'
f' memory base/peak/total: {base_memory:.1f}/{peak_memory:.1f}/{total_mem:.1f} GiB;')

Expand Down

0 comments on commit 0ebfbdc

Please sign in to comment.