GPU architecture diagram showing tiled attention computation with memory hierarchy

Build a FlashAttention-2 Kernel from Scratch in Triton

Build a production-grade FlashAttention-2 kernel from scratch in Triton, complete with tiled causal masking, FP16 accumulation, and PyTorch benchmarks to demonstrate deep GPU programming expertise.

September 20, 2026 · 14 min · 2927 words · martinuke0
Stylized diagram of a GPU die with attention tile matrices overlaid in cyan and amber.

Optimizing Triton Kernels for Custom Attention Patterns on H100 GPUs

A working engineer’s guide to squeezing the H100 with custom Triton kernels: tile sizing, swizzle patterns, pipeline stages, and the warp-specialization tricks that make non-vanilla attention fly.

September 5, 2026 · 11 min · 2308 words · martinuke0
Code editor showing a Python implementation of flash attention with tiling and online softmax in NumPy.

Building Flash Attention from Scratch in Pure NumPy: A CV-Worthy Systems Project

Build flash attention from scratch in pure NumPy using tiling and the online softmax trick, then extend it toward production. A deep, runnable project that signals real systems engineering to hiring managers.

September 4, 2026 · 14 min · 2834 words · martinuke0
Feedback