Installation
Let's install JAX on the local machine and get working!
Installing JAX is ridiculously easy, similar to NumPy or any other Python library.
CPU-only installation
If you don’t have GPU support, you can still code JAX on your CPU.
- Upgrade the
pip
:pip install --upgrade pip
- Install JAX:
pip install --upgrade "jax[cpu]"
Press + to interact
pip install --upgrade pippip install --upgrade "jax[cpu]"
GPU installation
Like other deep learning systems, JAX includes support for CUDA, though we have to install the CUDA and CuDNN ourselves.