File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ RUN git clone $VLLM_REPO /workspace/vllm
2323RUN if [ -n "$VLLM_COMMIT_HASH" ]; then \
2424 git checkout $VLLM_COMMIT_HASH; \
2525 fi
26- RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements/tpu.txt --retries 3
26+ RUN --mount=type=cache,target=/root/.cache/pip pip install --extra-index-url https://download.pytorch.org/whl/cpu - r requirements/tpu.txt --retries 3
2727RUN --mount=type=cache,target=/root/.cache/pip VLLM_TARGET_DEVICE="tpu" pip install -e .
2828
2929# Install test dependencies
@@ -39,7 +39,7 @@ RUN --mount=type=cache,target=/root/.cache/pip python3 -m pip install \
3939WORKDIR /workspace/tpu_inference
4040# Install requirements first and cache so we don't need to re-install on code change.
4141COPY requirements.txt .
42- RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt --retries 3
42+ RUN --mount=type=cache,target=/root/.cache/pip pip install --extra-index-url https://download.pytorch.org/whl/cpu - r requirements.txt --retries 3
4343COPY requirements_benchmarking.txt .
4444# These are needed for the E2E benchmarking tests (i.e. tests/e2e/benchmarking/mlperf.sh)
4545RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements_benchmarking.txt --retries 3
You can’t perform that action at this time.
0 commit comments