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
Abstract visualization of token sampling probabilities

Build a Pure Python LLM Decoder from Scratch: Temperature, Top-k, and Top-p Sampling

A hands-on guide to implementing temperature, top-k, and top-p sampling in pure Python, with runnable code that showcases systems engineering skills.

September 22, 2026 · 10 min · 2026 words · martinuke0
A diagram of a neural network merging LoRA weights

From Scratch: Building a LoRA Weight Merger in PyTorch

This tutorial walks you through implementing a LoRA weight merger in PyTorch, giving you a concrete portfolio piece that highlights systems thinking and ML engineering prowess.

September 22, 2026 · 7 min · 1330 words · martinuke0
A code editor displaying a Python sampling loop with temperature and top-k parameters

Build a From-Scratch LLM Sampler: Temperature, Top-k, Top-p in Pure Python

A hands-on guide to building a pure-Python transformer model with a custom decoding loop implementing temperature, top-k, and top-p sampling — a CV-worthy project that demonstrates deep ML systems knowledge.

September 22, 2026 · 13 min · 2679 words · martinuke0
A visual representation of a speculative decoding engine processing tokens across multiple parallel heads.

Building a Medusa Speculative Decoding Engine from Scratch

Learn how to build a high-performance speculative decoding engine from scratch, mastering KV-cache management and token-tree verification to optimize LLM inference.

September 21, 2026 · 8 min · 1620 words · martinuke0
Feedback