@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / 21efb603f5
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 16, 10:45 UTC

[CI/Build] Make the `Dockerfile.cpu` file's `PIP_EXTRA_INDEX_URL` Configurable as a Build Argument (#9252)

jordanyono committed Oct 10, 2024 at 14:18 UTC 21efb603f5f88a0d78ad11e4fbc6e18fe83916d4
1 file changed +2 -1
Dockerfile.cpu
+2 -1
@@ -26,7 +26,8 @@ RUN pip install intel_extension_for_pytorch==2.4.0
26
27 WORKDIR /workspace
28
29 -ENV PIP_EXTRA_INDEX_URL=https://download.pytorch.org/whl/cpu
29 +ARG PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu"
30 +ENV PIP_EXTRA_INDEX_URL=${PIP_EXTRA_INDEX_URL}
31 RUN --mount=type=cache,target=/root/.cache/pip \
32 --mount=type=bind,src=requirements-build.txt,target=requirements-build.txt \
33 pip install --upgrade pip && \