Safekipedia

JAX (software)

Discoverer · ages 10+Adapted from Wikipedia
The logo of JAX, a machine learning software framework made by Google.

JAX is a Python library for array computation and program transformation. It is built for fast numerical computing and large-scale machine learning, which is the work of teaching computers to learn from data. Google develops JAX, and Nvidia and other community contributors also help build it.

JAX combines a modified version of the automatic differentiation system autograd with XLA (Accelerated Linear Algebra) from OpenXLA. It is designed to follow the structure and workflow of NumPy as closely as possible. It also works with other frameworks, such as TensorFlow and PyTorch.

JAX has four main features. First, it offers a unified NumPy-like interface for computations that run on a CPU, GPU, or TPU, whether on one computer or across many. Second, it has built-in Just-In-Time (JIT) compilation through OpenXLA, an open-source machine learning compiler ecosystem. Third, it can efficiently calculate gradients using its automatic differentiation transformations. Fourth, it offers automatic vectorization, which efficiently applies functions to arrays that represent batches of inputs.

Libraries using Jax

Other software tools use JAX too. These include Flax, Equinox, Optax, and Diffrax.

Keep exploring

This article is a child-friendly adaptation of the Wikipedia article on JAX (software), available under CC BY-SA 4.0.

Images from Wikimedia Commons. Tap any image to view credits and license.