Speculative decoding inference engine running on Python

Hands-On: Building a Minimal Speculative Decoding Inference Engine in Pure Python

A practical, runnable Python implementation of speculative decoding using a draft model and verification head, perfect for CV signals.

November 10, 2026 · 8 min · 1540 words · martinuke0
A diagram of a paged attention block table

Build a vLLM-Style PagedAttention Inference Engine in Pure Python

Learn to implement a lightweight paged attention inference engine in Python, showcasing real systems skills for hiring managers.

November 5, 2026 · 8 min · 1700 words · martinuke0
A visualization of INT4 weight tensors being dequantized and multiplied in a fused GEMM kernel

Build a Blockwise INT4 Inference Engine: A Hands-On Portfolio Project

A hands-on build guide for a blockwise INT4 inference engine with packed-nibble weights, per-group scales/zero-points, and fused dequantizing GEMM — a portfolio project that demonstrates real systems and ML engineering depth.

September 22, 2026 · 15 min · 3020 words · martinuke0
A code editor displaying Python implementation of paged attention and KV-cache management

Build a Minimal LLM Inference Engine with Paged Attention and Adaptive KV-Cache Eviction in Pure Python

A hands-on guide to building a minimal LLM inference engine with paged attention and adaptive KV-cache eviction in pure Python, designed to demonstrate real systems engineering prowess on your CV.

September 21, 2026 · 13 min · 2752 words · martinuke0

How Ollama Works Internally: A Deep Technical Dive

Ollama is an open-source framework that enables running large language models (LLMs) locally on personal hardware, prioritizing privacy, low latency, and ease of use.[1][2] At its core, Ollama leverages llama.cpp as its inference engine within a client-server architecture, packaging models like Llama for seamless local execution without cloud dependencies.[2][3] This comprehensive guide dissects Ollama’s internal mechanics, from model management to inference pipelines, quantization techniques, and hardware optimization. Whether you’re a developer integrating Ollama into apps or a curious engineer, you’ll gain actionable insights into its layered design. ...

January 6, 2026 · 4 min · 739 words · martinuke0
Feedback