Skip to main content

Apache TVM: An End-to-End Deep Learning Compiler Stack

Project description

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.

Project details


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.25.0-py3-none-win_amd64.whl (56.3 MB view details)

Uploaded Python 3Windows x86-64

apache_tvm-0.25.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (84.9 MB view details)

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

apache_tvm-0.25.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (79.5 MB view details)

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

apache_tvm-0.25.0-py3-none-macosx_11_0_arm64.whl (64.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: apache_tvm-0.25.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 56.3 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.25.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9a6411b9adad9d070c4c1d785876799a4a4d83dfdc27f601e4db198e2951da69
MD5 83f19e56923f87ea8a97ff68e6754914
BLAKE2b-256 a78bba87267abfdef2a1ca626f6410fbb7be45043ac90dfaad6ab6bd4e345061

See more details on using hashes here.

Provenance

The following attestation bundles were made for apache_tvm-0.25.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.25.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for apache_tvm-0.25.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 17f6f14265ef934454bd18c6e24a12e108606921f238d65aabcdd209f4c943e8
MD5 3fdc228336e40f00311d350f516fb763
BLAKE2b-256 c015daf7c44fb18c8afae29da73ff67819c4c57bcc552b15c20107f6ea64e824

See more details on using hashes here.

Provenance

The following attestation bundles were made for apache_tvm-0.25.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.25.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for apache_tvm-0.25.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5db227a74a130dd1607c3f89349527fa20c39ec3117c0f69ee20a8db172c4e6e
MD5 57f4b368caf5ed53e53541b1bff44d67
BLAKE2b-256 56bc8e53ad8dcb959f11187cf4e4019effbbc80126e69ac32c08929a28bd91ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for apache_tvm-0.25.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.25.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for apache_tvm-0.25.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d3bcbe0f34519f87f8a3b011aafcc17be8e671e6aa449e3b70f10e41494e315
MD5 ead9d4d3de034979ec30b783497b07da
BLAKE2b-256 ff38d17d0f2666b6b345fa3e7b22343405ca226005a2aa1892d82d90e9ef4d0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for apache_tvm-0.25.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 Pingdom Monitoring Sentry Error logging StatusPage Status page