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
4213475e
Unverified
Commit
4213475e
authored
Apr 28, 2025
by
Cyrus Leung
Committed by
GitHub
Apr 27, 2025
Browse files
[Metrics] Fix minor inconsistencies in bucket progression (#17262)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
d92879ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
vllm/engine/metrics.py
vllm/engine/metrics.py
+1
-1
vllm/v1/metrics/loggers.py
vllm/v1/metrics/loggers.py
+2
-2
No files found.
vllm/engine/metrics.py
View file @
4213475e
...
@@ -145,7 +145,7 @@ class Metrics:
...
@@ -145,7 +145,7 @@ class Metrics:
documentation
=
"Histogram of number of tokens per engine_step."
,
documentation
=
"Histogram of number of tokens per engine_step."
,
labelnames
=
labelnames
,
labelnames
=
labelnames
,
buckets
=
[
buckets
=
[
1
,
8
,
16
,
32
,
64
,
128
,
256
,
512
,
1024
,
2048
,
4096
,
8
096
,
16
192
1
,
8
,
16
,
32
,
64
,
128
,
256
,
512
,
1024
,
2048
,
4096
,
8
192
,
16
384
])
])
self
.
histogram_time_to_first_token
=
self
.
_histogram_cls
(
self
.
histogram_time_to_first_token
=
self
.
_histogram_cls
(
name
=
"vllm:time_to_first_token_seconds"
,
name
=
"vllm:time_to_first_token_seconds"
,
...
...
vllm/v1/metrics/loggers.py
View file @
4213475e
...
@@ -233,8 +233,8 @@ class PrometheusStatLogger(StatLoggerBase):
...
@@ -233,8 +233,8 @@ class PrometheusStatLogger(StatLoggerBase):
name
=
"vllm:iteration_tokens_total"
,
name
=
"vllm:iteration_tokens_total"
,
documentation
=
"Histogram of number of tokens per engine_step."
,
documentation
=
"Histogram of number of tokens per engine_step."
,
buckets
=
[
buckets
=
[
1
,
8
,
16
,
32
,
64
,
128
,
256
,
512
,
1024
,
2048
,
4096
,
8
096
,
1
,
8
,
16
,
32
,
64
,
128
,
256
,
512
,
1024
,
2048
,
4096
,
8
192
,
16
192
16
384
],
],
labelnames
=
labelnames
).
labels
(
*
labelvalues
)
labelnames
=
labelnames
).
labels
(
*
labelvalues
)
...
...
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