安装 TVM

安装 TVM#

Visit the install TVM from source page to install TVM from the source code. Installing from source gives you the maximum flexibility to configure the build effectively from the official source releases. If you are interested in deploying to mobile or embedded devices, you do not need to install the entire TVM stack on your device. Instead, you only need the runtime.

如果您想快速尝试 TVM 或运行一些演示和教程,您可以 通过 Docker 安装。您也可以通过 pip 在本地使用 TVM。

# Linux/MacOS CPU build only!
# See tlcpack.ai for other pre-built binaries including CUDA
pip install apache-tvm

有关预构建二进制文件安装的更多详细信息,请访问 tlcpack.ai