Browse Source

time.monotonic() -> time.time()

AlpinDale 10 months ago
parent
commit
b92bddafe9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      aphrodite/engine/metrics.py

+ 1 - 1
aphrodite/engine/metrics.py

@@ -163,7 +163,7 @@ class StatLogger:
 
     def __init__(self, local_interval: float, labels: Dict[str, str]) -> None:
         # Metadata for logging locally.
-        self.last_local_log = time.monotonic()
+        self.last_local_log = time.time()
         self.local_interval = local_interval
 
         # Tracked stats over current local logging interval.