Post from Nov 05, 2025
This post concludes (for now) my ongoing deep-dive into ML compilers, while researching for sdkit v3. I've linked (at the end) to some of the papers that I read related to graph execution on GPUs.
This post concludes (for now) my ongoing deep-dive into ML compilers, while researching for sdkit v3. I've linked (at the end) to some of the papers that I read related to graph execution on GPUs.
A possible intuition for understanding GPU memory hierarchy (and the performance penalty for data transfer between various layers) is to think of it like a manufacturing logistics problem:
Good post on using MLIR for compiling ML models to GPUs. It gives a good broad overview of a GPU architecture, and how MLIR fits into that. The overall series looks pretty interesting too!
Wrote a fresh implementation of most of the popular samplers and schedulers used for image generation (Stable Diffusion and Flux) at https://github.com/cmdr2/samplers.cpp. A few other schedulers (like Align Your Steps) have been left out for now, but are pretty easy to implement.
Some notes on machine-learning compilers, gathered while researching tech for Easy Diffusion's next engine (i.e. sdkit v3). For context, see the design constraints of the new engine.
The design constraints for Easy Diffusion's next engine (i.e. sdkit v3) are:
Cleared the backlog of stale issues on ED's github repo. This brought down the number of open issues from ~350 to 74.
Experimented with TensorRT-RTX (a new library offered by NVIDIA).
Development update for Easy Diffusion - It's chugging along in starts and stops. Broadly, there are three tracks:
Upgraded the default version of Easy Diffusion to Python 3.9. Newer versions of torch don't support Python 3.8, so this became urgent after the release of NVIDIA's 50xx series GPUs.