Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/getting_started/installation/google_tpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ Install build dependencies:

```bash
pip install -r requirements/tpu.txt
pip install torch_xla[tpu, pallas]==2.8.0
sudo apt-get install --no-install-recommends --yes libopenblas-base libopenmpi-dev libomp-dev
```

Expand Down
3 changes: 0 additions & 3 deletions requirements/tpu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,3 @@ ray[data]
setuptools==78.1.0
nixl==0.3.0
tpu_info==0.4.0
Comment on lines 12 to 14

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep torch_xla installation in TPU image build

Removing torch_xla[tpu, pallas]==2.8.0 from the TPU requirements means the Docker build that uses this file (docker/Dockerfile.tpu) will now uninstall torch_xla and never reinstall it. The Dockerfile still runs pip uninstall -y torch torch_xla torchvision before pip install -r requirements/tpu.txt, so the resulting image no longer contains torch_xla and any TPU runtime code that imports it will fail at startup. Consider either leaving torch_xla in this requirements file or explicitly installing it again inside the Dockerfile.

Useful? React with 👍 / 👎.


# Install torch_xla
torch_xla[tpu, pallas]==2.8.0
Loading