i
A tensor computing language and compiler named i with a simple explicit scheduling model (loop splitting, loop ordering, and input "staging"). These mechanisms alone can express complex algorithms like FlashAttention, generating target code with loop fusion, minimized intermediate allocations, and "online" reductions. Currently includes a runtime and a compiler targeting C written in dependency-free Rust plus a minimal Python frontend, with a CUDA backend in progress. Still proof-of-concept stage and not yet fast.
What it addresses
Enable automatic discovery of FlashAttention-style optimizations, which is not feasible with current compilers.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
i
A tensor computing language and compiler named i with a simple explicit scheduling model (loop splitting, loop ordering, and input "staging"). These mechanisms alone can express complex algorithms like FlashAttention, generating target code with loop fusion, minimized intermediate allocations, and "online" reductions. Currently includes a runtime and a compiler targeting C written in dependency-free Rust plus a minimal Python frontend, with a CUDA backend in progress. Still proof-of-concept stage and not yet fast.
Problem: Enable automatic discovery of FlashAttention-style optimizations, which is not feasible with current compilers.
Posted by @loganboyd · Original source ↗
Source text · @loganboyd · · Source ↗
I’m working on a tensor computing language/compiler called i with a simple explicit scheduling model (loop splitting, loop ordering, input “staging”).