A conceptual diagram of speculative decoding showing a fast draft model feeding tokens to a larger verifier model.

Build a Speculative Decoding Engine: A Portfolio Project That Signals Real Systems Skill

A hands-on guide to building a speculative decoding engine with a draft model and verifier in pure Python. This project signals deep systems expertise and is practical enough to actually complete, with real runnable code at every step.

September 16, 2026 · 13 min · 2751 words · martinuke0
A visualization of memory blocks and tokens in a neural network inference engine

Building a Mini LLM Inference Engine in Pure Python

A hands-on guide to building a mini LLM inference engine featuring PagedAttention and advanced KV cache management, designed to demonstrate production-grade systems architecture on your CV.

September 16, 2026 · 8 min · 1615 words · martinuke0
A visualization of paged attention memory blocks arranged in a cache hierarchy with eviction pointers

Build a Paged Attention KV-Cache Manager with LRU Eviction in Pure Python

A hands-on build guide for a paged attention KV-cache manager with LRU eviction in pure Python — a portfolio project that demonstrates LLM inference systems knowledge and signals senior-level engineering capability.

September 15, 2026 · 11 min · 2312 words · martinuke0
A visualization of paged KV cache memory blocks being swapped between CPU and GPU memory

Build a Paged KV Cache with Swapping for CPU-Only LLM Inference

A hands-on guide to building a paged KV cache with swapping for CPU-only LLM inference. Includes real, runnable Python code using PyTorch and demonstrates memory management patterns that signal senior-level systems skill.

September 14, 2026 · 15 min · 3123 words · martinuke0
Abstract visualization of a KV cache with tokens being selectively retained and evicted by a learned importance scorer

Build a Learnable Token-Importance KV Cache for LLM Inference

A hands-on build guide for a learnable token-importance KV cache that optimizes LLM inference memory. Includes real PyTorch code, architecture diagrams, and a roadmap to production-grade extensions.

September 13, 2026 · 14 min · 2899 words · martinuke0
Feedback