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

Request for new PyPI release #30

Open
yhtang opened this issue May 31, 2023 · 0 comments
Open

Request for new PyPI release #30

yhtang opened this issue May 31, 2023 · 0 comments

Comments

@yhtang
Copy link

yhtang commented May 31, 2023

JEstimator 0.3.3 on PyPI is incompatible with the latest JAX due to the relocation of the PartitionSpec endpoint:

  File "/opt/t5x/t5x/optimizers.py", line 38, in <module>
    from jestimator import amos
  File "/usr/local/lib/python3.10/dist-packages/jestimator/__init__.py", line 20, in <module>
    from . import amos_helper
  File "/usr/local/lib/python3.10/dist-packages/jestimator/amos_helper.py", line 24, in <module>
    from jax.experimental.pjit import PartitionSpec
ImportError: cannot import name 'PartitionSpec' from 'jax.experimental.pjit' (/opt/jax-source/jax/experimental/pjit.py)

This is causing issues in T5X.

While a workaround can be made in T5X to install jestimator from the development head, it may be better to publish a 'stable' version on PyPI so that depending projects can more easily refer to.

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

1 participant