bash scripts/download_tvm.sh
cd dockerfiles
bash build_docker.sh
-
enter the docker container
-
edit the third_party/tvm/cmake/config.cmake, change
set(USE_LLVM OFF)
toset(USE_LLVM ON)
-
build TVM so libs
run the following scripts. if the build successfully, libtvm.so and libtvm_runtime.so will be generated.cd third_party/tvm mkdir build cp cmake/config.cmake build cd build cmake .. && make -j
mkdir build
cd build
cmake .. && make -j