Unverified Commit c43ebd24 authored by Tushar Sharma's avatar Tushar Sharma Committed by GitHub
Browse files

build: enable vllm runtime container as default container for ci pipelines (#1451)

parent a298ce9c
...@@ -483,6 +483,7 @@ COPY --from=ci_minimum /opt/dynamo/bindings /opt/dynamo/bindings ...@@ -483,6 +483,7 @@ COPY --from=ci_minimum /opt/dynamo/bindings /opt/dynamo/bindings
# Copy nats and etcd from base image # Copy nats and etcd from base image
COPY --from=base /usr/bin/nats-server /usr/bin/nats-server COPY --from=base /usr/bin/nats-server /usr/bin/nats-server
COPY --from=base /usr/local/bin/etcd/ /usr/local/bin/etcd/ COPY --from=base /usr/local/bin/etcd/ /usr/local/bin/etcd/
ENV PATH=/usr/local/bin/etcd/:$PATH
# Copy UCX from base image as plugin for NIXL # Copy UCX from base image as plugin for NIXL
# Copy NIXL source from base image (required for NIXL plugins) # Copy NIXL source from base image (required for NIXL plugins)
...@@ -501,6 +502,15 @@ RUN uv venv $VIRTUAL_ENV --python 3.12 && \ ...@@ -501,6 +502,15 @@ RUN uv venv $VIRTUAL_ENV --python 3.12 && \
RUN --mount=type=bind,source=./container/deps/requirements.txt,target=/tmp/requirements.txt \ RUN --mount=type=bind,source=./container/deps/requirements.txt,target=/tmp/requirements.txt \
uv pip install --requirement /tmp/requirements.txt uv pip install --requirement /tmp/requirements.txt
# Install test dependencies
#TODO: Remove this once we have a functional ci_minimum image built on top of the runtime image
RUN --mount=type=bind,source=./container/deps/requirements.test.txt,target=/tmp/requirements.txt \
uv pip install --requirement /tmp/requirements.txt
#TODO: Remove this once we have a functional ci_minimum image built on top of the runtime image
COPY . /workspace
RUN uv pip install /workspace/benchmarks
# Install the wheels and symlink executables to /usr/local/bin so dynamo components can use them # Install the wheels and symlink executables to /usr/local/bin so dynamo components can use them
# Dynamo components currently do not have the VIRTUAL_ENV in their PATH, so we need to symlink the executables # Dynamo components currently do not have the VIRTUAL_ENV in their PATH, so we need to symlink the executables
#Copy NIXL and Dynamo wheels into wheelhouse #Copy NIXL and Dynamo wheels into wheelhouse
...@@ -519,8 +529,6 @@ RUN --mount=type=bind,source=./container/launch_message.txt,target=/workspace/la ...@@ -519,8 +529,6 @@ RUN --mount=type=bind,source=./container/launch_message.txt,target=/workspace/la
sed '/^#\s/d' /workspace/launch_message.txt > ~/.launch_screen && \ sed '/^#\s/d' /workspace/launch_message.txt > ~/.launch_screen && \
echo "cat ~/.launch_screen" >> ~/.bashrc echo "cat ~/.launch_screen" >> ~/.bashrc
# Copy examples
COPY ./examples examples/
ENTRYPOINT [ "/usr/bin/bash" ] ENTRYPOINT ["/opt/nvidia/nvidia_entrypoint.sh"]
CMD [] CMD []
...@@ -149,6 +149,7 @@ filterwarnings = [ ...@@ -149,6 +149,7 @@ filterwarnings = [
"ignore:.*pkg_resources.*:DeprecationWarning", "ignore:.*pkg_resources.*:DeprecationWarning",
"ignore:.*pkg_resources.*:UserWarning", "ignore:.*pkg_resources.*:UserWarning",
"ignore:.*multipart.*:PendingDeprecationWarning", "ignore:.*multipart.*:PendingDeprecationWarning",
"ignore:.*PyType_Spec.*custom tp_new.*:DeprecationWarning", # Ignore protobuf deprecation warning
] ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment