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

Error 'name 'serialization' is not defined' #126

Open
asdrain123 opened this issue Jun 4, 2023 · 1 comment
Open

Error 'name 'serialization' is not defined' #126

asdrain123 opened this issue Jun 4, 2023 · 1 comment

Comments

@asdrain123
Copy link

asdrain123 commented Jun 4, 2023

As I have changed 'from jax.experimental.gda_serialization import get_tensorstore_spec'to 'from 'jax.experimental.array_serialization.serialization import get_tensorstore_spec'

Another error appeared. Please help, thank you.

NameError                                 Traceback (most recent call last)
[<ipython-input-18-152851d66c54>](https://localhost:8080/#) in <cell line: 16>()
     14 import seqio
     15 import t5
---> 16 import t5x
     17 
     18 from mt3 import metrics_utils

6 frames
[/usr/local/lib/python3.10/dist-packages/orbax/checkpoint/type_handlers.py](https://localhost:8080/#) in ParamInfo()
    119   path: Optional[epath.Path] = None
    120   aggregate: Optional[bool] = None
--> 121   byte_limiter: Optional[serialization._LimitInFlightBytes] = None  # pylint: disable=protected-access
    122   is_ocdbt_checkpoint: Optional[bool] = None
    123 

NameError: name 'serialization' is not defined 
@asdrain123 asdrain123 changed the title How to solve 'name 'serialization' is not defined' Error 'name 'serialization' is not defined' Jun 4, 2023
@Chunyuan-Li
Copy link

update jax and t5x,(may need to uninstall package [jestimator] first)

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