From Dev.to
How PagedAttention Works: Paging the KV Cache Like an Operating System
When I was digging into prompt caching in OpenAI's Codex, I noticed something odd: the number of cached tokens always went up in steps of 512. The reason is that before a prompt reaches the model, it...
