Diagram of a paged attention engine with KV cache blocks

From‑Scratch Paged Attention Engine with Variable‑Size KV Cache Blocks and Ghost Eviction

A hands‑on guide to implementing a paged attention engine in Python, including block management, ghost eviction, and testing.

November 11, 2026 · 7 min · 1299 words · martinuke0
tiled attention diagram

Build a Flash‑Attention Tiled Self‑Attention Block from Scratch in Pure NumPy

Implement a memory‑efficient tiled self‑attention block in NumPy, benchmark it, and extend it with persistence and scaling – a concrete portfolio project that signals deep systems knowledge.

November 10, 2026 · 8 min · 1579 words · martinuke0
A sleek Python code terminal with diagram of a paged cache

Hands-On Build Guide: Paged Attention KV-Cache with Sliding-Window Eviction in Pure Python

A step‑by‑step guide to implementing a paged attention KV‑cache in pure Python, complete with runnable code and production‑ready extensions.

November 6, 2026 · 8 min · 1588 words · martinuke0
PyTorch attention implementation on a laptop screen

Building a Causal Self-Attention Block from Scratch in PyTorch

Implement a memory-efficient, causal attention mechanism with a custom KV cache in under 100 lines of pure PyTorch code.

October 28, 2026 · 8 min · 1533 words · martinuke0
Diagram of tiled self-attention computation

Building a FlashAttention-Style Tiled Self-Attention Block in Pure NumPy

Implement a FlashAttention‑style tiled self‑attention block with online softmax in pure NumPy, demonstrating systems engineering proficiency.

October 22, 2026 · 6 min · 1262 words · martinuke0
Feedback