inference/research
verifiedhigh · 0.94updated 2026-10-04

LMDeploy inter-token latency histogram

niche-lmdeploy-turbomind · histogram

Fields

id
metric-exposures/w3m-niche-lmdeploy-turbomind-lmdeploy-iter-token-latency
Metric name
lmdeploy:iter_token_latency
Metric type
histogram
Unit
seconds
Exposure
prometheus
Endpoint
:23333/metrics
Histogram buckets
0.0050.010.0250.050.0750.10.150.20.30.40.50.7512.557.510204080
Labels
model_nameengine
Enabled by default
yes
Phase scoped
yes
notes
InternLM/lmdeploy main, PrometheusStatLogger in lmdeploy/metrics/loggers.py, read 2026-10-04. On by default and requires NO flag: the endpoint is simply available at the API server port (23333 by default). Label keys are model_name and engine on every metric, where engine carries the dp_rank. Bucket construction reuses vLLM's build_buckets / build_1_2_5_buckets idiom. The naming inconsistency inherited from the vLLM fork it tracks: NO unit suffix, so a scraper that filters on '_seconds' drops this series silently. Shares the TPOT bucket list. Observed in record_iteration() from stats.itl.

Notes

InternLM/lmdeploy main, PrometheusStatLogger in lmdeploy/metrics/loggers.py, read 2026-10-04. On by default and requires NO flag: the endpoint is simply available at the API server port (23333 by default). Label keys are model_name and engine on every metric, where engine carries the dp_rank. Bucket construction reuses vLLM's build_buckets / build_1_2_5_buckets idiom. The naming inconsistency inherited from the vLLM fork it tracks: NO unit suffix, so a scraper that filters on '_seconds' drops this series silently. Shares the TPOT bucket list. Observed in record_iteration() from stats.itl.

Cross-references