loganboyd
Right now there is a runtime and compiler targeting C, written in dependency-free Rust, and a minimal Python frontend. The project is very much proof-of-concept stage so not yet fast. Working on a CUDA backend now.
The goal is to enable automatic discovery of FlashAttention-style optimizations which is not feasible with current compilers.
Very open to feedback/discussion from anybody interested in or knowledgeable about tensor compilers!
Those three concepts are enough to write numerically stable online blockwise FlashAttention. Loop tiling, loop fusion, storage folding, and (critically) online reduction rewriting fall out as _predictable_ consequences of the lowering.
The hope is that this scheduling model makes it easier for people and search algorithms to find performant schedules.
Current status: working proof-of-concept. Compiler/runtime in Rust, C backend, small Python front-end, zero dependencies. Not fast (yet).