research implementation lab

KV-cache and inference papers, studied by building them.

Cache Atlas is my public notebook for learning modern inference systems by implementing the core mechanics. The focus stays specific: KV-cache memory, decode bottlenecks, paper reproductions, and small experiments you can run locally.

notes
  1. Why KV cache papers matter

    A map of the memory problem that motivated the first implementation.

  2. Reproducing MiniCache in PyTorch

    The API, tests, benchmark command, and the exact scope of the current reproduction.

  3. Adding a KV-cache object

    Moving from tensor primitives toward a decode-time cache interface.

categories
repos
next note

Next up: a decode benchmark. The useful version should measure longer sequence lengths, retained-token fraction, and the cost of applying compression across selected layer pairs.