PagedAttention
PagedAttention manages attention keys and values in memory blocks instead of requiring one contiguous allocation per sequence.
A block table maps logical positions to physical KV-cache blocks. This reduces allocation waste and supports sharing where the implementation permits it. Benefits depend on the serving system and workload; it does not independently improve a model's factual accuracy.
Source: Hugging Face PagedAttention documentation