Illustration of a tiled self-attention block with KV cache

Building a FlashAttention-Style Tiled Self-Attention Block in NumPy

This post walks through building a FlashAttention-style tiled self-attention block in NumPy, covering online softmax, KV caching, and performance benchmarks.

October 22, 2026 · 7 min · 1392 words · martinuke0
LoRA augmented transformer attention block illustration

Hands‑On Build Guide: LoRA‑Augmented Transformer Attention Block in Pure Python

A step‑by‑step guide to implementing a LoRA‑modulated attention block in pure Python, complete with runnable code, testing, and a roadmap to production‑grade extensions.

October 18, 2026 · 9 min · 1803 words · martinuke0
Short description of the cover image subject.

Pure-Python INT8 Weight Quantizer for Transformer Inference: A Hands-On Build Guide

Learn to implement a production‑ready INT8 quantizer with per‑channel scaling, test it on transformer weights, and extend it for real‑world deployment.

October 14, 2026 · 8 min · 1687 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 clean visualization of probability distributions after different decoding strategies

From Scratch Decoding: Building a Pure-Python Sampler for Transformer Logits

A hands-on guide to building a pure-Python sampler for transformer logits, covering temperature scaling, top-k, top-p, and typical-p decoding from scratch.

October 11, 2026 · 9 min · 1860 words · martinuke0
Feedback