Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.25 KB

README.md

File metadata and controls

51 lines (36 loc) · 1.25 KB

Third-Party Dependencies

Version of third-party performance comparison items:

Comparison Item Version Link
OpenCV 4.9.0 Homepage, Code
Eigen 3.4.0 Homepage, Code

TVM

To install TVM, please refer to the official documentation (Install TVM from source). Here are some key steps:

Clone Repository and Configure LLVM

$ git clone --recursive https://github.com/apache/tvm tvm
$ cd tvm
$ mkdir build
$ cp cmake/config.cmake build

Edit build/config.cmake to specify the LLVM configuration.

set(USE_LLVM ON)

Build TVM

$ cd build
$ cmake .. -G Ninja
$ ninja

Install TVM package and dependencies

Enter your virtual environment and set the environment variable:

export TVM_HOME=/path/to/tvm
export PYTHONPATH=$TVM_HOME/python:${PYTHONPATH}

Install Python dependencies

$ pip3 install --user numpy decorator attrs typing-extensions psutil scipy tornado psutil 'xgboost>=1.1.0' cloudpickle