Frontier Research Engineering

JAX, XLA & GPU Kernels

Socratic Tutor

Functional ML with JAX/XLA sharding, GPU memory hierarchy and rooflines, FlashAttention online softmax, and Triton kernel engineering.

JAX & XLA

JAX Mental Model: Pure Functions, PyTrees & Explicit PRNGCore
13 min
Composable Transforms: jit, vmap, grad & Tracing PitfallsCore
13 min
SPMD Sharding in JAX: Mesh, NamedSharding & shard_map
14 min

GPU Kernels & FlashAttention

GPU Memory Hierarchy & Roofline AnalysisCore
13 min
FlashAttention: Tiling & Online SoftmaxCore
14 min
Writing GPU Kernels with Triton & torch.compile
13 min
StackSweep | Engineering practice