onnxruntime/tools/ci_build/github/azure-pipelines/orttraining-py-packaging-pipeline-rocm.yml
PeixuanZuo d80859f63d
[ROCm] fix python packaging pipeline and add python10 (#15282)
rocm python packaging pipeline failed because manylinux version and
manylinux.patch update.
1. fix duplicate `epel-release` installation issue, ROCm pipeline
install it at the begin of the dockerfile to install rocm libs. remove
duplicate installation on install-runtime-packages.sh.
```
/var/tmp/yum-root-sMRl36/epel-release-latest-7.noarch.rpm: does not update installed package.
Error: Nothing to do
```
2. add python10 to fix error below.
```
+ /opt/python/cp310-cp310/bin/python -m venv /opt/_internal/tools
build_scripts/finalize.sh: line 40: /opt/python/cp310-cp310/bin/python: No such file or directory
```
3. add python10 to rocm pipeline.

pipeline link:
https://aiinfra.visualstudio.com/Lotus/_build/results?buildId=294776&view=results
2023-03-31 10:25:21 +08:00

76 lines
1.8 KiB
YAML

trigger: none
resources:
repositories:
- repository: manylinux
type: Github
endpoint: Microsoft
name: pypa/manylinux
ref: aead4d751c2101e23336aa73f2380df83e7a13f3
stages:
- stage: Python_Packaging
jobs:
- template: templates/rocm.yml
parameters:
PythonVersion: '3.8'
RocmVersion: '5.2.3'
- template: templates/rocm.yml
parameters:
PythonVersion: '3.9'
RocmVersion: '5.2.3'
- template: templates/rocm.yml
parameters:
PythonVersion: '3.10'
RocmVersion: '5.2.3'
- template: templates/rocm.yml
parameters:
PythonVersion: '3.8'
RocmVersion: '5.3.2'
- template: templates/rocm.yml
parameters:
PythonVersion: '3.9'
RocmVersion: '5.3.2'
- template: templates/rocm.yml
parameters:
PythonVersion: '3.10'
RocmVersion: '5.3.2'
- template: templates/rocm.yml
parameters:
PythonVersion: '3.8'
RocmVersion: '5.4'
- template: templates/rocm.yml
parameters:
PythonVersion: '3.9'
RocmVersion: '5.4'
- template: templates/rocm.yml
parameters:
PythonVersion: '3.10'
RocmVersion: '5.4'
- template: templates/rocm.yml
parameters:
PythonVersion: '3.8'
RocmVersion: '5.4.2'
- template: templates/rocm.yml
parameters:
PythonVersion: '3.9'
RocmVersion: '5.4.2'
- template: templates/rocm.yml
parameters:
PythonVersion: '3.10'
RocmVersion: '5.4.2'
- template: templates/rocm.yml
parameters:
PythonVersion: '3.8'
RocmVersion: '5.4.2'
BuildConfig: 'RelWithDebInfo'
- template: templates/rocm.yml
parameters:
PythonVersion: '3.9'
RocmVersion: '5.4.2'
BuildConfig: 'RelWithDebInfo'
- template: templates/rocm.yml
parameters:
PythonVersion: '3.10'
RocmVersion: '5.4.2'
BuildConfig: 'RelWithDebInfo'