Skip to content

ROCm amd MIGraphX build for ONNXRuntime

Looong01/onnxruntime-rocm-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Update

  1. Upgrade ONNXRuntime libraries to the newest versions.
  2. Remove Python 3.9 support, because ONNXRuntime 1.20.0 does not support it. Old update
  3. Add Python 3.13 support.
  4. Support ROCm 6.4.* & 6.3.*.
  5. Remove ROCm EP because of 1.23.0 update.

Prerequisites

Be sure that you have installed ROCm 6.3.* or newer versions. You can use amd-smi to check it.

How to use

1. C/C++ packages

Go to Releases page, choose the versions of ONNXRuntime-ROCm you want, and tar zxvf it.

2. Python wheels

Option 1: From Pypi.org

pip install onnxruntime-rocm onnxruntime-migraphx

Option 2: From Github Release page

  1. Go to Releases page, choose the versions of ONNXRuntime-ROCm you want and the right version of your Python environment.
  2. Download the wheel file.
  3. pip install it.

3. C# packages

  1. Go to Releases page, choose the versions of ONNXRuntime-ROCm you want and copy it to a local_nuget_dir.
  2. Add the following configuration to your Nuget.Config.
   <configuration>
      <packageSources>
         <add key="LocalSource" value="/path/to/local_nuget_dir" />
      </packageSources>
   </configuration>
  1. dotnet add package Microsoft.ML.OnnxRuntime.Managed --version <the version of nupkg> and dotnet add package Microsoft.ML.OnnxRuntime.ROCm --version <the version of nupkg>

Build environment

Ubuntu 22.04
Python 3.10~3.13
ROCm 7.0.1
GLIBC 2.35

Current version

onnxruntime-1.23.0

About

ROCm amd MIGraphX build for ONNXRuntime

Resources

Stars

Watchers

Forks

Packages

No packages published