nano-lmcache is an educational Python library that demonstrates how to reuse LLM KV caches. It walks through prefix caching, chunk keys, storage, and eviction, and shows integration with vLLM. The repo offers clear examples from pure Python to GPU tensors, helping developers understand and implement efficient cache reuse.
Opening Kapynโฆ