T · Infrastructure in AI and software
Compilers.
Software that turns models into fast chip code.
The job
Running AI models on any chip
Whoever makes this step cheap decides whether chips other than NVIDIA's can run the models people already have.
- Approaches
- 5
- Checked on
- 25 Nov 2026
The approaches
Five ways to do it
| Approach | Potential | Readiness | Stage | What sets it apart |
|---|---|---|---|---|
| XLA | 25 | 88 | Routine | Compiles whole models; the software under Google's TPUs |
| Triton | 25 | 81 | Routine on GPUs | Python kernel language; writes the GPU code behind torch.compile |
| MLIR | 11 | 69 | Routine | A toolkit others build compilers from, not a compiler itself |
| Apache TVM | 25 | 50 | In paid use, shrinking | Searches for fast code automatically; its main seller closed in 2024 |
| IREE | 25 | 50 | Prototype | Compiler plus small runtime, phone to datacentre; AMD carries its use |
What every approach rests on
The key result
A model written once must run on a chip at close to the speed of the chip maker's own hand-tuned code. It has been shown: Triton's matrix multiply matches NVIDIA's cuBLAS library (OpenAI, Jul 2021), and Google's TPUs run PyTorch and JAX models through XLA (Google, Apr 2026). Matching on one chip is not matching on all: each chip's back end, the part that writes its code, is separate work unverified.
The standard to beat
On NVIDIA GPUs, the usual path is NVIDIA's own CUDA language and libraries, tuned by hand for each chip unverified. Every approach here is judged against that code.
Open licences
All five are open source: XLA under Apache 2.0 (GitHub), Triton under MIT (GitHub), TVM under Apache 2.0 (GitHub), IREE under Apache 2.0 with LLVM exceptions (GitHub), and MLIR as part of LLVM (Wikipedia). Released code cannot be withdrawn. The chips they target are scored on their own pages.
Scores every approach shares
Novelty 2
Would a buyer switch for it, all else equal?
Faster code by well under 2 times, and rivals also span chips.
Buyers judge the speed of the code. Reported gains run from parity with cuBLAS (OpenAI) to 20% and 36% faster on 165 models with torch.compile (PyTorch) and 72% and 88% on two models with XLA (Google). Running on many chips is not unique: every row below does it.
Judgement
Supply 5
Could a buyer get it if one country or one firm said no?
Open source; anyone can copy and keep it.
No input specific to a compiler can be cut off; the licences are above.
Independent
Impact is 2 on four pages, each for its own users; MLIR, a toolkit only compiler engineers see, scores 1. Viability, drivers and ease of adoption differ and sit on each page.
Against the alternatives
| Way of doing it | What it gives you | What it costs you | Where it is now |
|---|---|---|---|
| XLA | Whole-model compiling; the path onto TPUs | Trails hand-tuned code on NVIDIA GPUs unverified | Routine |
| Triton kernel language | Fast GPU code written in Python | NVIDIA and AMD GPUs only; CPUs under development (GitHub) | Routine on GPUs |
| MLIR | Shared parts for building a compiler | Each chip still needs its own lowering work unverified | Routine among compiler builders |
| Apache TVM | Automatic search for fast code; language models on phones and in browsers via MLC LLM (GitHub) | Main seller closed its service in 2024 (GeekWire) | In paid use, shrinking |
| IREE | One compiler and runtime, from phone to datacentre | Few users beyond AMD; SHARK Studio unmaintained (GitHub) | Prototype |
| NVIDIA CUDA and its libraries | The fastest code on NVIDIA GPUs unverified | Runs on NVIDIA chips only unverified | Routine |
| AMD ROCm and HIP | CUDA-like code on AMD GPUs unverified | AMD chips only | In paid use unverified |
| Modular MAX and Mojo | One platform across NVIDIA and AMD GPUs, CPUs and Apple GPUs (Modular, Sep 2025) | Young; one firm controls it | In paid use, cloud partners named (Modular) |
- Works with
- AI orchestration, which routes work across chips once each can run it.
- Needs
- A back end for each chip, written by its maker or by the open community.
- Feeds
- on-device LLM inference; new AI chips such as wafer-scale chips, which need a compiler before any model runs.
T-02 · The technologies
Other technologies here
- 1Interaction Nets
- Potential 39, readiness 0
T-03 · What rests on it
Theses that rest on this topic
Companies in my investments book
Companies I backed, with my own money or through a venture fund I work or worked with. Each page has the detail.
Other topics in AI and software
Models and Agents
Infrastructure
Scientific Computing