Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 890 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 890 Bytes

Third-Party Dependencies

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