File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y \
1212# Install Python dependencies
1313COPY requirements-common.txt requirements-common.txt
1414COPY requirements-tpu.txt requirements-tpu.txt
15- RUN grep -v -E "^torch(_xla)? \b" requirements-tpu.txt > requirements-filtered.txt
15+ RUN grep -v -E "^torch\b" requirements-tpu.txt > requirements-filtered.txt
1616RUN --mount=type=cache,target=/root/.cache/pip \
1717 python3 -m pip install -r requirements-filtered.txt
1818
Original file line number Diff line number Diff line change @@ -19,6 +19,4 @@ ray[default]
1919--find-links https://storage.googleapis.com/jax-releases/jaxlib_nightly_releases.html
2020torch==2.7.0.dev20250224+cpu
2121torchvision==0.22.0.dev20250224+cpu
22- torch_xla[tpu, pallas] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.7.0.dev20250224-cp39-cp39-linux_x86_64.whl ; python_version == "3.9"
23- torch_xla[tpu, pallas] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.7.0.dev20250224-cp310-cp310-linux_x86_64.whl ; python_version == "3.10"
24- torch_xla[tpu, pallas] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.7.0.dev20250224-cp311-cp311-linux_x86_64.whl ; python_version == "3.11"
22+ torch_xla[tpu, pallas] # Install whichever version is compatible with torch
You can’t perform that action at this time.
0 commit comments