Schema.ai· vLLM· Schema 0.2.0
vLLM official site vLLM v0.9.2Log in

vllm:prefix_cache_hits

Counter for prefix cache hits, in cached tokens.

MetricPrometheusvLLM v0.9.2

At vLLM v0.9.2

Presentcounter

Names: vllm:prefix_cache_hits, vllm:gpu_prefix_cache_hits

Aliases: vllm:gpu_prefix_cache_hits → vllm:prefix_cache_hits

Counts prefix-cache activity in tokens.

Changed in v0.7.3: has_prometheus_metric_type claim set changed

Changed in v0.9.0: has_metric_semantics claim set changed

Changed in v0.9.2: has_name claim set changed

Changed in v0.9.2: alias_of claim set changed

vLLM vllm/v1/metrics/loggers.py · v0.9.2
        self.counter_gpu_prefix_cache_hits = self._counter_cls(
            name="vllm:gpu_prefix_cache_hits",
            documentation=(
                "GPU prefix cache hits, in terms of number of cached tokens."
                "DEPRECATED: Use vllm:prefix_cache_hits instead."),
            labelnames=labelnames).labels(*labelvalues)
vLLM vllm/v1/metrics/loggers.py · v0.9.2
        self.counter_prefix_cache_hits = self._counter_cls(
            name="vllm:prefix_cache_hits",
            documentation=(
                "Prefix cache hits, in terms of number of cached tokens."),
            labelnames=labelnames).labels(*labelvalues)
vLLM vllm/v1/metrics/stats.py · v0.9.2
# means the number of tokens that were queried from the cache.

Lifecycle

vLLM versionStateMetric name
v0.27.1presentvllm:prefix_cache_hits
v0.27.0presentvllm:prefix_cache_hits
v0.26.0presentvllm:prefix_cache_hits
v0.25.1presentvllm:prefix_cache_hits
v0.25.0presentvllm:prefix_cache_hits
v0.24.0presentvllm:prefix_cache_hits
v0.23.0presentvllm:prefix_cache_hits
v0.22.1presentvllm:prefix_cache_hits
v0.22.0presentvllm:prefix_cache_hits
v0.21.0presentvllm:prefix_cache_hits
v0.20.2presentvllm:prefix_cache_hits
v0.20.1presentvllm:prefix_cache_hits
v0.20.0presentvllm:prefix_cache_hits
v0.19.1presentvllm:prefix_cache_hits
v0.19.0presentvllm:prefix_cache_hits
v0.18.1presentvllm:prefix_cache_hits
v0.18.0presentvllm:prefix_cache_hits
v0.17.1presentvllm:prefix_cache_hits
v0.17.0presentvllm:prefix_cache_hits
v0.16.0presentvllm:prefix_cache_hits
v0.15.1presentvllm:prefix_cache_hits
v0.15.0presentvllm:prefix_cache_hits
v0.14.1presentvllm:prefix_cache_hits
v0.14.0presentvllm:prefix_cache_hits
v0.13.0presentvllm:prefix_cache_hits
v0.12.0presentvllm:prefix_cache_hits
v0.11.2presentvllm:prefix_cache_hits
v0.11.1presentvllm:prefix_cache_hits
v0.11.0presentvllm:prefix_cache_hits
v0.10.2presentvllm:prefix_cache_hits
v0.10.1.1presentvllm:prefix_cache_hits
v0.10.1presentvllm:prefix_cache_hits
v0.10.0presentvllm:prefix_cache_hits
v0.9.2 · selectedpresentvllm:prefix_cache_hits
v0.9.1presentvllm:gpu_prefix_cache_hits
v0.9.0.1presentvllm:gpu_prefix_cache_hits
v0.9.0presentvllm:gpu_prefix_cache_hits
v0.8.5.post1presentvllm:gpu_prefix_cache_hits
v0.8.5presentvllm:gpu_prefix_cache_hits
v0.8.4presentvllm:gpu_prefix_cache_hits
v0.8.3presentvllm:gpu_prefix_cache_hits
v0.8.2presentvllm:gpu_prefix_cache_hits
v0.8.1presentvllm:gpu_prefix_cache_hits
v0.8.0presentvllm:gpu_prefix_cache_hits
v0.7.3presentvllm:gpu_prefix_cache_hits
v0.7.2absentvllm:prefix_cache_hits
v0.7.1absentvllm:prefix_cache_hits
v0.7.0absentvllm:prefix_cache_hits

Claims (0)

No claims about this entity yet.