Skip to content

Commit 58760e1

Browse files
authored
[TPU] Start using python 3.12 (#21000)
Signed-off-by: Xiongfei Wei <isaacwxf23@gmail.com>
1 parent a50d918 commit 58760e1

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

.buildkite/scripts/hardware_ci/run-tpu-v1-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export VLLM_XLA_CACHE_PATH=
7070
echo "Using VLLM V1"
7171
7272
echo "--- Hardware Information ---"
73-
tpu-info
73+
# tpu-info
7474
echo "--- Starting Tests ---"
7575
set +e
7676
overall_script_exit_code=0

docker/Dockerfile.tpu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ARG NIGHTLY_DATE="20250124"
2-
ARG BASE_IMAGE="us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/xla:nightly_3.10_tpuvm_$NIGHTLY_DATE"
1+
ARG NIGHTLY_DATE="20250714"
2+
ARG BASE_IMAGE="us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/xla:nightly_3.12_tpuvm_$NIGHTLY_DATE"
33

44
FROM $BASE_IMAGE
55
WORKDIR /workspace/vllm

docs/getting_started/installation/google_tpu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ information, see [Storage options for Cloud TPU data](https://cloud.devsite.corp
3737

3838
- Google Cloud TPU VM
3939
- TPU versions: v6e, v5e, v5p, v4
40-
- Python: 3.10 or newer
40+
- Python: 3.11 or newer
4141

4242
### Provision Cloud TPUs
4343

@@ -117,7 +117,7 @@ source ~/.bashrc
117117
Create and activate a Conda environment for vLLM:
118118

119119
```bash
120-
conda create -n vllm python=3.10 -y
120+
conda create -n vllm python=3.12 -y
121121
conda activate vllm
122122
```
123123

requirements/tpu.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ setuptools==78.1.0
1818
--find-links https://storage.googleapis.com/libtpu-releases/index.html
1919
--find-links https://storage.googleapis.com/jax-releases/jax_nightly_releases.html
2020
--find-links https://storage.googleapis.com/jax-releases/jaxlib_nightly_releases.html
21-
torch==2.9.0.dev20250711
22-
torchvision==0.24.0.dev20250711
23-
torch_xla[tpu, pallas] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.9.0.dev20250711-cp39-cp39-linux_x86_64.whl ; python_version == "3.9"
24-
torch_xla[tpu, pallas] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.9.0.dev20250711-cp310-cp310-linux_x86_64.whl ; python_version == "3.10"
25-
torch_xla[tpu, pallas] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.9.0.dev20250711-cp311-cp311-linux_x86_64.whl ; python_version == "3.11"
21+
torch==2.9.0.dev20250716
22+
torchvision==0.24.0.dev20250716
23+
torch_xla[tpu, pallas] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.9.0.dev20250716-cp311-cp311-linux_x86_64.whl ; python_version == "3.11"
24+
torch_xla[tpu, pallas] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.9.0.dev20250716-cp312-cp312-linux_x86_64.whl ; python_version == "3.12"
2625

0 commit comments

Comments
 (0)