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

issues with version 0.5.1 #26905

Closed
joamatab opened this issue Mar 4, 2025 · 3 comments
Closed

issues with version 0.5.1 #26905

joamatab opened this issue Mar 4, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@joamatab
Copy link

joamatab commented Mar 4, 2025

Description

The latest version 0.5.1 has issues

Importerror: .venv/lib/python3.12/site-packages/jaxlib/xla_extension.so

cannot enable executable stack as shared object requires: Invalid argument

I had no issues with 0.5.0 or older methods

System info (python version, jaxlib version, accelerator, etc.)

     71   return _jaxlib_version
     74 version_str = jaxlib.version.__version__
     75 version = check_jaxlib_version(
---> 76   jax_version=jax.version.__version__,
     77   jaxlib_version=jaxlib.version.__version__,
     78   minimum_jaxlib_version=jax.version._minimum_jaxlib_version)
     80 # Before importing any C compiled modules from jaxlib, first import the CPU
     81 # feature guard module to verify that jaxlib was compiled in a way that only
     82 # uses instructions that are present on this machine.
     83 import jaxlib.cpu_feature_guard as cpu_feature_guard

AttributeError: partially initialized module 'jax' has no attribute 'version' (most likely due to a circular import)
@joamatab joamatab added the bug Something isn't working label Mar 4, 2025
@dfm
Copy link
Collaborator

dfm commented Mar 4, 2025

See more discussion here: #26781

I believe this was fixed for the next version.

@joamatab
Copy link
Author

joamatab commented Mar 6, 2025

the next version also has issues

Image

@dfm
Copy link
Collaborator

dfm commented Mar 6, 2025

0.5.2 was a JAX-only release, there is no associated jaxlib. You can use a nightly version as discussed in the other thread, or stick with 0.5.0 until the next version with jaxlib is out. (Should be around the middle of March.)

@dfm dfm closed this as completed Mar 6, 2025
SepandKashani added a commit to pyxu-org/pyxu that referenced this issue Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants