Lecture 83: Formalized Kernel Derivation @GPUMODE
Lecture 83: Formalized Kernel Derivation  @GPUMODE
Uploaded October 2025 | Updated September 2026, 51 minutes ago
Abstract: Vincent Abbott is a PhD student at the Massachusetts Institute of Technology's (MIT) Zardini Lab who has developed a formal framework for describing the relationship between the mathematical function implemented by a deep learning model, its resource usage, and low-level implementation. These methods are based on category theoretic diagrams [1]. The Zardini Lab has developed these diagrams into a tool for rapidly deriving low-level algorithms, as presented in their recent work FlashAttention on a Napkin [2]. These methods have been put into practice, deriving a FlashAttention-like algorithm for an attention variant from first principles [3].

Recently, he has been working on encoding the underlying mathematics into an automated tool for diagram generation and algorithm optimization. In this talk, Vincent Abbott will cover formal diagrams for deep learning models, show how they can be used to derive low-level algorithms such as FlashAttention and corresponding performance models, and preview work related to automated tools for diagramming and analyzing algorithms.

[1] openreview.net/forum?id=RyZB4qXEgt
[2] openreview.net/forum?id=pF2ukh7HxA
[3] dl.acm.org/doi/10.1007/978-3-032-00686-8_1
Lecture 83: Formalized Kernel DerivationLecture 88: TinyTPULecture 40: CUDA Docs for HumansLecture 87: Low Latency Communication Kernels with NVSHMEMOutperforming cuBLAS on NVFP4Lecture 99: Distributed ML on consumer devicesLecture 79 Mirage (MPK): Compiling LLMs into Mega KernelsLecture 107: PithTrainLecture 58: Disaggregated LLM InferenceLecture 59: FastVideoLecture 93: Cornserve Easy, Fast and Scalable Multimodal AILecture 84: Numerics and AI
GPU MODE |

Lecture 83: Formalized Kernel Derivation

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER