Skip to content

Commit

Permalink
[Bugfix] fix_log_time_in_metrics (vllm-project#4050)
Browse files Browse the repository at this point in the history
  • Loading branch information
zspo authored Apr 13, 2024
1 parent 98afde1 commit ec8e3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/engine/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,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.
Expand Down

0 comments on commit ec8e3c6

Please sign in to comment.