What is AI compiler?

Software that analyzes a model's computational graph, optimizes fusion, data layout and tiling, and generates code for the target hardware, such as XLA and TVM.

Field: AI Hardware & Software Stack

AI compiler in the explanations

Questions that mention AI compiler (2)

  1. What do AI compilers such as XLA, TVM or PyTorch's compile feature mainly do?
  2. Which orders the AI software stack from the layer closest to users down to the layer closest to hardware?

Related terms

Computational graph GPU NPU (neural processing unit) AI inference All-reduce Arithmetic intensity Attention mechanism Backpropagation Batch size Data parallelism

Back to the glossary