# KV caching

Type: Pattern · Live URL: https://chronoscope.hopperlabs.ai/#/ai-engineering/subject/kv-caching

KV caching (Engineering patterns) — 11 sourced milestones in Hopper’s AI Engineering Chronoscope spanning 2019–2025.

[Chronoscope AI subject: KV caching](https://chronoscope.hopperlabs.ai/#/ai-engineering/subject/kv-caching)

## Documented contributions and history

Tracked under Engineering patterns in Hopper’s AI Engineering graph with 11 sourced milestones (2019–2025). Key documented milestones include: Multi-query attention reduces the cost of autoregressive decoding (2019); FlexGen runs a 175-billion-parameter model with one 16 GB GPU (2023); Grouped-query attention shares cached keys and values (2023).

[Chronoscope AI subject: KV caching](https://chronoscope.hopperlabs.ai/#/ai-engineering/subject/kv-caching)

## Timeline

- 2019-11-06 — Multi-query attention reduces the cost of autoregressive decoding [Chronoscope AI subject: KV caching](https://chronoscope.hopperlabs.ai/#/ai-engineering/subject/kv-caching) · [Multi-query attention reduces the cost of autoregressive decoding](https://arxiv.org/abs/1911.02150) · [Chronoscope](https://chronoscope.hopperlabs.ai/#/ai-engineering/x/ai-engineering%3A2019-multi-query-attention-reduces-the-cost-of-autoregressive-decoding)

- 2023-03-13 — FlexGen runs a 175-billion-parameter model with one 16 GB GPU [Chronoscope AI subject: KV caching](https://chronoscope.hopperlabs.ai/#/ai-engineering/subject/kv-caching) · [FlexGen runs a 175-billion-parameter model with one 16 GB GPU](https://arxiv.org/abs/2303.06865v1) · [Chronoscope](https://chronoscope.hopperlabs.ai/#/ai-engineering/x/ai-engineering%3A2023-flexgen-runs-a-175-billion-parameter-model-with-one-16-gb-gpu)

- 2023-05-22 — Grouped-query attention shares cached keys and values [Chronoscope AI subject: KV caching](https://chronoscope.hopperlabs.ai/#/ai-engineering/subject/kv-caching) · [Grouped-query attention shares cached keys and values](https://arxiv.org/abs/2305.13245) · [Chronoscope](https://chronoscope.hopperlabs.ai/#/ai-engineering/x/ai-engineering%3A2023-grouped-query-attention-shares-cached-keys-and-values)

- 2023-06-20 — The vLLM team introduces a serving engine built on PagedAttention [Chronoscope AI subject: KV caching](https://chronoscope.hopperlabs.ai/#/ai-engineering/subject/kv-caching) · [The vLLM team introduces a serving engine built on PagedAttention](https://vllm.ai/blog/2023-06-20-vllm) · [Chronoscope](https://chronoscope.hopperlabs.ai/#/ai-engineering/x/ai-engineering%3A2023-the-vllm-team-introduces-a-serving-engine-built-on-pagedattention)

- 2023-06-24 — H2O studies which cached tokens matter most [Chronoscope AI subject: KV caching](https://chronoscope.hopperlabs.ai/#/ai-engineering/subject/kv-caching) · [H2O studies which cached tokens matter most](https://arxiv.org/abs/2306.14048) · [Chronoscope](https://chronoscope.hopperlabs.ai/#/ai-engineering/x/ai-engineering%3A2023-h2o-studies-which-cached-tokens-matter-most)

[Explore KV caching timeline in Chronoscope](https://chronoscope.hopperlabs.ai/#/ai-engineering/subject/kv-caching)

## Related articles

- [AI Engineering](/wiki/ai-engineering/) (part-of)
- [Hopper Chronoscope](/wiki/hopper-chronoscope/) (chronicles)
- [Hopper Patterns](/wiki/hopper-patterns/)
