Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type Handler registry collision warnings #1019

Open
varunagrawal opened this issue Jul 25, 2024 · 0 comments
Open

Type Handler registry collision warnings #1019

varunagrawal opened this issue Jul 25, 2024 · 0 comments
Assignees

Comments

@varunagrawal
Copy link

When importing the orbax checkpointer, our scripts throw warnings as below:

WARNING:absl:Type handler registry overriding type "<class 'float'>" collision on scalar
WARNING:absl:Type handler registry overriding type "<class 'bytes'>" collision on scalar
WARNING:absl:Type handler registry overriding type "<class 'numpy.number'>" collision on scalar

Since these are warnings I don't think there is anything particularly bad that needs remedying but we would like to remove the warnings for our logging.

A MRE is given below:

from orbax import checkpoint as ocp

print("Testing the OCP warnings")

Is this an issue with how the global type registry is set up? Thanks in advance.

@niketkumar niketkumar self-assigned this Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants