A tiled matrix multiplication visualization showing blocks of Q, K, and V matrices

Build a FlashAttention Kernel in Pure NumPy: Tiled Attention with Online Softmax

A hands-on guide to implementing FlashAttention in pure NumPy, demonstrating tiling, online softmax, and O(N) memory scaling — the exact systems skill hiring managers look for.

November 15, 2026 · 11 min · 2206 words · martinuke0
Illustration of a tiled attention kernel processing queries, keys, and values

Hands‑On Build Guide: FlashAttention‑Style Tiled Attention Kernel in Pure NumPy

A step‑by‑step NumPy implementation of tiled online softmax attention, mirroring FlashAttention’s memory‑efficiency, perfect for demonstrating systems‑level engineering in a portfolio.

November 14, 2026 · 7 min · 1309 words · martinuke0
A sleek notebook with code visualisations

Build a Pure‑NumPy LLM Sampling Engine for Your Portfolio

Learn how to implement a complete LLM token‑sampling engine from scratch using only NumPy, with temperature, top‑k, top‑p, min‑p, repetition penalty and reproducible logit‑warping pipelines.

November 14, 2026 · 8 min · 1609 words · martinuke0
A laptop screen showing NumPy code with LoRA weight matrices.

From-Scratch LoRA Fine-Tuning Library in Pure NumPy

A hands‑on guide to implementing a complete LoRA fine‑tuning library in pure NumPy, complete with training, merging, and DoRA adapters.

November 14, 2026 · 8 min · 1648 words · martinuke0
A Python notebook with NumPy arrays visualising KV‑cache blocks.

From‑Scratch PagedAttention KV‑Cache Engine in Pure Python + NumPy

A hands‑on guide to building a production‑style KV‑cache engine from scratch, demonstrating paging, CoW sharing, and batched decode – perfect for CV signals.

November 13, 2026 · 10 min · 1982 words · martinuke0
Feedback