mirror of
https://github.com/newnius/YAO-agent.git
synced 2025-06-06 05:21:55 +00:00
update
This commit is contained in:
parent
52050c8802
commit
4a3f3d7390
2
agent.py
2
agent.py
@ -322,7 +322,7 @@ def report_msg(stats):
|
||||
flag = True
|
||||
if abs(last_version['status'][i]['memory_free'] - post_fields['status'][i]['memory_free']) / post_fields['status'][i]['memory_total'] > 0.05:
|
||||
flag = True
|
||||
if abs(last_version['status'][i]['utilization_gpu'] - post_fields['status'][i]['utilization_gpu']) > 15.0:
|
||||
if abs(last_version['status'][i]['utilization_gpu'] - post_fields['status'][i]['utilization_gpu']) > 25.0:
|
||||
flag = True
|
||||
else:
|
||||
flag = True
|
||||
|
Loading…
Reference in New Issue
Block a user