TVM: An End to End Tensor IR/DSL Stack for Deep Learning Systems
Project description
Open Deep Learning Compiler Stack
Documentation | Contributors | Community | Release Notes
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 for 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 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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xtc_tvm_python_bindings-0.21.0.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: xtc_tvm_python_bindings-0.21.0.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 42.6 MB
- Tags: CPython 3.14, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce5ae0679e609f9ad7357c44d91caa3e3178c1a2deff5344595ca261a3a3f3da
|
|
| MD5 |
93263885dc87a315ea9a1a02b564cff7
|
|
| BLAKE2b-256 |
525aa11287bb028fa8e1f5fc535b53105e916e720faa7d3bcb2f3c5129f28def
|
Provenance
The following attestation bundles were made for xtc_tvm_python_bindings-0.21.0.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
xtc-tvm-wheels.yml on xtc-tools/xtc-tvm-wheels
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xtc_tvm_python_bindings-0.21.0.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
ce5ae0679e609f9ad7357c44d91caa3e3178c1a2deff5344595ca261a3a3f3da - Sigstore transparency entry: 986045979
- Sigstore integration time:
-
Permalink:
xtc-tools/xtc-tvm-wheels@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Branch / Tag:
refs/tags/tvm-v0.21.0.5 - Owner: https://github.com/xtc-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
xtc-tvm-wheels.yml@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xtc_tvm_python_bindings-0.21.0.5-cp314-cp314-macosx_14_0_arm64.whl.
File metadata
- Download URL: xtc_tvm_python_bindings-0.21.0.5-cp314-cp314-macosx_14_0_arm64.whl
- Upload date:
- Size: 41.4 MB
- Tags: CPython 3.14, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d835adca57ddf1c3c25253865050e320ec46cf72979533bf33f743dc0acbaeb7
|
|
| MD5 |
d0fc9db4d9b16fcd24ff520b492128f9
|
|
| BLAKE2b-256 |
cba84d8e323f29439be7b547a63ca723163eb4dd44b8af9d2949880f268a5aa4
|
Provenance
The following attestation bundles were made for xtc_tvm_python_bindings-0.21.0.5-cp314-cp314-macosx_14_0_arm64.whl:
Publisher:
xtc-tvm-wheels.yml on xtc-tools/xtc-tvm-wheels
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xtc_tvm_python_bindings-0.21.0.5-cp314-cp314-macosx_14_0_arm64.whl -
Subject digest:
d835adca57ddf1c3c25253865050e320ec46cf72979533bf33f743dc0acbaeb7 - Sigstore transparency entry: 986042731
- Sigstore integration time:
-
Permalink:
xtc-tools/xtc-tvm-wheels@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Branch / Tag:
refs/tags/tvm-v0.21.0.5 - Owner: https://github.com/xtc-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
xtc-tvm-wheels.yml@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xtc_tvm_python_bindings-0.21.0.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: xtc_tvm_python_bindings-0.21.0.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 42.6 MB
- Tags: CPython 3.13, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b6d5a313f38e7f5a6e86ce842ef9bf1794431c50aad1925bf385cee6b4381d2
|
|
| MD5 |
d821cddfc26c345cfac82e7bdb03f485
|
|
| BLAKE2b-256 |
e6e9fcc17d5ae695025c8adaef973c2d2b0874344c11f9c88f693c6609610fba
|
Provenance
The following attestation bundles were made for xtc_tvm_python_bindings-0.21.0.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
xtc-tvm-wheels.yml on xtc-tools/xtc-tvm-wheels
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xtc_tvm_python_bindings-0.21.0.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
4b6d5a313f38e7f5a6e86ce842ef9bf1794431c50aad1925bf385cee6b4381d2 - Sigstore transparency entry: 986046095
- Sigstore integration time:
-
Permalink:
xtc-tools/xtc-tvm-wheels@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Branch / Tag:
refs/tags/tvm-v0.21.0.5 - Owner: https://github.com/xtc-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
xtc-tvm-wheels.yml@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xtc_tvm_python_bindings-0.21.0.5-cp313-cp313-macosx_14_0_arm64.whl.
File metadata
- Download URL: xtc_tvm_python_bindings-0.21.0.5-cp313-cp313-macosx_14_0_arm64.whl
- Upload date:
- Size: 41.4 MB
- Tags: CPython 3.13, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0aab18194ffe2db032fc7a1029ec35aaf8821bbf624df5cc7a754c7990806742
|
|
| MD5 |
43f5d7a78a59eab8925476b441fcd5fa
|
|
| BLAKE2b-256 |
23e45878351a841638ca0b63d404d79385c43c804790bda7d507bdeeac0ea164
|
Provenance
The following attestation bundles were made for xtc_tvm_python_bindings-0.21.0.5-cp313-cp313-macosx_14_0_arm64.whl:
Publisher:
xtc-tvm-wheels.yml on xtc-tools/xtc-tvm-wheels
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xtc_tvm_python_bindings-0.21.0.5-cp313-cp313-macosx_14_0_arm64.whl -
Subject digest:
0aab18194ffe2db032fc7a1029ec35aaf8821bbf624df5cc7a754c7990806742 - Sigstore transparency entry: 986042782
- Sigstore integration time:
-
Permalink:
xtc-tools/xtc-tvm-wheels@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Branch / Tag:
refs/tags/tvm-v0.21.0.5 - Owner: https://github.com/xtc-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
xtc-tvm-wheels.yml@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xtc_tvm_python_bindings-0.21.0.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: xtc_tvm_python_bindings-0.21.0.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 42.6 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
485357adc8d2a09583266944b6b165cb6d1bb13963f07154a387b47117a9a0fc
|
|
| MD5 |
ff1d1d7ba28d868d8ff3df4a8727566a
|
|
| BLAKE2b-256 |
7f5c26703f3bccfe3b41e0437ecdef9b8bf66cc92d963e06720d28e909eab0ca
|
Provenance
The following attestation bundles were made for xtc_tvm_python_bindings-0.21.0.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
xtc-tvm-wheels.yml on xtc-tools/xtc-tvm-wheels
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xtc_tvm_python_bindings-0.21.0.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
485357adc8d2a09583266944b6b165cb6d1bb13963f07154a387b47117a9a0fc - Sigstore transparency entry: 986046032
- Sigstore integration time:
-
Permalink:
xtc-tools/xtc-tvm-wheels@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Branch / Tag:
refs/tags/tvm-v0.21.0.5 - Owner: https://github.com/xtc-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
xtc-tvm-wheels.yml@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xtc_tvm_python_bindings-0.21.0.5-cp312-cp312-macosx_14_0_arm64.whl.
File metadata
- Download URL: xtc_tvm_python_bindings-0.21.0.5-cp312-cp312-macosx_14_0_arm64.whl
- Upload date:
- Size: 41.4 MB
- Tags: CPython 3.12, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2be92ac259df7acb65561f4de68bdecebe4d273ee61a4b33030e12166687b17a
|
|
| MD5 |
492eecf7d302e7bd5d61f05c4ae5c68a
|
|
| BLAKE2b-256 |
1a91f11673fd7e8080d2a57bcfaf7535f207482fa7503141deb13cbd2f35fac5
|
Provenance
The following attestation bundles were made for xtc_tvm_python_bindings-0.21.0.5-cp312-cp312-macosx_14_0_arm64.whl:
Publisher:
xtc-tvm-wheels.yml on xtc-tools/xtc-tvm-wheels
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xtc_tvm_python_bindings-0.21.0.5-cp312-cp312-macosx_14_0_arm64.whl -
Subject digest:
2be92ac259df7acb65561f4de68bdecebe4d273ee61a4b33030e12166687b17a - Sigstore transparency entry: 986042671
- Sigstore integration time:
-
Permalink:
xtc-tools/xtc-tvm-wheels@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Branch / Tag:
refs/tags/tvm-v0.21.0.5 - Owner: https://github.com/xtc-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
xtc-tvm-wheels.yml@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xtc_tvm_python_bindings-0.21.0.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: xtc_tvm_python_bindings-0.21.0.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 42.7 MB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
557c607a2a0e1d625845b5449cde2cbfcb06173edf66cf555e18db863c9690c5
|
|
| MD5 |
8442e9a2145708a0414543b0bb7cdb1f
|
|
| BLAKE2b-256 |
962f81fad3d3e0e4a54344c3b763235381943ad8360f696c97637e55ba70b707
|
Provenance
The following attestation bundles were made for xtc_tvm_python_bindings-0.21.0.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
xtc-tvm-wheels.yml on xtc-tools/xtc-tvm-wheels
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xtc_tvm_python_bindings-0.21.0.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
557c607a2a0e1d625845b5449cde2cbfcb06173edf66cf555e18db863c9690c5 - Sigstore transparency entry: 986045887
- Sigstore integration time:
-
Permalink:
xtc-tools/xtc-tvm-wheels@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Branch / Tag:
refs/tags/tvm-v0.21.0.5 - Owner: https://github.com/xtc-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
xtc-tvm-wheels.yml@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xtc_tvm_python_bindings-0.21.0.5-cp311-cp311-macosx_14_0_arm64.whl.
File metadata
- Download URL: xtc_tvm_python_bindings-0.21.0.5-cp311-cp311-macosx_14_0_arm64.whl
- Upload date:
- Size: 41.4 MB
- Tags: CPython 3.11, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c608f9baf8bf0f137fba4280546b34018ecccd8e78aeb3b6ad3a8bbd8bb20fd
|
|
| MD5 |
329a4e8c8f12caaf926f4c7c69b1b42a
|
|
| BLAKE2b-256 |
d618ef0cc9f3ff05fe276839738292dd119aafafd175e6482ea15228f091b478
|
Provenance
The following attestation bundles were made for xtc_tvm_python_bindings-0.21.0.5-cp311-cp311-macosx_14_0_arm64.whl:
Publisher:
xtc-tvm-wheels.yml on xtc-tools/xtc-tvm-wheels
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xtc_tvm_python_bindings-0.21.0.5-cp311-cp311-macosx_14_0_arm64.whl -
Subject digest:
2c608f9baf8bf0f137fba4280546b34018ecccd8e78aeb3b6ad3a8bbd8bb20fd - Sigstore transparency entry: 986042930
- Sigstore integration time:
-
Permalink:
xtc-tools/xtc-tvm-wheels@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Branch / Tag:
refs/tags/tvm-v0.21.0.5 - Owner: https://github.com/xtc-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
xtc-tvm-wheels.yml@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xtc_tvm_python_bindings-0.21.0.5-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: xtc_tvm_python_bindings-0.21.0.5-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 42.7 MB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34e79c260d48f78c61a218b714e80bd5c263989637034fc00ecf7712bfd92d05
|
|
| MD5 |
fdd90bfe32e30c4cf62f8111c090a59f
|
|
| BLAKE2b-256 |
5a6dc9d14e666bfd0e4b41591ebd1f5fa9f6172ca893f657fdf71cd81bc8e5e4
|
Provenance
The following attestation bundles were made for xtc_tvm_python_bindings-0.21.0.5-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
xtc-tvm-wheels.yml on xtc-tools/xtc-tvm-wheels
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xtc_tvm_python_bindings-0.21.0.5-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
34e79c260d48f78c61a218b714e80bd5c263989637034fc00ecf7712bfd92d05 - Sigstore transparency entry: 986045805
- Sigstore integration time:
-
Permalink:
xtc-tools/xtc-tvm-wheels@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Branch / Tag:
refs/tags/tvm-v0.21.0.5 - Owner: https://github.com/xtc-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
xtc-tvm-wheels.yml@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xtc_tvm_python_bindings-0.21.0.5-cp310-cp310-macosx_14_0_arm64.whl.
File metadata
- Download URL: xtc_tvm_python_bindings-0.21.0.5-cp310-cp310-macosx_14_0_arm64.whl
- Upload date:
- Size: 41.4 MB
- Tags: CPython 3.10, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58a386a20d6507c97f678a82d846e1b64c7b8cb84c108034b5f5ec00de4ccea2
|
|
| MD5 |
435cccc1f895e25a445eac2c2c63315d
|
|
| BLAKE2b-256 |
14d83d340a50e3c8a52bef72cbf2118c3a12f9f6fe05c2e22a934b7221eb254b
|
Provenance
The following attestation bundles were made for xtc_tvm_python_bindings-0.21.0.5-cp310-cp310-macosx_14_0_arm64.whl:
Publisher:
xtc-tvm-wheels.yml on xtc-tools/xtc-tvm-wheels
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xtc_tvm_python_bindings-0.21.0.5-cp310-cp310-macosx_14_0_arm64.whl -
Subject digest:
58a386a20d6507c97f678a82d846e1b64c7b8cb84c108034b5f5ec00de4ccea2 - Sigstore transparency entry: 986042855
- Sigstore integration time:
-
Permalink:
xtc-tools/xtc-tvm-wheels@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Branch / Tag:
refs/tags/tvm-v0.21.0.5 - Owner: https://github.com/xtc-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
xtc-tvm-wheels.yml@a611756af4580b171d85c2551cfd519d2ee2ceb6 -
Trigger Event:
push
-
Statement type: