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
Python code on a dark terminal, visualizing paged KV cache buckets

Build a Paged Attention KV Cache with H2O Eviction in Pure Python

Learn how to implement a paged attention KV cache with H2O eviction in pure Python, a concrete project that demonstrates low‑latency data structures, eviction policies, and production‑ready patterns for AI/ML infrastructure.

October 13, 2026 · 8 min · 1702 words · martinuke0
Illustration of a Python neural network pipeline

From‑Scratch Speculative Decoding Engine in Pure Python

A hands‑on guide to building a from‑scratch speculative decoding engine in pure Python, with draft‑then‑verify sampling, temperature, top‑k and nucleus (top‑p) sampling, all using only numpy. Perfect for a CV‑boosting side project.

October 12, 2026 · 8 min · 1561 words · martinuke0
A diagram of a lazy weight loader pipeline

Lazy Loading LLM Weights with Safetensors, Async Prefetch, and Checksum Verification

A practical guide to building a lazy weight loader for large LLMs using safetensors, async prefetch, and checksum verification.

October 12, 2026 · 7 min · 1355 words · martinuke0
Python code on a terminal displaying a GGUF weight loader

Pure Python GGUF Weight Loader: Streaming Quantized Tensors via Memory-Mapped Files

A step‑by‑step guide to building a pure Python GGUF weight loader that streams quantized tensors using memory‑mapped files, complete with code, testing, and production‑ready extensions.

October 12, 2026 · 8 min · 1680 words · martinuke0
Feedback