google/flax
Flax is a neural network library for JAX that is designed for flexibility. observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 27.5
- age_days: 2427
- days_rel: 15
- days_push: 9
- n_releases_24m: 21
Adoption not part of the score
7303 stars · 830 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Flax is a neural network library and ecosystem for JAX designed for flexibility, featuring the newer NNX API with first-class Python reference semantics alongside the older Linen API. It is developed in close collaboration with the JAX team for high-performance deep learning research.
Use cases
- build neural networks in jax
- train deep learning models with jax
- define models with regular python objects and mutable state
- run deep learning research with flexible training loops
- migrate from flax linen to the nnx api
- train models on gpus and tpus
When to choose
- you use JAX and want a flexible, research-friendly neural network library
- you want Python reference semantics with mutable, shareable model state (NNX)
- you need a mature, Google-backed ecosystem with examples and tutorials
When to avoid
- you prefer PyTorch or TensorFlow-style frameworks
- you want a batteries-included high-level training framework with opinionated defaults
- your project depends on the legacy Linen API without plans to migrate
Facets
library · maturity active
machine-learning deep-learning llm-training machine-learning deep-learning artificial-intelligence python cross-platform jax neural-networks nnx linen research google gpu
2 sources
- readme: https://github.com/google/flax · fetched 2026-08-28 · 9c7d9f7f40c4
- registry_pypi: https://pypi.org/pypi/flax/json · fetched 2026-08-29 · 94ff4bfef308
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/flax | main | 99 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem