Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Dockerfile-cpu
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ FROM $BASE_IMAGE
# Set LD_LIBRARY_PATH to avoid runtime errors (so far only experienced when running vLLM with the vllm_performance actuator)
ENV LD_LIBRARY_PATH=/home/ray/anaconda3/lib:${LD_LIBRARY_PATH}

# Set SOURCE_DATE_EPOCH to guarantee that all the wheels built will use
# Pass SOURCE_DATE_EPOCH to guarantee that all the wheels built will use
# the same timestamp.
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
ARG SOURCE_DATE_EPOCH=0

USER 0
RUN chgrp -R 0 /home/ray && \
Expand All @@ -18,13 +18,15 @@ USER 1000
COPY --chown=1000:0 ./ ado

## Install ado
RUN cd ado && \
RUN export SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} && \
cd ado && \
uv pip install --system -r requirements.txt && \
uv pip install --system --no-deps --strict \
'.'

## Install ray-tune operator
RUN cd ado && \
RUN export SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} && \
cd ado && \
uv pip install --system \
'plugins/operators/ray_tune/'

Expand Down
7 changes: 4 additions & 3 deletions Dockerfile-geo
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ ARG CUDA_VERSION=cu121
ARG BASE_IMAGE=quay.io/ado/ado:latest-py${PYTHON_VERSION}-${CUDA_VERSION}
FROM $BASE_IMAGE

# Set SOURCE_DATE_EPOCH to guarantee that all the wheels built will use
# Pass SOURCE_DATE_EPOCH to guarantee that all the wheels built will use
# the same timestamp.
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
ARG SOURCE_DATE_EPOCH=0

## Install ado-vllm-performance
RUN cd ado && \
RUN export SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} && \
cd ado && \
uv pip install --system \
'plugins/actuators/vllm_performance'
10 changes: 6 additions & 4 deletions Dockerfile-gpu
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ ENV CUDA_HOME=/usr/local/cuda
# Set LD_LIBRARY_PATH to avoid runtime errors (so far only experienced when running vLLM with the vllm_performance actuator)
ENV LD_LIBRARY_PATH=/home/ray/anaconda3/lib:${LD_LIBRARY_PATH}

# Set SOURCE_DATE_EPOCH to guarantee that all the wheels built will use
# Pass SOURCE_DATE_EPOCH to guarantee that all the wheels built will use
# the same timestamp.
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
ARG SOURCE_DATE_EPOCH=0

USER 0
RUN chgrp -R 0 /home/ray && \
Expand All @@ -23,13 +23,15 @@ USER 1000
COPY --chown=1000:0 ./ ado

## Install ado
RUN cd ado && \
RUN export SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} && \
cd ado && \
uv pip install --system -r requirements.txt && \
uv pip install --system --no-deps --strict \
'.'

## Install ray-tune operator
RUN cd ado && \
RUN export SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} && \
cd ado && \
uv pip install --system \
'plugins/operators/ray_tune/'

Expand Down
Loading