Skip to content

Commit 93a2ba6

Browse files
authored
Fix C++11 ABI wheel instructions (#8650)
1 parent d9593f0 commit 93a2ba6

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,24 @@ two C++ ABI flavors: C++11 and pre-C++11. Pre-C++11 is the default to align with
5757
PyTorch upstream, but C++11 ABI wheels and docker images have better lazy tensor
5858
tracing performance.
5959

60-
To install C++11 ABI flavored 2.6 wheels:
60+
To install C++11 ABI flavored 2.6 wheels (Python 3.10 example):
6161

6262
```sh
63-
pip install torch==2.6.0+cpu.cxx11.abi torch_xla[tpu]==2.6.0+cxx11 \
63+
pip install torch==2.6.0+cpu.cxx11.abi \
64+
https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.6.0%2Bcxx11-cp310-cp310-manylinux_2_28_x86_64.whl \
65+
'torch_xla[tpu]' \
6466
-f https://storage.googleapis.com/libtpu-releases/index.html \
6567
-f https://storage.googleapis.com/libtpu-wheels/index.html \
6668
-f https://download.pytorch.org/whl/torch
6769
```
6870

71+
The above command works for Python 3.10. We additionally have Python 3.9 and 3.11
72+
wheels:
73+
74+
- 3.9: https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.6.0%2Bcxx11-cp39-cp39-manylinux_2_28_x86_64.whl
75+
- 3.10: https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.6.0%2Bcxx11-cp310-cp310-manylinux_2_28_x86_64.whl
76+
- 3.11: https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.6.0%2Bcxx11-cp311-cp311-manylinux_2_28_x86_64.whl
77+
6978
To access C++11 ABI flavored docker image:
7079

7180
```

0 commit comments

Comments
 (0)