orbax
orbax copied to clipboard
Orbax provides common utility libraries for JAX users.
Internal change.
Internal change.
Internal
End support for legacy Pax formats with directory structure: ``` checkpoints/ checkpoint_0 # msgpack file corresponding to step ``` Users can manually restructure to the following: ``` checkpoints/ checkpoint_0/ checkpoint...
Removes the TF dependency on the JaxModule and pushes TF dependencies down to the tensorflow_export. The serving_config processing now also occurs in the tensorflow_export class as it is strictly specific...
Fix slice selection logic in emergency checkpointing, so that a slice with a complete local checkpoint (if it exists) is always chosen as the secondary slice.
Hi, I am trying to save checkpoints using the following code: ``` options = ocp.CheckpointManagerOptions( max_to_keep=self.max_checkpoints, create=True, best_fn=best_loss, best_mode="min", ) self.checkpoint_manager = ocp.CheckpointManager( os.path.join(self._out_dir, "checkpoints"), options=options, item_names=("state", "metadata"), item_handlers={ "state":...
Now that JAX supports donate on device_put, use that instead of the ugly device_put -> block -> delete routine
No public description
Internal change.