Skip to content

Commit

Permalink
Dockerfile.ppc64le: update for PEP-517/518 -style builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrifiro committed Aug 20, 2024
1 parent 7812c32 commit 803987e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile.ppc64le
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ COPY ./ /workspace/vllm
WORKDIR /workspace/vllm

# These packages will be in rocketce eventually
RUN pip install -v -r requirements-build.txt -r requirements-cpu.txt --prefer-binary --extra-index-url https://repo.fury.io/mgiessing
RUN --mount=type=cache,target=/root/.cache/pip \
pip install -v -r requirements-cpu.txt --prefer-binary --extra-index-url https://repo.fury.io/mgiessing

RUN --mount=type=bind,source=.git,target=.git \
VLLM_TARGET_DEVICE=cpu python3 setup.py install
--mount=type=cache,target=/root/.cache/pip \
VLLM_TARGET_DEVICE=cpu pip install -v .

WORKDIR /vllm-workspace
ENTRYPOINT ["/opt/conda/bin/python3", "-m", "vllm.entrypoints.openai.api_server"]

0 comments on commit 803987e

Please sign in to comment.