Skip to content

Commit

Permalink
Update installation directions in README to mention expected CUDA loc…
Browse files Browse the repository at this point in the history
…ation.

See jax-ml#989
  • Loading branch information
skye committed May 22, 2020
1 parent 190f88d commit 9899b0b
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,18 @@ nvcc --version
grep CUDNN_MAJOR -A 2 /usr/local/cuda/include/cudnn.h # might need different path
```

Note that some GPU functionality expects the CUDA installation to be at
`/usr/local/cuda-X.X`, where X.X should be replaced with the CUDA version number
(e.g. `cuda-10.2`). If CUDA is installed elsewhere on your system, you can
create a symlink:

```bash
sudo ln -s /path/to/cuda /usr/local/cuda-X.X
```

The Python version must match your Python interpreter. There are prebuilt wheels
for Python 3.6, 3.7, and 3.8; for anything else, you must build from
source. Jax requires Python 3.6 or above. Jax does not support Python 2 any
more.
for Python 3.6, 3.7, and 3.8; for anything else, you must build from source. Jax
requires Python 3.6 or above. Jax does not support Python 2 any more.

To try automatic detection of the correct version for your system, you can run:

Expand Down

0 comments on commit 9899b0b

Please sign in to comment.