Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
7c32b686
Unverified
Commit
7c32b686
authored
Dec 03, 2024
by
tomeras91
Committed by
GitHub
Dec 03, 2024
Browse files
[Frontend] correctly record prefill and decode time metrics (#10853)
Signed-off-by:
Tomer Asida
<
tomera@ai21.com
>
parent
7090c27b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/engine/metrics.py
vllm/engine/metrics.py
+2
-2
No files found.
vllm/engine/metrics.py
View file @
7c32b686
...
...
@@ -599,9 +599,9 @@ class PrometheusStatLogger(StatLoggerBase):
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment