Abstract visualization of distributed GPU clusters processing large language model inference requests

Distributed LLM Inference: Parallelism Strategies

Exploring the core parallelism strategies behind distributed LLM inference — tensor, pipeline, data, and expert parallelism — with real-world architecture patterns and practical deployment insights.

September 7, 2026 · 11 min · 2321 words · martinuke0
Diagram of a paged KV cache with blocks, block tables, and a prefix-sharing radix tree.

Build a Paged KV Cache Manager From Scratch: A Portfolio Project That Signals Real Systems Skill

Step-by-step build of a real, runnable paged KV cache manager in Python: blocks, block tables, prefix sharing via a radix tree, copy-on-write for beam search, plus a roadmap to senior-level extensions.

September 7, 2026 · 13 min · 2661 words · martinuke0
Diagram of paged KV cache blocks shared across sequence slots in an LLM inference engine.

Build a Paged KV Cache With Continuous Batching and Prefix Sharing: A From-Scratch Guide

A working engineer’s walkthrough of building a paged KV cache with continuous batching and prefix sharing from scratch — the same ideas vLLM ships in production. Includes runnable Python, an architecture breakdown, tests, and a concrete extension roadmap.

September 7, 2026 · 12 min · 2390 words · martinuke0
Diagram of a GGUF file layout streaming into memory-mapped safetensors buffers.

Building a GGUF Parser from Scratch: A Portfolio Project That Signals Real Systems Skill

Walk through designing and implementing a GGUF parser that streams tensor shards into memory-mapped safetensors-compatible buffers — a CV-grade systems project with concrete code, tests, and a roadmap to senior-level upgrades.

September 7, 2026 · 14 min · 2820 words · martinuke0
Diagram of a speculative decoding loop with an n-gram draft model feeding into a target verification step.

Building a Speculative Decoding Engine From Scratch: A Portfolio Project That Actually Signals Systems Skill

Build a runnable speculative decoding engine in Python with an n-gram draft model and target-model verification loop — a portfolio project that demonstrates LLM inference, KV-cache reasoning, and acceptance sampling.

September 7, 2026 · 14 min · 2845 words · martinuke0
Feedback