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.
This post walks through building a FlashAttention-style tiled self-attention block in NumPy, covering online softmax, KV caching, and performance benchmarks.
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.
Learn to implement a production‑ready INT8 quantizer with per‑channel scaling, test it on transformer weights, and extend it for real‑world deployment.
Learn to implement LoRA fine-tuning from scratch, creating a portfolio project that demonstrates real ML infrastructure expertise.
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.