Skip to content

Commit

Permalink
Drop base memory
Browse files Browse the repository at this point in the history
  • Loading branch information
marxin committed Feb 11, 2024
1 parent c8b6aaf commit 863e315
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions usage-wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ def get_footnote():
hostname = os.uname()[1].split('.')[0]
cpu_average = cpu_stats.average()
cpu_max = cpu_stats.maximum()
base_memory = to_gigabyte(psutil.virtual_memory().total)
peak_memory = mem_stats.maximum()
total_mem = to_gigabyte(psutil.virtual_memory().total)
gpu_line = ''
Expand All @@ -267,7 +266,7 @@ def get_footnote():
return (f'host: {hostname}; CPUs: {args.used_cpus}/{cpu_count};'
f' CPU avg/max: {cpu_average:.1f}/{cpu_max:.1f}%;'
f'{gpu_line}'
f' RAM base/peak/total: {base_memory:.1f}/{peak_memory:.1f}/{total_mem:.1f} GiB;')
f' RAM peak/total: {peak_memory:.1f}/{total_mem:.1f} GiB;')


def get_footnote2():
Expand Down

0 comments on commit 863e315

Please sign in to comment.