Version of third-party performance comparison items:
Comparison Item | Version | Link |
---|---|---|
OpenCV | 4.9.0 | Homepage, Code |
Eigen | 3.4.0 | Homepage, Code |
KFR | 4.0.0 | Homepage, Code |
To install TVM, please refer to the official documentation (Install TVM from source). Here are some key steps:
$ 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)
$ cd build
$ cmake .. -G Ninja
$ ninja
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