Titan AI LogoTitan AI

tvm

12,657
3,662
Python

Project Description

Open deep learning compiler stack for cpu, gpu and specialized accelerators

tvm: Open deep learning compiler stack for cpu, gpu and specialized accelerators

Project Title

tvm — Open Deep Learning Compiler Stack for CPU, GPU, and Specialized Accelerators

Overview

Apache TVM is an open-source deep learning compiler stack designed to bridge the gap between productivity-focused deep learning frameworks and performance- and efficiency-focused hardware backends. It provides end-to-end compilation for various backends, enabling developers to optimize deep learning models for different devices with ease.

Key Features

  • Cross-level design with TensorIR and Relax for tensor-level and graph-level representations
  • Python-first transformations for customizable optimizations
  • Joint optimization of computational graphs, tensor programs, and libraries

Use Cases

  • Deep learning model optimization for CPUs, GPUs, and specialized accelerators
  • Customizable transformations in Python for domain-specific vertical compilers
  • Building Python-first vertical compilers for domains like LLMs

Advantages

  • Supports a wide range of hardware backends, including CPUs, GPUs, and specialized accelerators
  • Enables end-to-end compilation and optimization of deep learning models
  • Provides a Python-first approach to customize transformations and optimizations

Limitations / Considerations

  • May require a steep learning curve for developers unfamiliar with deep learning compilation
  • Performance optimizations may vary depending on the specific hardware backend

Similar / Related Projects

  • Halide: A project that TVM's TIR and arithmetic simplification module originates from, focusing on image processing pipelines.
  • Loopy: Utilized for integer set analysis and loop transformation primitives in TVM.
  • Theano: Provided design inspiration for TVM's symbolic scan operator for recurrence.

Basic Information


📊 Project Information

  • Project Name: tvm
  • GitHub URL: https://github.com/apache/tvm
  • Programming Language: Python
  • ⭐ Stars: 12,450
  • 🍴 Forks: 3,621
  • 📅 Created: 2016-10-12
  • 🔄 Last Updated: 2025-07-15

🏷️ Project Topics

Topics: [, ", c, o, m, p, i, l, e, r, ", ,, , ", d, e, e, p, -, l, e, a, r, n, i, n, g, ", ,, , ", g, p, u, ", ,, , ", j, a, v, a, s, c, r, i, p, t, ", ,, , ", m, a, c, h, i, n, e, -, l, e, a, r, n, i, n, g, ", ,, , ", m, e, t, a, l, ", ,, , ", o, p, e, n, c, l, ", ,, , ", p, e, r, f, o, r, m, a, n, c, e, ", ,, , ", r, o, c, m, ", ,, , ", s, p, i, r, v, ", ,, , ", t, e, n, s, o, r, ", ,, , ", t, v, m, ", ,, , ", v, u, l, k, a, n, ", ]


📚 Documentation


This article is automatically generated by AI based on GitHub project information and README content analysis

Titan AI Explorehttps://www.titanaiexplore.com/projects/tvm-70746484en-USTechnology

Project Information

Created on 10/12/2016
Updated on 9/25/2025