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.
A hands‑on guide to implementing a paged attention engine in Python, including block management, ghost eviction, and testing.
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.
A step‑by‑step guide to implementing a paged attention KV‑cache in pure Python, complete with runnable code and production‑ready extensions.
Implement a memory-efficient, causal attention mechanism with a custom KV cache in under 100 lines of pure PyTorch code.
Implement a FlashAttention‑style tiled self‑attention block with online softmax in pure NumPy, demonstrating systems engineering proficiency.