Systems and efficient execution · MLD-0605

Key-value cache

Stored attention keys and values from earlier tokens that avoid recomputing those states during generation.

Original reference page · detailed expansion pending. Original definitions, examples, notes and citations are preserved below. New examples are illustrative, not benchmark results.

Original example

Accelerate autoregressive transformer inference.

Original caveat

Cache memory grows with context, batch size, layers, and representation size.

Context and aliases

Level: Advanced. Stages: Training · Inference · Deployment.

Tags: DL · LLM · SLM · Systems.

Aliases: KV cache.

Related concepts

Concepts linking here

Technology connections

Original references

Open original record, export or annotate →