-
Notifications
You must be signed in to change notification settings - Fork 184
Open
Description
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/asitop/utils.py", line 19, in parse_powermetrics
gpu_metrics_dict = parse_gpu_metrics(powermetrics_parse)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/asitop/parsers.py", line 141, in parse_gpu_metrics
"active": int((1 - gpu_metrics["idle_ratio"])*100),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: cannot convert float NaN to integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/homebrew/bin/asitop", line 8, in <module>
sys.exit(main())
^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/asitop/asitop.py", line 183, in main
ready = parse_powermetrics(timecode=timecode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/asitop/utils.py", line 30, in parse_powermetrics
gpu_metrics_dict = parse_gpu_metrics(powermetrics_parse)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/asitop/parsers.py", line 141, in parse_gpu_metrics
"active": int((1 - gpu_metrics["idle_ratio"])*100),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: cannot convert float NaN to integer
mbacvanski and slashdottir
Metadata
Metadata
Assignees
Labels
No labels