Skip to content

Commit ec8e3c6

Browse files
authored
[Bugfix] fix_log_time_in_metrics (#4050)
1 parent 98afde1 commit ec8e3c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/engine/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class StatLogger:
130130

131131
def __init__(self, local_interval: float, labels: Dict[str, str]) -> None:
132132
# Metadata for logging locally.
133-
self.last_local_log = time.monotonic()
133+
self.last_local_log = time.time()
134134
self.local_interval = local_interval
135135

136136
# Tracked stats over current local logging interval.

0 commit comments

Comments
 (0)