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.
A step‑by‑step guide to implementing FlashAttention in pure Python, with runnable code and production‑ready extensions.
A minimal, pure‑NumPy implementation of LoRA fine‑tuning that freezes base weights, learns low‑rank adapters, and merges deltas into a checkpoint – perfect for a portfolio CV project.
A complete guide to building a Mixture-of-Experts router from scratch, including top-k gating, auxiliary load-balancing loss, runnable Python/NumPy code, and production-ready extensions for your CV.
A complete guide and runnable PyTorch implementation of a Mixture‑of‑Experts layer with noisy top‑k routing, auxiliary load‑balancing, and token dispatch, perfect for a portfolio CV.
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.