Skip to content

Commit 7b94527

Browse files
committed
Merge remote-tracking branch 'nm-fork/main' into sync-v0.9.2
2 parents 1423512 + d07be8a commit 7b94527

File tree

3 files changed

+0
-48
lines changed

3 files changed

+0
-48
lines changed

Dockerfile.rocm.ubi

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -71,27 +71,6 @@ WORKDIR /opt/rocm/share/amd_smi
7171

7272
RUN python setup.py bdist_wheel --dist-dir=/dist/
7373

74-
#################### libsodium Build IMAGE ####################
75-
FROM rocm_base as libsodium-builder
76-
77-
RUN microdnf install -y --nodocs gcc gzip tar \
78-
&& microdnf clean all
79-
80-
WORKDIR /usr/src/libsodium
81-
82-
ARG LIBSODIUM_VERSION
83-
RUN curl -LO https://github.com/jedisct1/libsodium/releases/download/${LIBSODIUM_VERSION}-RELEASE/libsodium-${LIBSODIUM_VERSION}.tar.gz \
84-
&& tar -xzvf libsodium*.tar.gz \
85-
&& rm -f libsodium*.tar.gz \
86-
&& mv libsodium*/* ./
87-
88-
RUN CFLAGS="-O3 -Wall -Werror=format-security -Wno-unused-function -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection" \
89-
./configure \
90-
--prefix="/usr/" \
91-
--libdir=/usr/lib64 && \
92-
make -j $(nproc) && \
93-
make check
94-
9574
##################################################################################################
9675

9776
FROM rocm_base AS vllm-openai
@@ -107,10 +86,6 @@ ENV PATH=$VIRTUAL_ENV/bin:$PATH
10786
RUN microdnf install -y --setopt=install_weak_deps=0 --nodocs gcc rsync && \
10887
microdnf clean all
10988

110-
# Install libsodium for Tensorizer encryption
111-
RUN --mount=type=bind,from=libsodium-builder,src=/usr/src/libsodium,target=/usr/src/libsodium \
112-
make -C /usr/src/libsodium install
113-
11489
RUN --mount=type=bind,from=build_amdsmi,src=/dist,target=/install/amdsmi/ \
11590
--mount=type=cache,target=/root/.cache/uv \
11691
--mount=type=bind,src=payload,target=/workspace/payload \

Dockerfile.ubi

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,6 @@ RUN --mount=type=cache,target=/root/.cache/uv \
6767
-r requirements-cuda.txt
6868

6969

70-
#################### libsodium Build IMAGE ####################
71-
FROM base AS libsodium-builder
72-
73-
RUN microdnf install -y gcc gzip \
74-
&& microdnf clean all
75-
76-
WORKDIR /usr/src/libsodium
77-
78-
ARG LIBSODIUM_VERSION
79-
RUN curl -LO https://github.com/jedisct1/libsodium/releases/download/${LIBSODIUM_VERSION}-RELEASE/libsodium-${LIBSODIUM_VERSION}.tar.gz \
80-
&& tar -xzvf libsodium*.tar.gz \
81-
&& rm -f libsodium*.tar.gz \
82-
&& mv libsodium*/* ./
83-
84-
RUN CFLAGS="-O3 -Wall -Werror=format-security -Wno-unused-function -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection"\
85-
./configure --prefix="/usr/" && make -j $MAX_JOBS && make check
86-
8770
## Release #####################################################################
8871
FROM python-install AS vllm-openai
8972
ARG PYTHON_VERSION
@@ -103,10 +86,6 @@ RUN microdnf install -y gcc && \
10386
microdnf clean all
10487

10588

106-
# Install libsodium for Tensorizer encryption
107-
RUN --mount=type=bind,from=libsodium-builder,src=/usr/src/libsodium,target=/usr/src/libsodium \
108-
make -C /usr/src/libsodium install
109-
11089
COPY LICENSE /licenses/vllm.md
11190
COPY examples/*.jinja /app/data/template/
11291

docker-bake.hcl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ target "cuda" {
6161

6262
args = {
6363
PYTHON_VERSION = "${PYTHON_VERSION}"
64-
LIBSODIUM_VERSION = "1.0.20"
6564
VLLM_TGIS_ADAPTER_VERSION = "${VLLM_TGIS_ADAPTER_VERSION}"
6665
}
6766

@@ -80,7 +79,6 @@ target "rocm" {
8079
args = {
8180
PYTHON_VERSION = "${PYTHON_VERSION}"
8281
ROCM_VERSION = "${ROCM_VERSION}"
83-
LIBSODIUM_VERSION = "1.0.20"
8482
VLLM_TGIS_ADAPTER_VERSION = "${VLLM_TGIS_ADAPTER_VERSION}"
8583
}
8684

0 commit comments

Comments
 (0)