Skip to content

Commit 1c0a1ae

Browse files
authored
update base image (#515)
Signed-off-by: charlifu <charlifu@amd.com>
1 parent 9025082 commit 1c0a1ae

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

docker/Dockerfile.rocm_base

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
ARG BASE_IMAGE=rocm/dev-ubuntu-22.04:6.3.1-complete
2-
ARG HIPBLASLT_BRANCH="db8e93b4"
3-
ARG HIPBLAS_COMMON_BRANCH="7c1566b"
1+
ARG BASE_IMAGE=rocm/dev-ubuntu-22.04:6.4-complete
2+
ARG HIPBLASLT_BRANCH="0f5d6c6d"
43
ARG LEGACY_HIPBLASLT_OPTION=
54
ARG RCCL_BRANCH="648a58d"
65
ARG RCCL_REPO="https://github.com/ROCm/rccl"
7-
ARG TRITON_BRANCH="e5be006"
6+
ARG TRITON_BRANCH="5fe38ffd"
87
ARG TRITON_REPO="https://github.com/triton-lang/triton.git"
9-
ARG PYTORCH_BRANCH="295f2ed4"
10-
ARG PYTORCH_VISION_BRANCH="v0.21.0"
8+
ARG PYTORCH_BRANCH="13417947"
9+
ARG PYTORCH_VISION_BRANCH="v0.22.0-rc5"
1110
ARG PYTORCH_REPO="https://github.com/pytorch/pytorch.git"
1211
ARG PYTORCH_VISION_REPO="https://github.com/pytorch/vision.git"
1312
ARG FA_BRANCH="1a7f4dfa"
@@ -46,25 +45,16 @@ RUN pip install -U packaging 'cmake<4' ninja wheel setuptools pybind11 Cython
4645

4746
FROM base AS build_hipblaslt
4847
ARG HIPBLASLT_BRANCH
49-
ARG HIPBLAS_COMMON_BRANCH
5048
# Set to "--legacy_hipblas_direct" for ROCm<=6.2
5149
ARG LEGACY_HIPBLASLT_OPTION
52-
RUN git clone https://github.com/ROCm/hipBLAS-common.git
53-
RUN cd hipBLAS-common \
54-
&& git checkout ${HIPBLAS_COMMON_BRANCH} \
55-
&& mkdir build \
56-
&& cd build \
57-
&& cmake .. \
58-
&& make package \
59-
&& dpkg -i ./*.deb
6050
RUN git clone https://github.com/ROCm/hipBLASLt
6151
RUN cd hipBLASLt \
6252
&& git checkout ${HIPBLASLT_BRANCH} \
6353
&& apt-get install -y llvm-dev \
6454
&& ./install.sh -dc --architecture ${PYTORCH_ROCM_ARCH} ${LEGACY_HIPBLASLT_OPTION} \
6555
&& cd build/release \
6656
&& make package
67-
RUN mkdir -p /app/install && cp /app/hipBLASLt/build/release/*.deb /app/hipBLAS-common/build/*.deb /app/install
57+
RUN mkdir -p /app/install && cp /app/hipBLASLt/build/release/*.deb /app/install
6858

6959
FROM base AS build_rccl
7060
ARG RCCL_BRANCH
@@ -164,7 +154,6 @@ ARG FA_REPO
164154
ARG AITER_BRANCH
165155
ARG AITER_REPO
166156
RUN echo "BASE_IMAGE: ${BASE_IMAGE}" > /app/versions.txt \
167-
&& echo "HIPBLAS_COMMON_BRANCH: ${HIPBLAS_COMMON_BRANCH}" >> /app/versions.txt \
168157
&& echo "HIPBLASLT_BRANCH: ${HIPBLASLT_BRANCH}" >> /app/versions.txt \
169158
&& echo "LEGACY_HIPBLASLT_OPTION: ${LEGACY_HIPBLASLT_OPTION}" >> /app/versions.txt \
170159
&& echo "RCCL_BRANCH: ${RCCL_BRANCH}" >> /app/versions.txt \

0 commit comments

Comments
 (0)