A diagram of a paged KV cache block manager

Building a Paged KV Cache Block Manager with Continuous Batching and Prefix Sharing in Pure Python

A practical guide to building a paged KV cache block manager with continuous batching and prefix sharing in pure Python, designed to showcase systems engineering skills to hiring managers.

November 24, 2026 · 9 min · 1864 words · martinuke0
A sleek Python code editor with a diagram of a radix tree and cache buckets

Paged KV Cache with Radix‑Tree Prefix Caching for LLM Inference

A step‑by‑step guide to implementing a paged KV cache and radix‑tree prefix cache in Python, complete with runnable code, tests, and production‑ready extensions.

November 20, 2026 · 10 min · 2101 words · martinuke0
A code editor displaying a PyTorch training script for parameter-efficient fine-tuning

Build a 7B PEFT Trainer in 800 Lines of PyTorch: LoRA, DoRA, rsLoRA, NF4, and Zero-Copy Merging

Build a production-flavored PEFT trainer in ~800 lines of PyTorch that implements LoRA, DoRA, rsLoRA, and NF4 quantization with zero-copy merging, and learn the systems skills hiring managers notice.

November 18, 2026 · 10 min · 2052 words · martinuke0
Diagram of a sliding‑window prompt manager

Dynamic Prompt‑Window Manager with Sliding‑Window Context Caching

Learn how to construct a sliding‑window context cache with importance‑based eviction, a portable project that showcases systems engineering skill for LLM‑focused roles.

November 16, 2026 · 8 min · 1641 words · martinuke0

Build a paged attention KV cache with block‑wise LRU eviction in pure Python, demonstrating advanced systems engineering skills for machine learning engineer roles

This project implements a paged attention KV cache with block‑wise LRU eviction, providing a concrete demonstration of memory management and algorithm design for LLM inference.

November 16, 2026 · 5 min · 909 words · martinuke0
Feedback