Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 440 Bytes

compile_tvm_in_docker.md

File metadata and controls

34 lines (21 loc) · 440 Bytes
git clone --recursive https://github.com/apache/tvm tvm
nvidia-docker run --rm -v /home/zhangxiaoyu/OneFlowWork/tvm/:/home/tvm_learn -it tvmai/demo-gpu bash
mkdir build
cp cmake/config.cmake build
cd build
cmake ..
make -j4
export TVM_HOME=/path/to/tvm
export PYTHONPATH=$TVM_HOME/python:${PYTHONPATH}
export TVM_HOME=/home/tvm_learn/tvm
export PYTHONPATH=$TVM_HOME/python:${PYTHONPATH}