What problem does it solve?
JAX solves the need for high-performance, differentiable computing for ML research by providing automatic differentiation, JIT compilation, and scalable parallelism across devices.
Core Features & Use Cases
- Automatic differentiation: gradient computation for Python code using grad/jacrev, enabling end-to-end differentiation over models.
- Transformations & Acceleration: jit, vmap, and pmap for speed and parallelism across hardware.
- Pytrees & Functional Programming: containers for model parameters and state with functional APIs.
- Use Case: Rapid prototyping of ML models with deterministic execution and hardware acceleration.
Quick Start
Run a tiny experiment using jax.grad and jax.jit to train a simple linear model on a small dataset.