A visualization of quantized weight tensors with block-wise scaling

Building a Pure-Python INT4 Transformer Weight Quantizer with Block-Wise Per-Channel Scaling

A practical guide to building a pure-Python INT4 quantizer for transformer weights, demonstrating real systems skills for your portfolio.

October 14, 2026 · 7 min · 1291 words · martinuke0
sliding window attention cache

Hands-On Build Guide: Sliding-Window Attention KV Cache with LRU Eviction

A hands‑on guide to implementing a sliding‑window attention KV cache with LRU eviction, complete with runnable Python code, benchmarks, and extension ideas for production use.

October 14, 2026 · 10 min · 1954 words · martinuke0
A laptop displaying code for LoRA adapter training

Build a LoRA Adapter Trainer from Scratch in Pure Python

Learn to implement LoRA fine-tuning from scratch, creating a portfolio project that demonstrates real ML infrastructure expertise.

October 14, 2026 · 6 min · 1165 words · martinuke0
A diagram of a sampler pipeline

Building a Pure-Python Top-p/Top-k Sampler with Temperature Scaling for LLM Logits

This post walks through building a pure-Python top-p/top-k sampler with temperature scaling, providing runnable code and a roadmap for productionizing it.

October 14, 2026 · 7 min · 1299 words · martinuke0
A sleek Python code editor with visual cache diagrams

Pure Python Paged Attention Engine with LRU KV‑Cache Eviction

A step‑by‑step guide to building a pure Python paged attention engine with LRU cache eviction, perfect for demonstrating systems‑level skills to ML recruiters.

October 13, 2026 · 9 min · 1914 words · martinuke0
Feedback