File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ The following instructions assume you are in the `torchax` directory:
26
26
```
27
27
Fork the repository
28
28
$ git clone https://github.com/<github_username>/xla.git
29
- $ cd xla/experimental/ torchax
29
+ $ cd xla/torchax
30
30
```
31
31
32
32
@@ -55,17 +55,11 @@ Note: `dev-requirements.txt` will install the CPU-only version of PyTorch.
55
55
56
56
#### 1.1 Install this package
57
57
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:
65
59
``` bash
66
60
pip install -e .[cpu]
67
61
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
69
63
```
70
64
71
65
#### 1.2 (optional) verify installation by running tests
You can’t perform that action at this time.
0 commit comments