Skip to main content

Open Machine Learning Compiler Framework

Documentation | Contributors | Community | Release Notes

Apache TVM is an open machine learning compilation framework, following the following principles:

  • Python-first development that enables quick customization of machine learning compiler pipelines.
  • Universal deployment to bring models into minimum deployable modules.

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 the Apache committer model. We aim to create an open-source project maintained and owned by the community. Check out the Contributor Guide.

History and Acknowledgement

TVM started as a research project for deep learning compilation. The first version of the project benefited a lot from the following projects:

  • Halide: Part of TVM's TIR and arithmetic simplification module originates from Halide. We also learned and adapted some parts of the 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.

Since then, the project has gone through several rounds of redesigns. The current design is also drastically different from the initial design, following the development trend of the ML compiler community.

The most recent version focuses on a cross-level design with TensorIR as the tensor-level representation and Relax as the graph-level representation and Python-first transformations. The project's current design goal is to make the ML compiler accessible by enabling most transformations to be customizable in Python and bringing a cross-level representation that can jointly optimize computational graphs, tensor programs, and libraries. The project is also a foundation infra for building Python-first vertical compilers for domains, such as LLMs.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

apache_tvm-0.26.0-py3-none-win_amd64.whl (64.4 MB view details)

Uploaded Python 3Windows x86-64

apache_tvm-0.26.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (99.0 MB view details)

Uploaded Python 3manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

apache_tvm-0.26.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (92.7 MB view details)

Uploaded Python 3manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

apache_tvm-0.26.0-py3-none-macosx_11_0_arm64.whl (77.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file apache_tvm-0.26.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: apache_tvm-0.26.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 64.4 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for apache_tvm-0.26.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3993a1122b922ed2186e946689d6940e4beb8b97ee5012bb118d3cfa472ee681
MD5 59683acb8d42ab706a3c74913076ca4f
BLAKE2b-256 a24fec2c06deac38d2a68a2be1474c13494d6fcbe5c48a09dcd8439300318ecb

See more details on using hashes here.

Provenance

The following attestation bundles were made for apache_tvm-0.26.0-py3-none-win_amd64.whl:

Publisher: publish_wheel.yml on apache/tvm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file apache_tvm-0.26.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for apache_tvm-0.26.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f4b497602e8a6edc0f5cba797ec60388ea0e57d9b9599c6a8af156425e726149
MD5 675cc2e0bb8ee3355dbb9c268370a38e
BLAKE2b-256 4ee336542e85214811983789c94abfca6ddaf0ef6268c37ef870742c0daf4430

See more details on using hashes here.

Provenance

The following attestation bundles were made for apache_tvm-0.26.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish_wheel.yml on apache/tvm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file apache_tvm-0.26.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for apache_tvm-0.26.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 72c48f816cda98ee8d09283d52b9e56fdb1daca074d483a18e2817b5dbeac45b
MD5 67c61f67e8b07cd74deeb6bf8abe5ec6
BLAKE2b-256 0b53ff1fd9c8d0f4460cbac998c3b66d26d4b71ed96caf60c6bab854da8ec375

See more details on using hashes here.

Provenance

The following attestation bundles were made for apache_tvm-0.26.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish_wheel.yml on apache/tvm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file apache_tvm-0.26.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for apache_tvm-0.26.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9bc169b902b147b333225017a4e10582e62cbcb9e291a5e103e03d34e983ffc6
MD5 9ae0e752adb75f01364a17562e24a12a
BLAKE2b-256 ed5c51562c6cc270d48d3a4350e355d29cdf4ca979d77ab10daae4bb39de563f

See more details on using hashes here.

Provenance

The following attestation bundles were made for apache_tvm-0.26.0-py3-none-macosx_11_0_arm64.whl:

Publisher: publish_wheel.yml on apache/tvm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page