[ROCm] remove ROCm5.2.3, ROCm5.3, ROCm5.4 from pipeline (#16004)

remove ROCm5.2.3, ROCm5.3, ROCm5.4 from pipeline.
This commit is contained in:
PeixuanZuo 2023-05-19 10:29:01 +08:00 committed by GitHub
parent a74fdeb7fc
commit d78bbf5ef2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 41 deletions

View file

@ -11,42 +11,6 @@ resources:
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'

View file

@ -15,11 +15,7 @@ RUN yum --enablerepo=extras install -y epel-release
RUN yum clean all
RUN echo -e "[ROCm]\nname=ROCm\nbaseurl=https://repo.radeon.com/rocm/yum/$ROCM_VERSION/main\nenabled=1\ngpgcheck=0" >> /etc/yum.repos.d/rocm.repo
# After ROCm5.2.3, amdgpu_version use the same version as rocm_version
RUN if [ "$ROCM_VERSION" = "5.2.3" ] ; \
then echo -e "[amdgpu]\nname=amdgpu\nbaseurl=https://repo.radeon.com/amdgpu/22.20.3/rhel/7.9/main/x86_64\nenabled=1\ngpgcheck=0" >> /etc/yum.repos.d/amdgpu.repo; \
else echo -e "[amdgpu]\nname=amdgpu\nbaseurl=https://repo.radeon.com/amdgpu/$ROCM_VERSION/rhel/7.9/main/x86_64\nenabled=1\ngpgcheck=0" >> /etc/yum.repos.d/amdgpu.repo; \
fi
RUN echo -e "[amdgpu]\nname=amdgpu\nbaseurl=https://repo.radeon.com/amdgpu/$ROCM_VERSION/rhel/7.9/main/x86_64\nenabled=1\ngpgcheck=0" >> /etc/yum.repos.d/amdgpu.repo
RUN yum install -y rocm-dev