A server rack with glowing GPU indicators representing high-throughput LLM inference

Mastering vLLM's PagedAttention: Continuous Batching for High-Throughput LLM Inference

vLLM’s PagedAttention treats KV cache like virtual memory pages, eliminating fragmentation and enabling continuous batching that dramatically improves LLM inference throughput.

November 17, 2026 · 11 min · 2234 words · martinuke0
Sliding window attention diagram

Building a Sliding Window Attention Inference Engine with Compressed KV Cache in Pure Python

This post walks through building a sliding window attention inference engine with a compressed KV cache in pure Python, providing runnable code and architectural insights for a standout portfolio project.

October 29, 2026 · 8 min · 1703 words · martinuke0
Illustration of multiple AI model candidates verifying generated text

Speculative Decoding with Parallel Verification: A Hands-On Build Guide

A practical, end-to-end guide to building a speculative decoding prototype with parallel candidate verification, complete with runnable code and deployment tips.

October 18, 2026 · 6 min · 1236 words · martinuke0
A visualization of token probability distributions under different decoding strategies

Building a Pure-Python Token Sampler: Temperature, Top-k, Top-p, and Min-p Decoding from Scratch

A hands-on guide to implementing four major LLM token sampling strategies from scratch in pure Python. This project signals real systems engineering skill and serves as a standout portfolio piece for ML engineering roles.

September 27, 2026 · 13 min · 2609 words · martinuke0
A visual representation of compressed KV cache attention with memory tiers

Build a Memory-Compressed Attention Engine with KV Caching from Scratch

A hands-on build guide for implementing a memory-compressed attention engine with key-value caching from scratch in Python. Includes architecture diagrams, production-grade code, and a roadmap to senior-level extensions.

September 26, 2026 · 15 min · 3095 words · martinuke0
Feedback