JAX

JAX

★ 4.4 🔖 7000 saves 💰 Free GitHub

JAX is a free, open-source Python library from Google for high-performance numerical computing and machine-learning research. It has earned more than 36,000 stars on GitHub and is under very active development, with its latest updates in 2026. JAX combines a familiar NumPy-style API with automatic differentiation and just-in-time compilation to GPUs and TPUs.

Overview

The core idea is composable function transformations: grad differentiates your code, jit compiles it with XLA for accelerators, vmap vectorizes it over batches automatically, and pmap spreads it across devices — and all of them compose freely with each other. You write ordinary NumPy-like Python, and JAX turns it into optimized accelerator code. This functional, transformation-first design has made JAX the foundation of a large research ecosystem, including Flax for neural networks, Optax for optimization and the training stacks behind many well-known models. Large-scale training frameworks for language models, robotics and scientific computing are likewise built directly on these primitives. Its strict functional style — pure functions, explicit random-number handling and no hidden state — makes experiments unusually reproducible, a property researchers prize when results have to be trusted and replicated.

Key Features

  • Automatic differentiation of native Python and NumPy functions
  • Just-in-time compilation to GPU and TPU through XLA
  • vmap auto-vectorization removes manual batching code
  • Data and model parallelism across many accelerator devices
  • Familiar NumPy API lowers the learning curve dramatically
  • Huge ecosystem: Flax, Optax, Haiku and many research codebases

💳 Pricing

JAX is completely free and open source under the Apache-2.0 license. There is no paid tier; your only cost is the compute you run it on, from a laptop CPU to a TPU pod.

Who Is It For

JAX is for ML researchers and engineers who want NumPy’s ergonomics with accelerator performance and first-class differentiation — especially those training large models or doing research that pushes beyond standard frameworks.

🚀 Visit JAX Official Site

🚩 Report an issue