FlashAttention kernel code on a laptop screen

Build a FlashAttention Kernel from Scratch in Pure Python

A step‑by‑step guide to implementing FlashAttention in pure Python, with runnable code and production‑ready extensions.

November 30, 2026 · 8 min · 1550 words · martinuke0
A schematic of a tiled attention matrix with softmax arrows.

Build a Flash Attention Kernel from Scratch with Pure NumPy

Implement a flash‑attention kernel from scratch in NumPy, covering online softmax, tiling, and performance tricks you can run and extend.

November 29, 2026 · 7 min · 1461 words · martinuke0
Sparse mixture-of-experts router code

Build a Sparse Mixture-of-Experts Router from Scratch in Python

A hands‑on guide to implementing a sparse MoE router in pure Python, complete with top‑k gating, load‑balancing loss, and token dropping, perfect for a standout CV project.

November 26, 2026 · 9 min · 1869 words · martinuke0
GGUF parser project illustration

GGUF Parser with Q4_K/Q8_0 Dequantization Kernels in Python

This guide walks you through building a pure‑Python GGUF parser with Q4_K/Q8_0 kernels, giving you a tangible project that demonstrates low‑level ML engineering skill.

November 23, 2026 · 11 min · 2322 words · martinuke0
Speculative decoding engine architecture diagram

Speculative Decoding Inference Engine with Adaptive Draft and Early-Exit Verification

A hands-on guide to implementing speculative decoding in Python, featuring adaptive drafting and early-exit verification for faster LLM inference.

November 23, 2026 · 6 min · 1276 words · martinuke0
Feedback