Skip to content

Commit

Permalink
[ROCm] remove ROCm5.2.3, ROCm5.3, ROCm5.4 from pipeline (#16004)
Browse files Browse the repository at this point in the history
remove ROCm5.2.3, ROCm5.3, ROCm5.4 from pipeline.
  • Loading branch information
PeixuanZuo authored May 19, 2023
1 parent a74fdeb commit d78bbf5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d78bbf5

Please sign in to comment.