Learn JAX
NumPy-style arrays with composable grad, jit and vmap on CPU, GPU and TPU
JAX is a Python library for accelerated array computing and program transformation. It offers a NumPy-like API (jax.numpy) whose functions can be differentiated with grad, compiled with XLA via jit, vectorized with vmap and sharded across many devices. It powers large-scale ML research and training stacks such as Flax and Optax, and scientific computing that needs fast gradients.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know