Skip to content

Commit

Permalink
Define CheckpointHandler=Checkpointer and PyTreeCheckpointHandler=PyT…
Browse files Browse the repository at this point in the history
…reeCheckpointer. Increase version. This will allow T5X to migrate to new handler classes in a follow-up CL.

PiperOrigin-RevId: 459534174
  • Loading branch information
cpgaffney1 authored and copybara-github committed Jul 7, 2022
1 parent 965a47e commit 47d27b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions orbax/checkpoint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@
from .transform_utils import apply_transformations
from .transform_utils import Transform
from .utils import checkpoints_iterator

# TODO(cpgaffney) Remove when handler classes are fully rolled out.
CheckpointHandler = Checkpointer
PyTreeCheckpointHandler = PyTreeCheckpointer
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

setuptools.setup(
name='orbax',
version='0.0.1',
version='0.0.2',
description='Orbax',
long_description=_LONG_DESCRIPTION,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 47d27b5

Please sign in to comment.