Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 0264b36

Browse files
committed
Dockerfile.ubi: remove references to grpc/protos
1 parent 5048126 commit 0264b36

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

Dockerfile.ubi

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# Please update any changes made here to
2-
# docs/source/dev/dockerfile-ubi/dockerfile-ubi.rst
3-
41
## Global Args #################################################################
52
ARG BASE_UBI_IMAGE_TAG=9.4
63
ARG PYTHON_VERSION=3.11
@@ -120,21 +117,6 @@ RUN --mount=type=cache,target=/root/.cache/pip \
120117
-r requirements-cuda.txt \
121118
-r requirements-dev.txt
122119

123-
## Proto Compilation ###########################################################
124-
FROM python-install AS gen-protos
125-
126-
ENV PATH=/opt/vllm/bin/:$PATH
127-
128-
RUN microdnf install -y \
129-
make \
130-
findutils \
131-
&& microdnf clean all
132-
133-
RUN --mount=type=cache,target=/root/.cache/pip \
134-
--mount=type=bind,source=Makefile,target=Makefile \
135-
--mount=type=bind,source=proto,target=proto \
136-
make gen-protos
137-
138120
## Builder #####################################################################
139121
FROM dev AS build
140122

@@ -175,9 +157,6 @@ ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
175157
# Copy the entire directory before building wheel
176158
COPY vllm vllm
177159

178-
# Copy over the generated *.pb2 files
179-
COPY --from=gen-protos /workspace/vllm/entrypoints/grpc/pb vllm/entrypoints/grpc/pb
180-
181160
ENV CCACHE_DIR=/root/.cache/ccache
182161
RUN --mount=type=cache,target=/root/.cache/ccache \
183162
--mount=type=cache,target=/root/.cache/pip \
@@ -216,18 +195,8 @@ RUN pip install \
216195
chmod 0755 /opt/vllm/lib/libnccl.so.2.18.1
217196

218197

219-
RUN --mount=type=cache,target=/root/.cache/pip \
220-
pip install \
221-
# additional dependencies for the TGIS gRPC server
222-
grpcio-tools==1.63.0 \
223-
# additional dependencies for openai api_server
224-
accelerate==0.30.0 \
225-
# hf_transfer for faster HF hub downloads
226-
hf_transfer==0.1.6
227-
228198
ENV HF_HUB_OFFLINE=1 \
229199
PORT=8000 \
230-
GRPC_PORT=8033 \
231200
HOME=/home/vllm \
232201
VLLM_NCCL_SO_PATH=/opt/vllm/lib/libnccl.so.2.18.1 \
233202
VLLM_USAGE_SOURCE=production-docker-image \

0 commit comments

Comments
 (0)