Enflame GCU PaddlePaddle Installation Tutorial¶
Currently, PaddleX supports the Enflame S60 chip. Considering environmental differences, we recommend using the Enflame development image provided by PaddlePaddle to complete the environment preparation.
1. Docker Environment Preparation¶
- Pull the image. This image is only for the development environment and does not contain a pre-compiled PaddlePaddle installation package. The image has TopsRider, the Enflame basic runtime environment library, installed by default.
- Start the container with the following command.
- Install the driver outside of docker. Please refer to the environment preparation section of PaddlePaddle Custom Device Implementation for Enflame GCU.
2. Install Paddle Package¶
Download and install the wheel package released by PaddlePaddle within the docker container. Currently, Python 3.10 wheel installation packages are provided. If you require other Python versions, refer to the PaddlePaddle official documentation for compilation and installation.
- Download and install the wheel package.
- Verify the installation package. After installation, run the following command:
- Expect to get output like this: