Python code on a laptop screen with transformer diagrams

Pure‑Python Paged Attention with LRU KV‑Cache: A Hands‑On Portfolio Project

A hands‑on guide to implementing paged attention with LRU eviction in pure Python, turning a clever algorithmic trick into a runnable portfolio project that hiring managers notice.

October 25, 2026 · 9 min · 1751 words · martinuke0
Short description of the cover image subject.

Mastering Cache Stampede Prevention with Probabilistic Early Expiration

Probabilistic early expiration reduces cache stampede risk by randomly refreshing entries before they expire, balancing load and freshness. This technique is essential for high‑throughput services that depend on low‑latency reads.

October 25, 2026 · 5 min · 980 words · martinuke0
A laptop screen showing Python code for an attention engine

From‑Scratch Paged Attention Engine: LRU KV‑Cache Eviction and GPU‑Free Sliding‑Window Simulation in Python

Build a from‑scratch paged attention engine in pure Python, complete with LRU‑based KV‑cache eviction and GPU‑free sliding‑window simulation. Great for demonstrating systems‑level ML engineering skill.

October 16, 2026 · 8 min · 1611 words · martinuke0
A sleek Python code editor with visual cache diagrams

Pure Python Paged Attention Engine with LRU KV‑Cache Eviction

A step‑by‑step guide to building a pure Python paged attention engine with LRU cache eviction, perfect for demonstrating systems‑level skills to ML recruiters.

October 13, 2026 · 9 min · 1914 words · martinuke0

Memory‑Aware KV Cache Eviction Engine for Long‑Context LLM Inference

A hands‑on guide to constructing a pure‑Python KV cache eviction engine that uses attention‑based pruning to reduce memory footprint for long‑context LLM inference.

October 3, 2026 · 7 min · 1425 words · martinuke0
Feedback