mlsanityData to 14 Oct 2026

PolyBlocks: A Compiler Infrastructure for AI Chips and Programming Frameworks

arXiv 2603.06731 ↗First posted 6 Mar 2026cs.PL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

We present the design and implementation of PolyBlocks, a modular and reusable MLIR-based compiler infrastructure for AI programming frameworks and AI chips. PolyBlocks is based on pass pipelines that compose transformations on loop nests and SSA, primarily relying on lightweight affine access analysis; the transformations are stitched together in specialized ways to realize high-performance code automatically by the use of analytical cost models and heuristics. The optimizations in these passes include multi-level tiling, fusion, on-chip scratchpad usage, mapping matmuls and convolutions to matrix units, fusing the attention layer, and several other transformations for parallelism and locality. They have been developed in a way that makes it easy to build PolyBlocks-based compilers to target new chips, reusing much of the infrastructure. PolyBlocks' design and architecture enable fully automatic code generation from high-level frameworks to low-level target-specific intrinsics. Experimental results from evaluating PolyBlocks-powered just-in-time compilation for PyTorch and JAX targeting NVIDIA GPUs show that it is able to match or outperform Torch Inductor and XLA in several cases, although the latter rely on a combination of vendor libraries and code generation. For individual operators like matmuls and convolutions, PolyBlocks-generated code is competitive with the best vendor-tuned libraries or hand-written kernels.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 10 of its 58 references that are in the map. First posted on arXiv 6 Mar 2026.

Builds on

10 of 58 references.

References · 10

  1. 2017Attention Is All You Needcited by 60,361
  2. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  3. 2014cuDNN: Efficient Primitives for Deep Learningcited by 245
  4. 2024Flex Attention: A Programming Model for Generating Optimized Attention Kernelscited by 185
  5. 2018Online normalizer calculation for softmaxcited by 162
  6. 2018Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractionscited by 85
  7. 2021SCENIC: A JAX Library for Computer Vision Research and Beyondcited by 57
  8. 2024ThunderKittens: Simple, Fast, and Adorable AI Kernelscited by 36
  9. 2022Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programscited by 28
  10. 2020Automatic Kernel Generation for Volta Tensor Corescited by 8

Built on by

Not cited yet.