English | 简体中文
Please refer to the following steps to compile, install and verify paddlepaddle_iluvatar.
# Please contact Iluvatar customer support (services@iluvatar.com) to obtain the SDK image
# Clone PaddleCustomDevice source code
git clone https://github.com/PaddlePaddle/Paddle-iluvatar.git
bash build_paddle.sh
# Install
bash install_paddle.shTo enable CINN, set the CMake option WITH_CINN to ON (it is off by default), for example:
WITH_CINN=ON bash build_paddle.sh# Incremental compilation (faster rebuilds after code changes, also installs whl)
bash build_inc.shFor incremental builds with CINN enabled, pass the same variable:
WITH_CINN=ON bash build_inc.sh# Run tests
cd tests
bash run_test.sh