tpu.txt 987 Bytes
Newer Older
1
# Common dependencies
2
-r common.txt
3
4

# Dependencies for TPU
5
cmake>=3.26.1
6
packaging>=24.2
7
8
setuptools-scm>=8
wheel
9
jinja2>=3.1.6
10
ray[default]
11
ray[data]
12
setuptools==78.1.0
13
nixl==0.3.0
14

15
16
17
18
# Install torch_xla
--pre
--extra-index-url https://download.pytorch.org/whl/nightly/cpu
--find-links https://storage.googleapis.com/libtpu-wheels/index.html
19
20
21
--find-links https://storage.googleapis.com/libtpu-releases/index.html
--find-links https://storage.googleapis.com/jax-releases/jax_nightly_releases.html
--find-links https://storage.googleapis.com/jax-releases/jaxlib_nightly_releases.html
22
23
24
25
torch==2.9.0.dev20250724
torchvision==0.24.0.dev20250724
torch_xla[tpu, pallas] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.9.0.dev20250724-cp311-cp311-linux_x86_64.whl ; python_version == "3.11"
torch_xla[tpu, pallas] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.9.0.dev20250724-cp312-cp312-linux_x86_64.whl ; python_version == "3.12"
26