Skip to content

Commit

Permalink
Update eps.md about Python wheels for MIGraphX and ROCm (#22423)
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
Looong01 authored Oct 12, 2024
1 parent 29ebdc5 commit 81a1e9f
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions docs/build/eps.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,11 +548,19 @@ See more information on the MIGraphX Execution Provider [here](../execution-prov
#### Linux
```bash
./build.sh --config <Release|Debug|RelWithDebInfo> --use_migraphx --migraphx_home <path to MIGraphX home>
./build.sh --config <Release|Debug|RelWithDebInfo> --parallel --use_migraphx --migraphx_home <path to 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).
Expand All @@ -569,11 +577,19 @@ See more information on the ROCm Execution Provider [here](../execution-provider
#### Linux
```bash
./build.sh --config <Release|Debug|RelWithDebInfo> --use_rocm --rocm_home <path to ROCm home>
./build.sh --config <Release|Debug|RelWithDebInfo> --parallel --use_rocm --rocm_home <path to 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).
Expand Down

0 comments on commit 81a1e9f

Please sign in to comment.