You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apple devices currently don't produce any system metrics in ts/systym_metrics.py. Add support for torch.mps system metrics that allows Apple devices also to produce system metrics.
Error logs
Traceback (most recent call last):
File "/Users/user/serve/ts/metrics/metric_collector.py", line 20, in <module>
system_metrics.collect_all(sys.modules["ts.metrics.system_metrics"], arguments.gpu)
File "/Users/user/serve/ts/metrics/system_metrics.py", line 125, in collect_all
value(num_of_gpus)
File "/Users/user/serve/ts/metrics/system_metrics.py", line 99, in collect_gpu_metrics
gpu_mem_utilization,
UnboundLocalError: local variable 'gpu_mem_utilization' referenced before assignment
🐛 Describe the bug
Apple devices currently don't produce any system metrics in
ts/systym_metrics.py
. Add support fortorch.mps
system metrics that allows Apple devices also to produce system metrics.Error logs
Installation instructions
No and no.
Model Packaging
Not relevant.
config.properties
No response
Versions
Repro instructions
on Mac with M1
Possible Solution
Add
torch.mps
support onts.system_metrics.py
The text was updated successfully, but these errors were encountered: