Skip to content

Commit

Permalink
revert rocm ci to 6.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tianleiwu committed Oct 22, 2024
1 parent 28ee049 commit 7817a7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ variables:
- name: render
value: 109
- name: RocmVersion
value: 6.2
value: 6.1
- name: RocmVersionPatchSuffix
value: ".3"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Refer to https://github.com/RadeonOpenCompute/ROCm-docker/blob/master/dev/Dockerfile-ubuntu-22.04-complete
FROM ubuntu:22.04

ARG ROCM_VERSION=6.2.3
ARG ROCM_VERSION=6.1.3
ARG AMDGPU_VERSION=${ROCM_VERSION}
ARG APT_PREF='Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600'

Expand Down Expand Up @@ -75,18 +75,20 @@ SHELL ["conda", "run", "-n", "rocm-ci", "/bin/bash", "-c"]

# ln -sf is needed to make sure that version `GLIBCXX_3.4.30' is found
RUN ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6 ${CONDA_ENVIRONMENT_PATH}/bin/../lib/libstdc++.so.6
RUN ln -sf /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 ${CONDA_ENVIRONMENT_PATH}/bin/../lib/libgcc_s.so.1

RUN pip install packaging \
ml_dtypes==0.5.0 \
pytest==7.4.4 \
pytest-xdist \
pytest-rerunfailures \
scipy==1.14.1 \
numpy==2.1.2
numpy==1.26.4

RUN apt install -y git

# Install Cupy to decrease CPU utilization
# Note that the version of Cupy requires numpy < 1.27
RUN git clone https://github.com/ROCm/cupy && cd cupy && \
git checkout 432a8683351d681e00903640489cb2f4055d2e09 && \
export CUPY_INSTALL_USE_HIP=1 && \
Expand Down

0 comments on commit 7817a7e

Please sign in to comment.