Skip to content

Commit ace5e24

Browse files
lsy323Siyuan Liu
and
Siyuan Liu
authored
[torchax] Update installation guide in readme (#8664)
Co-authored-by: Siyuan Liu <[email protected]>
1 parent 0cd1fc2 commit ace5e24

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

torchax/README.md

+3-9
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following instructions assume you are in the `torchax` directory:
2626
```
2727
Fork the repository
2828
$ git clone https://github.com/<github_username>/xla.git
29-
$ cd xla/experimental/torchax
29+
$ cd xla/torchax
3030
```
3131

3232

@@ -55,17 +55,11 @@ Note: `dev-requirements.txt` will install the CPU-only version of PyTorch.
5555

5656
#### 1.1 Install this package
5757

58-
If you want to install torchax without the jax dependency and use the jax dependency from torch_xla:
59-
```bash
60-
pip install torch_xla[pallas] -f https://storage.googleapis.com/jax-releases/jax_nightly_releases.html -f https://storage.googleapis.com/jax-releases/jaxlib_nightly_releases.html
61-
pip install -e .
62-
```
63-
64-
Otherwise, install `torchax` from source for your platform:
58+
Install `torchax` from source for your platform:
6559
```bash
6660
pip install -e .[cpu]
6761
pip install -e .[cuda]
68-
pip install -e .[tpu] -f https://storage.googleapis.com/libtpu-releases/index.html
62+
pip install -e .[tpu] -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
6963
```
7064

7165
#### 1.2 (optional) verify installation by running tests

0 commit comments

Comments
 (0)