Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 963 Bytes

File metadata and controls

46 lines (31 loc) · 963 Bytes

PaddlePaddle for Iluvatar GPU

English | 简体中文

Please refer to the following steps to compile, install and verify paddlepaddle_iluvatar.

Compilation and Installation

# 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.sh

To 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)

# Incremental compilation (faster rebuilds after code changes, also installs whl)
bash build_inc.sh

For incremental builds with CINN enabled, pass the same variable:

WITH_CINN=ON bash build_inc.sh

Verification

# Run tests
cd tests
bash run_test.sh