@@ -43,8 +43,8 @@ RUN cargo build --profile release-opt --frozen
4343
4444FROM rocm/dev-ubuntu-22.04:6.3.1-complete AS base
4545
46- ARG HIPBLASLT_BRANCH="4d40e36 "
47- ARG HIPBLAS_COMMON_BRANCH="7c1566b "
46+ ARG HIPBLASLT_BRANCH="rocm-6.3.1 "
47+ ARG HIPBLAS_COMMON_BRANCH="rocm-6.3.1 "
4848ARG LEGACY_HIPBLASLT_OPTION=
4949ARG RCCL_BRANCH="rocm-6.3.1"
5050ARG RCCL_REPO="https://github.com/ROCm/rccl"
@@ -92,7 +92,7 @@ RUN uv venv --python ${PYTHON_VERSION} && uv pip install pip setuptools packagin
9292ENV VIRTUAL_ENV=/usr/src/.venv/
9393ENV PATH="$PATH:/usr/src/.venv/bin/"
9494
95- RUN . .venv/bin/activate && pip install -U packaging cmake ninja wheel setuptools pybind11 Cython
95+ RUN . .venv/bin/activate && pip install -U packaging " cmake<4" ninja wheel setuptools pybind11 Cython
9696
9797FROM base AS build_hipblaslt
9898ARG HIPBLASLT_BRANCH
@@ -121,7 +121,7 @@ ARG RCCL_REPO
121121RUN git clone ${RCCL_REPO}
122122RUN . .venv/bin/activate && cd rccl \
123123 && git checkout ${RCCL_BRANCH} \
124- && ./install.sh -p --amdgpu_targets ${PYTORCH_ROCM_ARCH}
124+ && CMAKE_POLICY_VERSION_MINIMUM=3.5 ./install.sh -p --amdgpu_targets ${PYTORCH_ROCM_ARCH}
125125RUN mkdir -p /app/install && cp /app/rccl/build/release/*.deb /app/install
126126
127127FROM base AS build_triton
@@ -150,7 +150,7 @@ RUN git clone ${PYTORCH_REPO} pytorch
150150RUN . .venv/bin/activate && cd pytorch && git checkout ${PYTORCH_BRANCH} && \
151151 pip install -r requirements.txt && git submodule update --init --recursive \
152152 && python3 tools/amd_build/build_amd.py \
153- && CMAKE_PREFIX_PATH=$(python3 -c 'import sys; print(sys.prefix)') python3 setup.py bdist_wheel --dist-dir=dist \
153+ && CMAKE_PREFIX_PATH=$(python3 -c 'import sys; print(sys.prefix)') CMAKE_POLICY_VERSION_MINIMUM=3.5 python3 setup.py bdist_wheel --dist-dir=dist \
154154 && pip install dist/*.whl
155155RUN git clone ${PYTORCH_VISION_REPO} vision
156156RUN . .venv/bin/activate && cd vision && git checkout ${PYTORCH_VISION_BRANCH} \
@@ -191,7 +191,7 @@ RUN . .venv/bin/activate && cd aiter \
191191 && git checkout ${AITER_BRANCH} \
192192 && git submodule update --init --recursive \
193193 && pip install -r requirements.txt \
194- && PREBUILD_KERNELS=1 GPU_ARCHS=gfx942 python3 setup.py develop && pip show aiter
194+ && PREBUILD_KERNELS=1 GPU_ARCHS=gfx942 pip install -e . --no-build-isolation && pip show aiter
195195
196196RUN rm -rf /var/lib/apt/lists/*
197197
0 commit comments