- Luminal provides the foundation for our machine learning framework, expertly handling computational graphs and compilers.
- Stwo serves as the constraint framework, enabling us to design an Algebraic Intermediate Representation (AIR) that is provable using Stwo’s compatible prover and verifier.

Luminal: A Minimalist Machine Learning Framework
Luminal is a Rust-based machine learning framework, drawing inspiration from Tinygrad. Its key feature is the use of composable compilers, which simplify the process of adding support for new backends. Luminal’s design philosophy centers around a minimal core, ensuring maintainability. At its heart, Luminal operates with just 11 primitive operators:- Unary:
Log2
,Exp2
,Sin
,Sqrt
,Recip
- Binary:
Add
,Mul
,Mod
,LessThan
- Other:
SumReduce
,MaxReduce
,Contiguous