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

# Dependencies for TPU
5
cmake>=3.26
6
7
8
9
10
ninja
packaging
setuptools-scm>=8
wheel
jinja2
11
ray[default]
12
13
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-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
19
20
21
torch==2.6.0.dev20241114+cpu
torchvision==0.20.0.dev20241114+cpu
torch_xla[tpu] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.6.0.dev20241114-cp310-cp310-linux_x86_64.whl
22
23
jaxlib==0.4.32.dev20240829
jax==0.4.32.dev20240829