源码安装

准备构建工具

CMAKE >=3.2
gcc>=6.0

一键构建

# step 1: obtain the source code
git clone https://github.com/bytedance/matxscript
# step 2: build using script
cd matxscript && bash ci/build_pip_whl.sh
# step 3: install Python package
cd output && pip install .

验证可用性

import matx
print(matx.__version__)