google-deepmind/dm-haiku

JAX-based neural network library

65
/ 100
Established

Provides object-oriented module abstractions (`hk.Module`) that abstract parameter management while preserving JAX's pure function transformations (`jax.jit`, `jax.grad`, `jax.pmap`). The `hk.transform` API converts functionally impure module code into pure `init` and `apply` functions, enabling deterministic RNG handling via `hk.next_rng_key()`. Designed as a library—not a framework—with Sonnet-compatible APIs, it integrates seamlessly with JAX's ecosystem and avoids reinventing optimizers or checkpointing.

3,199 stars. Actively maintained with 9 commits in the last 30 days.

No Package No Dependents
Maintenance 20 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

3,199

Forks

282

Language

Python

License

Apache-2.0

Last pushed

Mar 12, 2026

Commits (30d)

9

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/google-deepmind/dm-haiku"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.