[Build] Remove obsolete TPU Dockerfile (#55376)
Signed-off-by: Woosuk Kwon <woosuk@inferact.ai> Co-authored-by: OpenAI Codex <codex@openai.com>
Woosuk Kwon committed
Sep 7, 2026 at 18:07 UTC
06334fae2de7c8a1ea59307b724b992ddf44fb06
1 file changed
-36
docker/Dockerfile.tpu
deleted
-36
@@ -1,36 +0,0 @@
1
-ARG NIGHTLY_DATE="20250730"
2
-ARG BASE_IMAGE="us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/xla:nightly_3.12_tpuvm_$NIGHTLY_DATE"
3
-
4
-FROM $BASE_IMAGE
5
-WORKDIR /workspace/vllm
6
-
7
-# Install some basic utilities
8
-RUN apt-get update && apt-get install -y \
9
- git \
10
- ffmpeg libsm6 libxext6 libgl1 && \
11
- rm -rf /var/lib/apt/lists/*
12
-
13
-# Build vLLM.
14
-COPY . .
15
-ARG GIT_REPO_CHECK=0
16
-RUN --mount=type=bind,source=.git,target=.git \
17
- if [ "$GIT_REPO_CHECK" != 0 ]; then bash tools/check_repo.sh; fi
18
-
19
-# Remove existing versions of dependencies
20
-# TODO: These packages will remain as dead weight in the Docker image layers.
21
-# We should find a way to build the image without uninstalling these.
22
-# Consider using a different base image.
23
-RUN pip uninstall -y torch torch_xla torchvision
24
-
25
-ENV VLLM_TARGET_DEVICE="tpu"
26
-RUN --mount=type=cache,target=/root/.cache/pip \
27
- --mount=type=bind,source=.git,target=.git \
28
- python3 -m pip install \
29
- -r requirements/tpu.txt
30
-
31
-RUN --mount=type=cache,target=/root/.cache/pip python3 -m pip install -e .
32
-
33
-# install development dependencies (for testing)
34
-RUN --mount=type=cache,target=/root/.cache/pip python3 -m pip install -e tests/vllm_test_utils
35
-
36
-CMD ["/bin/bash"]