From 81a1e9f8370caf306031169ba2f837190d4740a3 Mon Sep 17 00:00:00 2001 From: Loong <69568351+Looong01@users.noreply.github.com> Date: Sat, 12 Oct 2024 20:24:11 +0200 Subject: [PATCH] Update eps.md about Python wheels for MIGraphX and ROCm (#22423) ### Description Update eps.md about Python wheels for MIGraphX and ROCm ### Motivation and Context There was no instructions to show how to build python wheels for MIGraphX and ROCm backends. It is neccesary to add these command examples. --- docs/build/eps.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/build/eps.md b/docs/build/eps.md index 40bf99be46bff..47e69d22fdc0e 100644 --- a/docs/build/eps.md +++ b/docs/build/eps.md @@ -548,11 +548,19 @@ See more information on the MIGraphX Execution Provider [here](../execution-prov #### Linux ```bash -./build.sh --config --use_migraphx --migraphx_home +./build.sh --config --parallel --use_migraphx --migraphx_home ``` Dockerfile instructions are available [here](https://github.com/microsoft/onnxruntime/blob/main/dockerfiles#migraphx). +#### Build Phython Wheel + +`./build.sh --config Release --build --build_wheel --parallel --use_migraphx --migraphx_home /opt/rocm` + +Then the python wheels(*.whl) could be found at ```./build/Linux/Release/dist```. + +--- + ## AMD ROCm See more information on the ROCm Execution Provider [here](../execution-providers/ROCm-ExecutionProvider.md). @@ -569,11 +577,19 @@ See more information on the ROCm Execution Provider [here](../execution-provider #### Linux ```bash -./build.sh --config --use_rocm --rocm_home +./build.sh --config --parallel --use_rocm --rocm_home ``` Dockerfile instructions are available [here](https://github.com/microsoft/onnxruntime/tree/main/dockerfiles#rocm). +#### Build Phython Wheel + +`./build.sh --config Release --build --build_wheel --parallel --use_rocm --rocm_home /opt/rocm` + +Then the python wheels(*.whl) could be found at ```./build/Linux/Release/dist```. + +--- + ## NNAPI Usage of NNAPI on Android platforms is via the NNAPI Execution Provider (EP).