# Apache TVM

> Open machine learning compiler framework from the Apache Software Foundation

Source: https://talira.ai/catalog/apache-tvm-gb9nz0vc
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Library
- Categories: [ai / inference / runtimes](https://talira.ai/categories/ai/inference/runtimes), [ai / ml / gpu kernels](https://talira.ai/categories/ai/ml/gpu-kernels)
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Apache Software Foundation](https://talira.ai/orgs/apache-software-foundation.md)
- Funding: non-profit[^3]

Apache TVM is an Apache-2.0 machine learning compiler framework, an Apache Software Foundation project that started as a research project on deep learning compilation. It turns models into minimal deployable modules for many kinds of hardware, with Python-first compiler pipelines: TensorIR as the tensor-level representation and Relax as the graph-level one. Its projects include TVM TIRx, a minimal core IR with code generation for CUDA and LLVM host targets, and TVM FFI, an open ABI that moves compiler objects, functions and tensors across Python, C++, Rust and frameworks such as PyTorch. It's also used to build kernel DSLs and tools that analyze ML compilers' programs.

## Links

- Website: https://tvm.apache.org/
- GitHub: https://github.com/apache/tvm
- Docs: https://tvm.apache.org/docs/

## Problems it solves

- compile a deep learning model to run efficiently on different hardware
- build my own ML compiler or kernel DSL on an existing foundation
- deploy a trained model as a small module without the full framework

## Features

- compiles models into minimal deployable modules
- Python-first, customizable compiler pipelines
- TensorIR and Relax representations at the tensor and graph levels
- TVM FFI: an open ABI across Python, C++, Rust and PyTorch
- code generation for CUDA and LLVM targets

## Trust

Overall: 0.76 out of 1.
Signals: maintenance 1.00, adoption 0.83, momentum 0.62, community 1.00, backing 0.55, extensibility 0.00.

- last commit 5 days ago
- 380 commits in the last 90 days
- latest release v0.27.0.post1 2 months ago
- 13.9k GitHub stars
- 1204 contributors
- backed by Apache Software Foundation
- funding: non-profit

## Alternatives

- [ONNX Runtime](https://talira.ai/catalog/onnx-runtime-82vyrppc.md): Cross-platform, high performance ML inferencing and training accelerator
- [OpenVINO](https://talira.ai/catalog/openvino-8rd6btgf.md): Open source toolkit for optimizing and deploying AI inference

## Sources

[^1]: https://tvm.apache.org/ (checked 30 Nov 2026)
[^2]: https://github.com/apache/tvm/blob/main/LICENSE (checked 30 Nov 2026)
[^3]: https://www.apache.org/foundation/ (checked 20 Nov 2026)
