Getting Started

How to get started with Tvm

1

Install dependencies

Use Conda to install LLVM (version 15 or higher), CMake (version 3.24 or higher), Git, and Python (version 3.8 or higher).

2

Clone the source code

Run `git clone --recursive https://github.com/apache/tvm` to get the latest source with submodules.

3

Configure and build

Create a build directory, copy the config.cmake file, run `cmake ..` followed by `cmake --build build --config Release` adapting commands for your platform.

4

Validate installation

Check the Python package location and run the provided tests to ensure the build is successful.

5

Explore tutorials

Follow the official documentation tutorials for examples and guidance on using TVM.