onnxruntime icon indicating copy to clipboard operation
onnxruntime copied to clipboard

[MIGraphX EP][ROCm EP] Update build args to include rocm_gfx_arch input for ROCM/MIGraphX EP builds

Open TedThemistokleous opened this issue 6 months ago • 9 comments

Description

Allow for us to select GFX targets for build

Motivation and Context

Used by our QA but also can be leveraged by third parties to try builds for specific gfx targets and architectures

Already in our rocm7.0 testing branch via : https://github.com/ROCm/onnxruntime/pull/126

TedThemistokleous avatar Jun 14 '25 04:06 TedThemistokleous

ping @TianleiWu this is useful for your CI I'll be having a few more changes I need to upstream this week as well

TedThemistokleous avatar Jun 14 '25 04:06 TedThemistokleous

/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline, Windows x64 QNN CI Pipeline

tianleiwu avatar Jun 14 '25 18:06 tianleiwu

Azure Pipelines successfully started running 5 pipeline(s).

azure-pipelines[bot] avatar Jun 14 '25 18:06 azure-pipelines[bot]

/azp run Linux ROCm CI Pipeline, Linux MIGraphX CI Pipeline

tianleiwu avatar Jun 14 '25 18:06 tianleiwu

Azure Pipelines successfully started running 2 pipeline(s).

azure-pipelines[bot] avatar Jun 14 '25 18:06 azure-pipelines[bot]

@TedThemistokleous, please run lintrunner to format.

tianleiwu avatar Jun 14 '25 18:06 tianleiwu

Reran lintrunner init and then lintrunner -a @TianLeiWu

TedThemistokleous avatar Jun 15 '25 16:06 TedThemistokleous

/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline, Windows x64 QNN CI Pipeline

tianleiwu avatar Jun 15 '25 17:06 tianleiwu

Azure Pipelines successfully started running 5 pipeline(s).

azure-pipelines[bot] avatar Jun 15 '25 17:06 azure-pipelines[bot]

@TedThemistokleous, could you create a new python environment to run lintrunner?

tianleiwu avatar Jun 19 '25 21:06 tianleiwu

Sure, is there a specific python version you want this to run in? I'm just using baseline ubuntu with python 3.12

TedThemistokleous avatar Jun 20 '25 03:06 TedThemistokleous

Sure, is there a specific python version you want this to run in? I'm just using baseline ubuntu with python 3.12

You can try python 3.10.

tianleiwu avatar Jun 20 '25 22:06 tianleiwu

closing this, not needed anymore as this was more a component related to CK support via ROCm EP build path. MIGraphX should have prebuilt support already for gfx arch

TedThemistokleous avatar Sep 30 '25 01:09 TedThemistokleous