mlcommons / power-dev

Dev repo for power measurement for the MLPerf™ benchmarks
https://mlcommons.org/en/groups/best-practices-power
Apache License 2.0
16 stars 24 forks source link

Fix inference issue 1338, use time_sync to check the time difference #300

Closed arjunsuresh closed 1 year ago

arjunsuresh commented 1 year ago

Instead of both server and client logging time in the log and the checker checking for their time difference, here time_sync function is used to check the time difference between client and server after each phase of the run and if the difference is > 200ms, the error gets written to the client.log file which is checked by the checker.

github-actions[bot] commented 1 year ago

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

arjunsuresh commented 1 year ago

This should fix this issue which is also reported here