Skip to content

Commit 7a76fc3

Browse files
committed
sync with main
2 parents 431b391 + cf2ab85 commit 7a76fc3

File tree

4 files changed

+19
-16
lines changed

4 files changed

+19
-16
lines changed

Dockerfile.ppc64le.ubi

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BASE_UBI_IMAGE_TAG=9.5-1741850109
1+
ARG BASE_UBI_IMAGE_TAG=9.5-1742914212
22

33
###############################################################
44
# base stage with basic dependencies
@@ -19,7 +19,7 @@ ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64:/usr/local/lib:/usr/lib64:
1919
# Note: A symlink for libatomic.so is created for gcc-13 (linker fails to find libatomic otherwise - reqd. for sentencepiece)
2020
# Note: A dummy file 'control' is created in /tmp/ to artificially create dependencies between stages when building stages in parallel
2121
# when `--jobs=<N>` is passed with podman build command
22-
RUN microdnf install -y dnf \
22+
RUN microdnf install -y dnf openssl-devel \
2323
&& dnf install -y https://mirror.stream.centos.org/9-stream/BaseOS/`arch`/os/Packages/centos-gpg-keys-9.0-24.el9.noarch.rpm \
2424
https://mirror.stream.centos.org/9-stream/BaseOS/`arch`/os/Packages/centos-stream-repos-9.0-24.el9.noarch.rpm \
2525
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \
@@ -28,7 +28,7 @@ RUN microdnf install -y dnf \
2828
&& dnf config-manager --set-enabled crb \
2929
&& dnf install -y \
3030
git tar gcc-toolset-13 automake libtool numactl-devel lapack-devel \
31-
pkgconfig openssl-devel xsimd zeromq-devel kmod \
31+
pkgconfig xsimd zeromq-devel kmod \
3232
libtiff-devel libjpeg-devel openjpeg2-devel zlib-devel \
3333
freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel \
3434
harfbuzz-devel fribidi-devel libraqm-devel libimagequant-devel libxcb-devel \
@@ -37,8 +37,8 @@ RUN microdnf install -y dnf \
3737
&& ln -sf /usr/lib64/libatomic.so.1 /usr/lib64/libatomic.so \
3838
&& python${PYTHON_VERSION} -m venv ${VIRTUAL_ENV} \
3939
&& python -m pip install -U pip uv \
40-
&& uv pip install wheel build setuptools setuptools_scm setuptools_rust meson-python cmake ninja cython scikit_build_core scikit_build \
41-
&& curl -sL https://ftp2.osuosl.org/pub/ppc64el/openblas/latest/Openblas_${OPENBLAS_VERSION}_ppc64le.tar.gz | tar xvf - -C /usr/local \
40+
&& uv pip install wheel build setuptools setuptools_scm setuptools_rust meson-python 'cmake<4' ninja cython scikit_build_core scikit_build \
41+
&& curl -L --no-progress-meter --retry 5 --retry-connrefused https://ftp2.osuosl.org/pub/ppc64el/openblas/latest/Openblas_${OPENBLAS_VERSION}_ppc64le.tar.gz | tar xvf - -C /usr/local \
4242
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
4343
&& cd /tmp && touch control
4444

@@ -263,9 +263,9 @@ RUN --mount=type=cache,target=/root/.cache/uv \
263263
&& microdnf clean all \
264264
&& python${PYTHON_VERSION} -m venv ${VIRTUAL_ENV} \
265265
&& python -m pip install -U pip uv --no-cache \
266-
&& curl -sL https://ftp2.osuosl.org/pub/ppc64el/openblas/latest/Openblas_${OPENBLAS_VERSION}_ppc64le.tar.gz | tar xvf - -C /usr/local \
266+
&& curl -L --no-progress-meter --retry 5 --retry-connrefused https://ftp2.osuosl.org/pub/ppc64el/openblas/latest/Openblas_${OPENBLAS_VERSION}_ppc64le.tar.gz | tar xvf - -C /usr/local \
267267
&& make -C /numactl install \
268-
&& uv pip install cmake \
268+
&& uv pip install 'cmake<4' \
269269
&& cmake --install /lapack/build \
270270
&& uv pip uninstall cmake
271271

Dockerfile.rocm.ubi

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Global Args ##################################################################
2-
ARG BASE_UBI_IMAGE_TAG=9.5-1741850109
2+
ARG BASE_UBI_IMAGE_TAG=9.5-1742914212
33
ARG PYTHON_VERSION=3.12
44
# Default ROCm ARCHes to build vLLM for.
55
ARG PYTORCH_ROCM_ARCH="gfx908;gfx90a;gfx942;gfx1100"
@@ -129,7 +129,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
129129
cd flash-attention && \
130130
git checkout ${FA_BRANCH} && \
131131
git submodule update --init && \
132-
uv pip install cmake ninja packaging && \
132+
uv pip install "cmake<4" ninja packaging && \
133133
env \
134134
GPU_ARCHS="${FA_GFX_ARCHS}" \
135135
python3 setup.py bdist_wheel --dist-dir=/install
@@ -154,7 +154,7 @@ RUN --mount=type=cache,target=/root/.cache/ccache \
154154
--mount=type=cache,target=/root/.cache/pip \
155155
--mount=type=cache,target=/root/.cache/uv \
156156
uv pip install -v -U \
157-
ninja setuptools-scm>=8 "cmake>=3.26" packaging && \
157+
ninja setuptools-scm>=8 "cmake>=3.26,<4" packaging && \
158158
env CFLAGS="-march=haswell" \
159159
CXXFLAGS="$CFLAGS $CXXFLAGS" \
160160
CMAKE_BUILD_TYPE=Release \
@@ -211,7 +211,7 @@ RUN --mount=type=bind,from=build_amdsmi,src=/install,target=/install/amdsmi/ \
211211
--extra-index-url "https://download.pytorch.org/whl/nightly/rocm${version}" \
212212
/install/amdsmi/*.whl\
213213
/install/flashattention/*.whl\
214-
/install/vllm/*.whl
214+
"$(echo /install/vllm/*.whl)[audio,video,tensorizer]"
215215

216216
ENV HF_HUB_OFFLINE=1 \
217217
HOME=/home/vllm \
@@ -253,7 +253,10 @@ USER root
253253
RUN --mount=type=cache,target=/root/.cache/pip \
254254
--mount=type=cache,target=/root/.cache/uv \
255255
--mount=type=bind,from=build_vllm,src=/workspace/dist,target=/install/vllm/ \
256-
HOME=/root uv pip install /install/vllm/*.whl vllm-tgis-adapter==0.6.3
256+
HOME=/root uv pip install \
257+
"$(echo /install/vllm/*.whl)[audio,video,tensorizer]" \
258+
vllm-tgis-adapter==0.6.3
259+
257260

258261
ENV GRPC_PORT=8033 \
259262
PORT=8000 \

Dockerfile.s390x.ubi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Base UBI image for s390x architecture
2-
ARG BASE_UBI_IMAGE_TAG=9.5-1741850109
2+
ARG BASE_UBI_IMAGE_TAG=9.5-1742914212
33
ARG PYTHON_VERSION=3.12
44
ARG VLLM_TGIS_ADAPTER_VERSION="0.6.3"
55
FROM registry.access.redhat.com/ubi9/ubi-minimal:${BASE_UBI_IMAGE_TAG} AS base

Dockerfile.ubi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
2-
ARG BASE_UBI_IMAGE_TAG
3-
ARG PYTHON_VERSION
1+
## Global Args #################################################################
2+
ARG BASE_UBI_IMAGE_TAG=9.5-1742914212
3+
ARG PYTHON_VERSION=3.12
44

55
## Base Layer ##################################################################
66
FROM registry.access.redhat.com/ubi9/ubi-minimal:${BASE_UBI_IMAGE_TAG} AS base

0 commit comments

Comments
 (0)