skillfed

orbax-checkpoint

Orbax Checkpoint

orbax-checkpoint v0.12.4 5.7M downloads/30d#2,045 on PyPI528
Permissive license Active released

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-checkpoint

uv

uv add orbax-checkpoint

poetry

poetry add orbax-checkpoint

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonTopic :: Scientific/Engineering :: Artificial Intelligence

Tags

jax checkpointing libraryasync model checkpointsjax training state savemachine learning checkpoint managementjax model persistencedistributed training checkpointsasynchronous model saving
jaxasync-iomodel-persistence

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

metaflow-checkpoint

Provides decorators for Metaflow workflows to…

unclear · top 15,000 on PyPI

orbax-export

Orbax Export serializes JAX models to…

permissive · top 15,000 on PyPI

clu

CLU provides utilities and abstractions for…

permissive · top 15,000 on PyPI

azure-eventhub-checkpointstoreblob

Provides a checkpoint store implementation for…

permissive · top 15,000 on PyPI

langgraph-checkpoint

Provides the base interface and serialization…

permissive · top 1,000 on PyPI

azure-eventhub-checkpointstoreblob-aio

Stores checkpoints and partition ownership for…

permissive · top 15,000 on PyPI

s3torchconnector

Provides PyTorch dataset primitives and…

permissive · top 5,000 on PyPI

google-tunix

Tunix is a JAX-based library for post-training…

permissive · top 15,000 on PyPI

langgraph-checkpoint-redis

Provides Redis-backed checkpoint storage and…

permissive · top 5,000 on PyPI

nvidia-resiliency-ext

Adds fault tolerance, checkpointing, and…

permissive · top 15,000 on PyPI