Procedure
- Install the PaddlePaddle runtime dependencies.
1 2 3 4 5 6 7 8 9 10
python3 -m pip install --upgrade pip setuptools wheel python3 -m pip install \ numpy==2.4.6 \ protobuf==7.35.0 \ opt_einsum==3.3.0 \ networkx==3.6.1 \ Pillow==12.2.0 \ httpx==0.28.1 \ safetensors==0.7.0 \ typing_extensions==4.15.0
- Install the GPU wheel built from the source code. The following example assumes that the wheel file is stored in the current directory.
1 2
python3 -m pip install --no-deps \ ./paddlepaddle_gpu-3.3.0.dev20260319-cp311-cp311-linux_aarch64.whl
- Check the import, version, and CUDA compilation capabilities.
1 2 3 4 5 6 7 8
python3 - <<'PY' import sysconfig import paddle print("soabi", sysconfig.get_config_var("SOABI")) print("paddle_version", paddle.__version__) print("compiled_with_cuda", paddle.device.is_compiled_with_cuda()) PY
The expected output is as follows.1 2 3
soabi cpython-311-aarch64-linux-gnu paddle_version 3.3.0.dev20260319 compiled_with_cuda True
Parent topic: Installation Guide