The Wayback Machine - https://web.archive.org/web/20230410222926/https://github.com/apache/tvm
Skip to content

apache/tvm

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Prior to this PR, the type annotations `PrimType(DataType::Handle())` and
`PointerType(PrimType(DataType::Void()))` are both represented as `T.handle`
in TVMScript, which can cause failures to round-trip between TIR and
TVMScript.  This PR keeps `PrimType(DataType::Handle())` as `T.handle`,
but updates the representation of `PointerType(PrimType(DataType::Void()))`
to `T.handle("void")` in order to distinguish between these two cases.
6ef73e0

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 10, 2023 17:33
April 9, 2023 12:46
November 28, 2022 19:35
web
April 9, 2023 12:46
July 27, 2022 13:04

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.

License

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.

Acknowledgement

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.