Don't Write Kernels, Derive Them | Municipal Robotics
Municipal Robotics details tang, a Rust library and compiler tensor IR that derives neural network kernels mathematically from scalar expression graphs and rewrites rather than requiring hand-written implementations. The compiler uses view composition, comprehension monoids, and automated schedule searches to lower models into various hardware targets, achieving competitive performance with hand-written kernels and frameworks like PyTorch. Open article →