Back to Gap Map Infrastructure / Core ML frameworks & libraries

Flax

Google
open source / Overall score: 4.0(strong)

Flax is a neural network library and ecosystem for JAX designed for flexibility, providing network components such as Linear, Conv, BatchNorm and attention alongside training utilities like checkpointing and serialization. It is developed and maintained by Google DeepMind. Its newer Flax NNX API emphasizes Python reference semantics, so networks are built from ordinary Python objects.

Openness

5 high confidence
5.0
license
Apache-2.0(OSI)
source
public
core features withheld
no

Apache-2.0 licensed with full public source. The repository is public and unarchived, and the README describes the whole library with no paid, enterprise or hosted tier beside it, so source is public and the core ungated.

Adoption

4 high confidence
4.0

Adoption is measured by PyPI downloads of the flax package.

Capability

4 high confidence
4.0

Key NN layer for the JAX ecosystem but built atop JAX rather than foundational itself.

  • https://cdn.jsdelivr.net/gh/google/flax@main/README.md recorded 2026-09-29

    The README lists the Flax NNX neural network API with Linear, Conv, BatchNorm, attention and recurrent cells, plus "replicated training, serialization and checkpointing, metrics, prefetching on device".

  • https://github.com/google/flax recorded 2026-08-13

    README still describes a neural network library and ecosystem for JAX, including the Flax NNX API

Verified 2026-09-24