Skip to content

Commit

Permalink
metric collector revert gpu arg name
Browse files Browse the repository at this point in the history
  • Loading branch information
Rony Leppänen committed Nov 26, 2024
1 parent 0a4d628 commit aa96f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ts/metrics/metric_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
parser = argparse.ArgumentParser()

parser.add_argument(
"--gpus",
"--gpu",
action="store",
help="number of GPUs",
type=int
Expand All @@ -24,6 +24,6 @@

logging.basicConfig(stream=sys.stdout, format="%(message)s", level=logging.INFO)

system_metrics.collect_all(sys.modules['ts.metrics.system_metrics'], arguments.gpus)
system_metrics.collect_all(sys.modules['ts.metrics.system_metrics'], arguments.gpu)

check_process_mem_usage(sys.stdin)

0 comments on commit aa96f2f

Please sign in to comment.