1
0
Эх сурвалжийг харах

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

AlpinDale 10 сар өмнө
parent
commit
b92bddafe9

+ 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.