mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-07-09 11:37:10 +08:00
[Metrics] Fix minor inconsistencies in bucket progression (#17262)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
parent
d92879baf6
commit
4213475ec7
@ -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, 8096, 16192
|
1, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384
|
||||||
])
|
])
|
||||||
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",
|
||||||
|
|||||||
@ -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, 8096,
|
1, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192,
|
||||||
16192
|
16384
|
||||||
],
|
],
|
||||||
labelnames=labelnames).labels(*labelvalues)
|
labelnames=labelnames).labels(*labelvalues)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user