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

Clone this repo:
  1. c83ee08 fix pytest (#12483) by Mehrdad Hessar · 49 minutes ago main
  2. bdcfa01 [Fix] Fix some typos (#11503) by Yulv-git · 52 minutes ago
  3. 9d6039b fix group_conv3d caculate error (#12500) by chengven027-intellif · 53 minutes ago
  4. 41be1b4 [TOPI]fix scatterND large shape problem (#12200) by chengven027-intellif · 55 minutes ago
  5. 8b3401c [microTVM] Add config space to dense_dsp schedule (#12444) by Mehrdad Hessar · 2 hours ago

Open Deep Learning Compiler Stack

Documentation | Contributors | Community | Release Notes

Build Status WinMacBuild

Apache TVM is a compiler stack for deep learning systems. It is designed to close the gap between the productivity-focused deep learning frameworks, and the performance- and efficiency-focused hardware backends. TVM works with deep learning frameworks to provide end to end compilation to different backends.


TVM is licensed under the Apache-2.0 license.

Getting Started

Check out the TVM Documentation site for installation instructions, tutorials, examples, and more. The Getting Started with TVM tutorial is a great place to start.

Contribute to TVM

TVM adopts apache committer model, we aim to create an open source project that is maintained and owned by the community. Check out the Contributor Guide.


We learned a lot from the following projects when building TVM.

  • Halide: Part of TVM's TIR and arithmetic simplification module originates from Halide. We also learned and adapted some part of lowering pipeline from Halide.
  • Loopy: use of integer set analysis and its loop transformation primitives.
  • Theano: the design inspiration of symbolic scan operator for recurrence.