diff --git a/tools/ci_build/github/azure-pipelines/orttraining-py-packaging-pipeline-rocm.yml b/tools/ci_build/github/azure-pipelines/orttraining-py-packaging-pipeline-rocm.yml index 599338825a..f2ba99369c 100644 --- a/tools/ci_build/github/azure-pipelines/orttraining-py-packaging-pipeline-rocm.yml +++ b/tools/ci_build/github/azure-pipelines/orttraining-py-packaging-pipeline-rocm.yml @@ -24,24 +24,23 @@ stages: PythonVersion: '3.10' RocmVersion: '5.7' -- stage: "Python_Packaging_ROCm57_RelWithDebInfo" - condition: ne(variables['ORT_DISABLE_PYTHON_PACKAGE_LOCAL_VERSION'], 'true') +- stage: "Python_Packaging_ROCm57_Debug" jobs: - template: templates/rocm.yml parameters: PythonVersion: '3.8' RocmVersion: '5.7' - BuildConfig: 'RelWithDebInfo' + BuildConfig: 'Debug' - template: templates/rocm.yml parameters: PythonVersion: '3.9' RocmVersion: '5.7' - BuildConfig: 'RelWithDebInfo' + BuildConfig: 'Debug' - template: templates/rocm.yml parameters: PythonVersion: '3.10' RocmVersion: '5.7' - BuildConfig: 'RelWithDebInfo' + BuildConfig: 'Debug' - stage: "Python_Packaging_ROCm56_Release" condition: ne(variables['ORT_DISABLE_PYTHON_PACKAGE_LOCAL_VERSION'], 'true') diff --git a/tools/ci_build/github/azure-pipelines/templates/rocm.yml b/tools/ci_build/github/azure-pipelines/templates/rocm.yml index 8025474826..f41dc1c49f 100644 --- a/tools/ci_build/github/azure-pipelines/templates/rocm.yml +++ b/tools/ci_build/github/azure-pipelines/templates/rocm.yml @@ -27,7 +27,7 @@ jobs: ${{ if eq(parameters.BuildConfig, 'Release') }}: value: 'onnxruntime_rocm' ${{ else }}: - value: 'onnxruntime_rocm_enable_profiling' + value: 'onnxruntime_rocm_Debug' steps: - task: CmdLine@2