Announcements#

2025-01-28#

CheckpointManager.metadata() now accepts a step parameter. If provided, it will return StepMetadata, and will otherwise return RootMetadata. Subclasses of AbstractCheckpointManager should be updated to incorporate this new kwarg.

2024-12-30#

orbax-checkpoint version 0.10.3 and grain version 0.2.2 are not compatible. Either upgrade grain>=0.2.3 or orbax-checkpoint>=0.11.0. Please see https://github.com/google/orbax/issues/1456 for error details.

2024-10-25#

A new option, strict has been added to ArrayRestoreArgs (and will be present in the next version release). The option defaults to True. This enforces that loaded jax.Arrays must not change shape by silently padding or truncating. To re-enable padding/truncating, simply enable strict=False.

2024-10-01#

Many Orbax implementations are being refactored into a private _src directory, to better delineate internal and external APIs. Most users should be unaffected but some lightly-used public APIs may become private. Please reach out if you feel that a particular API should remain public.

2024-04-02#

The checkpoint_manager_context(...) function is deprecated. To ensure proper resource handling, please update your code to use either with CheckpointManager(...) as manager: or explicitly call manager.close() before your program exits. This will prevent incomplete background operations such as deleting old checkpoints.

2024-02-01#

SaveArgs.aggregate is deprecated. Please implement your own custom TypeHandler or contact Orbax team to learn more. Please migrate before August 1st, 2024.

2024-01-18#

CheckpointManager.save(...) is now async by default. Make sure you call wait_until_finished if depending on a previous save being completed. Otherwise, the behavior can be disabled via the CheckpointManagerOptions.enable_async_checkpointing option.

2024-01-12#

The CheckpointManager API is changing. Please see the migration instructions and complete your migration by August 1st, 2024.