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

LMDeploy spec per-position accept-rate gauge

niche-lmdeploy-turbomind · gauge

Fields

id
metric-exposures/w3m-niche-lmdeploy-turbomind-lmdeploy-spec-decode-per-position-a
Metric name
lmdeploy:spec_decode_per_position_accept_rate
Metric type
gauge
Unit
1
Exposure
prometheus
Endpoint
:23333/metrics
Labels
model_nameengineposition
Enabled by default
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. Unusual: LMDeploy ships the DERIVED acceptance ratios as first-class gauges (mean_accept_rate = accepted/draft_tokens, mean_accept_length = 1 + accepted/drafts) rather than leaving the division to PromQL as vLLM does. The raw counters are present too, so the ratios are auditable.

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. Unusual: LMDeploy ships the DERIVED acceptance ratios as first-class gauges (mean_accept_rate = accepted/draft_tokens, mean_accept_length = 1 + accepted/drafts) rather than leaving the division to PromQL as vLLM does. The raw counters are present too, so the ratios are auditable.

Cross-references