KV cache

Storage of previously computed attention keys and values.

Practical example

Speeds up sequential generation but consumes memory.

AI glossary · Poiskom

All guides