A visualization of paged KV cache memory blocks being swapped between CPU and GPU memory

Build a Paged KV Cache with Swapping for CPU-Only LLM Inference

A hands-on guide to building a paged KV cache with swapping for CPU-only LLM inference. Includes real, runnable Python code using PyTorch and demonstrates memory management patterns that signal senior-level systems skill.

September 14, 2026 · 15 min · 3123 words · martinuke0
A conceptual diagram of a paged attention KV-cache architecture showing memory blocks, page tables, and eviction queues.

Build a Pure-Python Paged Attention KV-Cache with LRU and Frequency-Based Eviction

A hands-on guide to building a pure-Python paged attention KV-cache with LRU and frequency-based eviction policies — a portfolio project that demonstrates deep systems engineering skills.

September 12, 2026 · 11 min · 2204 words · martinuke0
Diagram of a paged KV cache with blocks, block tables, and a prefix-sharing radix tree.

Build a Paged KV Cache Manager From Scratch: A Portfolio Project That Signals Real Systems Skill

Step-by-step build of a real, runnable paged KV cache manager in Python: blocks, block tables, prefix sharing via a radix tree, copy-on-write for beam search, plus a roadmap to senior-level extensions.

September 7, 2026 · 13 min · 2661 words · martinuke0
Diagram of paged-attention KV cache blocks mapped across sequences

Build a Paged-Attention KV Cache Manager: A Hands-On Project That Actually Impresses Hiring Managers

Ship a runnable paged-attention KV cache manager that demonstrates real LLM systems skill: block tables, prefix-sharing across requests, and eviction policies that actually move the needle on memory.

September 7, 2026 · 14 min · 2851 words · martinuke0
Block diagram of paged KV cache with prefix sharing

Building a Paged KV Cache Manager with Prefix Sharing and Copy-on-Write

Build a from-scratch paged KV cache manager for LLM inference, with block-level prefix sharing and copy-on-write semantics. A real systems project for your CV.

September 7, 2026 · 11 min · 2266 words · martinuke0
Feedback