TIRx: A Unified Tile Primitive ML Compiler Across Heterogeneous Backends
BHBohan Hou
Hongyi JinGuanjie WangShushi HongJinqi ChenYaxing CaiLijie YangZYZihao Ye
Yaoyao Ding
Ruihang LaiTodd MowryTianqi Chen BHBohan Hou

Hongyi Jin
Guanjie Wang
Shushi Hong
Jinqi Chen
Yaxing Cai
Lijie Yang
ZYZihao Ye

Yaoyao Ding

Ruihang Lai
Todd Mowry
Tianqi Chen
+12
We present TIRx, an ML compiler for GPUs and AI accelerators that unifies heterogeneous backends through three explicit interfaces: an execution-scope abstraction capturing participating hardware teams at multiple granularities, tensor layouts mapping logical tensors via named axes and shard/replica/offset semantics, and tile-primitive dispatch that lowers high-level operations based on scope, layout, and backend. This design retains native-level control while automating address calculation, operand preparation, and instruction loops, achieving vendor-level performance and sharply reducing low-level implementation code.

arXiv ·
· January 27, 2026