Skip to content

Commit

Permalink
fix - histogram_prefill_time_request and histogram_decode_time_reques…
Browse files Browse the repository at this point in the history
…t now record prefill / decode respectively

Signed-off-by: Tomer Asida <[email protected]>
  • Loading branch information
tomeras91 committed Dec 3, 2024
1 parent 9323a31 commit ae29a2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vllm/engine/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,9 +599,9 @@ def _log_prometheus(self, stats: Stats) -> None:
stats.time_queue_requests)
self._log_histogram(self.metrics.histogram_inference_time_request,
stats.time_inference_requests)
self._log_histogram(self.metrics.histogram_decode_time_request,
stats.time_prefill_requests)
self._log_histogram(self.metrics.histogram_prefill_time_request,
stats.time_prefill_requests)
self._log_histogram(self.metrics.histogram_decode_time_request,
stats.time_decode_requests)
self._log_histogram(self.metrics.histogram_time_in_queue_request,
stats.time_in_queue_requests)
Expand Down

0 comments on commit ae29a2e

Please sign in to comment.