# Apache TVM

Source: https://stateofthefuture.io/ai-software/ai-compilers/tvm/
Checked: 25 Nov 2026

An open compiler that searches for the fastest code on each chip.

Potential 25. Readiness 50. Position: Challenger.

## What it is

TVM began as a University of Washington research project ([GeekWire](https://www.geekwire.com/2024/chip-giant-nvidia-acquires-octoai-a-seattle-startup-that-helps-companies-run-ai-models/)). It describes a model twice: Relax for the whole model, TensorIR for each operation ([GitHub](https://github.com/apache/tvm)). It then tries many ways of arranging each operation's loops and keeps the fastest for the target chip [unverified].

The case: MLC LLM, built on TVM's methods, runs language models on iPhones, Android phones and in web browsers, as well as on NVIDIA and AMD GPUs ([GitHub](https://github.com/mlc-ai/mlc-llm)).

Work continues: version 0.27.0 came out in September 2026, adding attention features for language models ([GitHub](https://github.com/apache/tvm/releases)).

Cost: Free under the Apache 2.0 licence. No public price.

What counts: TVM and tools built on it, MLC LLM among them. Running language models on phones has its own page, [on-device LLM inference](https://stateofthefuture.io/compute/edge-ai/on-device-llm-inference/).

## The read

Middling readiness, low potential. TVM showed that automatic search could reach many chips, but its main company sold to NVIDIA and closed its service. It lives on as an open project and through MLC LLM.

The catch: The search for fast code costs compile time for each new model and chip [unverified].

## How it scores

- **Impact 2/5.** Phone and browser users get models that would not otherwise run there.. MLC LLM brings language models to phones and browsers through WebGPU ([GitHub](https://github.com/mlc-ai/mlc-llm)). Users see it as a feature of the app; the app is the same product. Judgement
- **Novelty 2/5.** Faster code by well under 2 times, and rivals also span chips.. 
- **Viability 3/5.** Works in real use; no outside proof of paid use since 2024.. Code built with it runs on CUDA, ROCm, Metal, Vulkan, OpenCL and WebGPU ([GitHub](https://github.com/mlc-ai/mlc-llm)). No paying user has published results since OctoAI closed [unverified]. Judgement
- **Drivers 2/5.** Its main paid service closed; no named buyer since.. A shrinking market scores no higher than 2. Judgement
- **Ease of adoption 2/5.** New tools and a tuning step for each model and chip.. Users leave their framework's own compiler for TVM's workflow [unverified]. Judgement
- **Supply 5/5.** Open source; anyone can copy and keep it.. 

The brake: Cost. With no firm selling it, users carry the tuning and upkeep themselves [unverified].

## What changed

- 2017: TVM opens as a University of Washington research project [unverified]. Automatic search for fast code on any chip [GeekWire](https://www.geekwire.com/2024/chip-giant-nvidia-acquires-octoai-a-seattle-startup-that-helps-companies-run-ai-models/)
- 25 Sep 2024: NVIDIA buys OctoAI, about $165 million reported; its service closes 31 Oct. TVM loses its main seller [GeekWire](https://www.geekwire.com/2024/chip-giant-nvidia-acquires-octoai-a-seattle-startup-that-helps-companies-run-ai-models/)
- Sep 2026: Version 0.27.0 adds features for serving language models. Development continues without a main seller [GitHub](https://github.com/apache/tvm/releases)

## Who captures the value

Little money lands anywhere. NVIDIA bought the team behind TVM's main business ([GeekWire](https://www.geekwire.com/2024/chip-giant-nvidia-acquires-octoai-a-seattle-startup-that-helps-companies-run-ai-models/)). App makers who run models on phones gain most, for free. Evidence: Judgement.

## What would change this

- Any date: A firm starts selling a service built on TVM again. Drivers would rise to 3.
- Each release: Whether chip makers keep TVM back ends or move them to MLIR. A move would cut viability.

Prediction: Apache TVM puts out at least one new release in 2027. Probability 85%.

## Against the alternatives

The alternatives table is on [the AI compilers page](https://stateofthefuture.io/ai-software/ai-compilers/).

## Who is involved

| Name (country, listing) | Role | Money | Stage |
| --- | --- | --- | --- |
| Apache Software Foundation (US, non-profit) | sets the rules | not disclosed | Releases continue ([GitHub](https://github.com/apache/tvm/releases)) |
| OctoAI (US, bought by NVIDIA) | provided it as a service | about $165 million sale, reported ([GeekWire](https://www.geekwire.com/2024/chip-giant-nvidia-acquires-octoai-a-seattle-startup-that-helps-companies-run-ai-models/)) | Closed Oct 2024 |
| NVIDIA (US, Nasdaq) | bought OctoAI | as above | Plans for the software not stated |
| MLC LLM project (open source) | makes tools on it | not disclosed | In use ([GitHub](https://github.com/mlc-ai/mlc-llm)) |
| University of Washington (US) | began it | public | Research origin |


Author: Lawrence Lundy-Bryan, State of the Future (https://stateofthefuture.io/)
