2024-06-12 11:53:03 -07:00
|
|
|
# Common dependencies
|
2025-03-08 17:44:35 +01:00
|
|
|
-r common.txt
|
2024-06-12 11:53:03 -07:00
|
|
|
|
|
|
|
# Dependencies for TPU
|
2024-11-12 15:06:48 -08:00
|
|
|
cmake>=3.26
|
2024-11-05 08:48:44 -08:00
|
|
|
ninja
|
|
|
|
packaging
|
|
|
|
setuptools-scm>=8
|
|
|
|
wheel
|
|
|
|
jinja2
|
2024-08-30 00:27:40 -07:00
|
|
|
ray[default]
|
2024-11-05 08:48:44 -08:00
|
|
|
|
2025-01-27 22:18:07 -05:00
|
|
|
# Install torch_xla
|
|
|
|
--pre
|
|
|
|
--extra-index-url https://download.pytorch.org/whl/nightly/cpu
|
|
|
|
--find-links https://storage.googleapis.com/libtpu-wheels/index.html
|
2024-11-05 08:48:44 -08:00
|
|
|
--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
|
2025-03-06 15:31:05 -08:00
|
|
|
torch @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch-2.7.0.dev20250306%2Bcxx11-cp39-cp39-linux_x86_64.whl ; python_version == "3.9"
|
|
|
|
torch @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch-2.7.0.dev20250306%2Bcxx11-cp310-cp310-linux_x86_64.whl ; python_version == "3.10"
|
|
|
|
torch @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch-2.7.0.dev20250306%2Bcxx11-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.7.0.dev20250306%2Bcxx11-cp39-cp39-linux_x86_64.whl ; python_version == "3.9"
|
|
|
|
torch_xla[tpu, pallas] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.7.0.dev20250306%2Bcxx11-cp310-cp310-linux_x86_64.whl ; python_version == "3.10"
|
|
|
|
torch_xla[tpu, pallas] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.7.0.dev20250306%2Bcxx11-cp311-cp311-linux_x86_64.whl ; python_version == "3.11"
|