Skip to content

Commit 58d7b26

Browse files
cpgaffney1Orbax Authors
authored andcommitted
No public description
PiperOrigin-RevId: 712267539
1 parent 3fa494f commit 58d7b26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

checkpoint/orbax/checkpoint/_src/handlers/handler_type_registry.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def add(
5353
)
5454
# If both fully-qualified-name and type ref are the same then skip.
5555
if previous_handler_type == handler_type:
56-
logging.warning(
56+
logging.info(
5757
'Handler "%s" already exists in the registry with associated type'
5858
' %s. Skipping registration.',
5959
handler_typestr,
@@ -62,7 +62,7 @@ def add(
6262
return
6363
# If fully-qualified-name is the same but type ref has changed then
6464
# it is okay to overwrite registry with the new type ref.
65-
logging.warning(
65+
logging.info(
6666
'Handler "%s" already exists in the registry with associated type'
6767
' %s. Overwriting it as the module was recreated (likely from '
6868
'Colab reload',
@@ -107,7 +107,7 @@ def register_handler_type(handler_cls):
107107
typestr = handler_cls.typestr()
108108
except AttributeError:
109109
typestr = f'{handler_cls.__module__}.{handler_cls.__qualname__}'
110-
logging.warning(
110+
logging.info(
111111
'Handler class %s does not have a typestr method. '
112112
'Using the default typestr value "%s" instead.',
113113
handler_cls,

0 commit comments

Comments
 (0)