orbax-checkpoint
Orbax Checkpoint
What it is and what it does
Orbax Checkpoint is a checkpointing library built for JAX machine learning workflows, designed to handle the state-saving needs of training pipelines. It wraps JAX's pytree structures and provides asynchronous I/O capabilities to avoid blocking training loops while persisting model weights and optimizer state to disk or cloud storage. The library sits on top of tensorstore for flexible storage backends and uses aiofiles and uvloop to manage non-blocking I/O operations.
The package targets researchers and practitioners who need reliable, efficient checkpointing during long-running JAX training jobs. It abstracts away the complexity of coordinating I/O with training steps, supporting various serialization formats and storage systems. With multiple runtime dependencies including protobuf, msgpack, and pyyaml, it provides a complete ecosystem for checkpoint management rather than a minimal utility.
Use it for:
- Save JAX model state asynchronously during training without pausing gradient computation.
- Restore model weights and optimizer state from checkpoints to resume interrupted training runs.
- Manage multiple checkpoint versions and storage backends through a unified API.
- Coordinate checkpointing across distributed JAX training setups with tensorstore integration.
- Serialize complex nested pytree structures with custom types using pluggable handlers.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Orbax Checkpoint provides asynchronous checkpointing for JAX machine learning workflows, supporting multiple storage formats and customizable serialization to save and restore model state during training.
Yes. Orbax Checkpoint is actively maintained (release 2 days old), has no known vulnerabilities, and solves a real problem for JAX practitioners: efficient, non-blocking checkpoint management. The permissive license and low install friction make it a straightforward choice. Install it if you're running JAX training jobs that need reliable state persistence.
Install
orbax-checkpoint on PyPI
pip
pip install orbax-checkpointuv
uv add orbax-checkpointpoetry
poetry add orbax-checkpointInstalling orbax-checkpoint
Before you install
Low friction install with a pure-Python wheel. Active maintenance with a release 2 days old and recent commits. Depends on JAX and many other runtime packages including tensorstore, aiofiles, and uvloop for async I/O support.
License in practice
Permissive Apache license allows free use, modification, and distribution in both open and closed projects with minimal restrictions.
Quickstart
pip install orbax-checkpoint
import orbax.checkpoint
# Basic checkpoint save/restore with JAX arrays
checkpointer = orbax.checkpoint.PyTreeCheckpointer()
checkpointer.save(path, pytree_state)
Requires Python 3.11 or later and JAX installed; asynchronous features depend on uvloop and aiofiles being available.
Verify before relying
- Whether the package's 'highly customizable and composable API' covers specific storage backends beyond what tensorstore provides.
- Performance characteristics of asynchronous checkpointing relative to synchronous alternatives in typical training loops.
- Compatibility guarantees with different JAX versions and distributed training frameworks.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 16 — absl-py, etils, typing_extensions, msgpack, jax, numpy, prometheus-client, pyyaml, tensorstore, aiofiles, protobuf, humanize, simplejson, psutil, uvloop, nest_asyncio |
| Maintenance | actively maintained — 2 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,731,181/month — #2,045 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: orbax_checkpoint-0.12.4-py3-none-any.whl
Keywords: JAX machine learning, checkpoint, training
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
metaflow-checkpointProvides decorators for Metaflow workflows to…
unclear · top 15,000 on PyPI
orbax-exportOrbax Export serializes JAX models to…
permissive · top 15,000 on PyPI
cluCLU provides utilities and abstractions for…
permissive · top 15,000 on PyPI
azure-eventhub-checkpointstoreblobProvides a checkpoint store implementation for…
permissive · top 15,000 on PyPI
langgraph-checkpointProvides the base interface and serialization…
permissive · top 1,000 on PyPI
azure-eventhub-checkpointstoreblob-aioStores checkpoints and partition ownership for…
permissive · top 15,000 on PyPI
s3torchconnectorProvides PyTorch dataset primitives and…
permissive · top 5,000 on PyPI
google-tunixTunix is a JAX-based library for post-training…
permissive · top 15,000 on PyPI
langgraph-checkpoint-redisProvides Redis-backed checkpoint storage and…
permissive · top 5,000 on PyPI
nvidia-resiliency-extAdds fault tolerance, checkpointing, and…
permissive · top 15,000 on PyPI