Skip to content

Commit

Permalink
Make OrbaxCheckpointManagerInterface gin.configurable.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 636264343
  • Loading branch information
liangyaning33 authored and t5-copybara committed May 22, 2024
1 parent 3ea9b2c commit 7bd9794
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t5x/checkpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -2264,6 +2264,7 @@ def _partition_parameter(maybe_arr: Any, param_info: _OrbaxParamInfo):
return train_state.restore_state(state_dict)


@gin.configurable
class OrbaxCheckpointManagerInterface:
"""Wrapper for ocp.CheckpointManager."""

Expand Down

0 comments on commit 7bd9794

Please sign in to comment.