JAX 601: internals#
How JAX works inside. These pages are for the curious, for contributors, and for anyone extending JAX at the lowest level; nothing here is needed to use JAX.
The jaxpr language — the jaxpr language: the intermediate representation that tracing produces, its grammar, and how to read it.
Primitives — how primitive operations work: what JAX requires of a primitive, and defining new ones with
jax.extend.core.Primitive.Autodidax: JAX core from scratch — JAX core from scratch: build tracing, jaxprs, autodiff, and jit in pure Python, one layer at a time.
Autodidax2, part 1: JAX from scratch, again — Autodidax2, part 1: a from-scratch rebuild reflecting JAX’s current internals.